Check out the LimeSurvey source code on GitHub!

Segmentation Fault while importing a csv survey

More
6 years 2 weeks ago #56638 by Finalfantasykid
I am importing a csv survey which was generated using version 1.87 of LS to an LS installation verseion 1.90. When I do so in the admin panel, all that happens is a download dialogue comes up asking me to download admin.php (0 bytes). I was a little confused by this, no errors came up despite me having debug set to 1. So I went over to the cli version of the import, but that ended showing a few php warnings/notices along with a segmentation fault.
PHP Notice:  Undefined index:  HTTP_HOST in /local/hypatia/home/dwt/web_docs/limesurvey/config-defaults.php on line 47
PHP Notice:  Undefined index:  REQUEST_METHOD in /local/hypatia/home/dwt/web_docs/limesurvey/admin/sessioncontrol.php on line 156
PHP Notice:  Undefined index:  REQUEST_METHOD in /local/hypatia/home/dwt/web_docs/limesurvey/admin/sessioncontrol.php on line 196
 
Segmentation fault

Does anyone have any ideas why this is happening?

Please Log in to join the conversation.

More
6 years 2 weeks ago #56650 by Mazi
This looks like a server configuration problem.

1. What did you set for $rooturl in config.php?

2. Which URL do you call to login at the admin backend?

3. Please upload a phpinfo file so we can take a look at your server configuration. Just put the following code into a file named phpinfo.php and upload it to your webserver:
< ?php phpinfo(); ? >
(Delete the spaces next to </> when copying the code.)
After uploading please post the link to the file.


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
6 years 2 weeks ago #56678 by Finalfantasykid
1.
$rooturl = "http://hypatia.cs.ualberta.ca/~dwt/limesurvey";

2. I go to hypatia.cs.ualberta.ca/~dwt/limesurvey/admin/admin.php

3. hypatia.cs.ualberta.ca/~dwt/info.php

Also it should be noted that I have not touched the default-config.php

Please Log in to join the conversation.

More
6 years 2 weeks ago #56700 by Mazi
The configuration looks fine. Please switch on debug mode by adding the following line to your config.php file:
$debug = '1';

Are there any additional errors reported on top of the page?


Try setting:
$rooturl = "http://{$_SERVER}/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
6 years 2 weeks ago #56734 by Finalfantasykid
I tried that, and I also tried downgrading to 1.87, but it is still not working.

Is it possible that there is a special character in the survey which is causing the import to fail?

Please Log in to join the conversation.

More
6 years 2 weeks ago #56736 by Mazi

Finalfantasykid wrote: I tried that, and I also tried downgrading to 1.87, but it is still not working.

Is it possible that there is a special character in the survey which is causing the import to fail?

That might be the reason.

Does the problem show up with every survey or only a special one?


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