Check out the LimeSurvey source code on GitHub!

Installation problem

More
7 years 3 weeks ago #37173 by vguillemin
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

Please Log in to join the conversation.

More
7 years 3 weeks ago #37256 by Mazi
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)survey-consulting.com'"

Please Log in to join the conversation.

More
7 years 3 weeks ago #37274 by vguillemin
// 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

Please Log in to join the conversation.

More
7 years 3 weeks ago #37285 by Mazi
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)survey-consulting.com'"

Please Log in to join the conversation.

More
7 years 1 week ago #38324 by vguillemin
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 following user(s) said Thank You: Venugopalreddy11

Please Log in to join the conversation.

More
7 years 1 week ago #38326 by Mazi
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)survey-consulting.com'"

Please Log in to join the conversation.

More
7 years 1 week ago #38333 by vguillemin
Attached the config file.

File Attachment:

File Name: config-20100218.txt
File Size:4 KB
Attachments:

Please Log in to join the conversation.

More
7 years 1 week ago #38335 by Mazi
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)survey-consulting.com'"

Please Log in to join the conversation.

More
7 years 1 week ago #38347 by vguillemin
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

Please Log in to join the conversation.

More
7 years 1 week ago #38351 by Mazi
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)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form