Welcome, Guest
Username: Password: Remember me

TOPIC: Installation problem

Installation problem 4 years 9 months ago #37173

  • vguillemin
  • vguillemin's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
Hello,

When i try to install limesurvey, i have an error message line 46.

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in
/home/www/web/limesurvey/config.php on line 46

$rootdir = "/home/www/web/limesurvey"; (this is the line 46)

Can you help me ?

NB : $rooturl = "www.mydomain.fr/limesurvey/";
My site is hosted by Infomaniak

Thank you

Vincent
The administrator has disabled public write access.

Re:Installation problem 4 years 8 months ago #37256

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5348
  • Thank you received: 298
  • Karma: 250
Please post lines 40-50 from your config.php file. XXX out any passwords.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re:Installation problem 4 years 8 months ago #37274

  • vguillemin
  • vguillemin's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
// a database with other applications. Suggested prefix is 'lime_'

// File Locations
$rooturl = "www.xxxxxxxxxxx.fr/limesurvey/"; // The root web url for your limesurvey installation (without a trailing slash).
// The double quotes (") are important.

$rootdir = dirname(__FILE__); // This is the physical disk location for your limesurvey installation. Normally you don't have to touch this
// setting. If you use IIS then you MUST enter the complete rootdir e.g. : $rootDir='C:\Inetpub\wwwroot\limesurvey'!
// Some IIS and OS/2 installations also require to use forward slashes
// instead of backslashes, e.g. $rootDir='C:/Inetpub/wwwroot/limesurvey'!


Thanks

Vincent
The administrator has disabled public write access.

Re:Installation problem 4 years 8 months ago #37285

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5348
  • Thank you received: 298
  • Karma: 250
Try to set
$rooturl = "http://{$_SERVER['HTTP_HOST']}/limesurvey"; 

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re:Installation problem 4 years 8 months ago #38324

  • vguillemin
  • vguillemin's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
Hello,

I have this error now :

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/d1d54824de551d7be73289838b14ca12/web/limesurvey/config.php on line 43

For information my domain has an SSL link.

Thank you

Vincent
The administrator has disabled public write access.
The following user(s) said Thank You: Venugopalreddy11

Re:Installation problem 4 years 8 months ago #38326

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5348
  • Thank you received: 298
  • Karma: 250
There still seems to be a syntax problem.
Can you xxx out any passwords and upload the complete config file here? Rename it from .php to .txt.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re:Installation problem 4 years 8 months ago #38333

  • vguillemin
  • vguillemin's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
Attached the config file.

File Attachment:

File Name: config-20100218.txt
File Size: 4329
The administrator has disabled public write access.

Re:Installation problem 4 years 8 months ago #38335

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5348
  • Thank you received: 298
  • Karma: 250
At least at the version you uploaded there is a " ' " missing.
wrong:
$databasepass = 'xxx; // Password of db user
$dbprefix = ''; // A global prefix that can be added to all LimeSurvey tables. Use this if you are sharing
The line must read
$databasepass = 'xxx;' // Password of db user

Please check your file for missing " ' " or ";" and the like.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re:Installation problem 4 years 8 months ago #38347

  • vguillemin
  • vguillemin's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
I checked all the "'" and all the ";" and effictivly one "'" who was missing.
I have added the "'" who was missing but now i have this error :


Warning: require(dirname(__FILE__)/version.php) [function.require]: failed to open stream: No such file or directory in /home/www/d1d54824de551d7be73289838b14ca12/web/limesurvey/common.php on line 22

Warning: require(dirname(__FILE__)/version.php) [function.require]: failed to open stream: No such file or directory in /home/www/d1d54824de551d7be73289838b14ca12/web/limesurvey/common.php on line 22

Fatal error: require() [function.require]: Failed opening required 'dirname(__FILE__)/version.php' (include_path='.:/opt/php/lib/php') in /home/www/d1d54824de551d7be73289838b14ca12/web/limesurvey/common.php on line 22

Have you a solution

Thanks

Vincent
The administrator has disabled public write access.

Re:Installation problem 4 years 8 months ago #38351

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5348
  • Thank you received: 298
  • Karma: 250
Looks like path problems.

Which URL do you use to call the admin login screen?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.172 seconds
Donation Image