Welcome, Guest
Username: Password: Remember me

TOPIC: Segmentation Fault while importing a csv survey

Segmentation Fault while importing a csv survey 3 years 2 months ago #56638

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?
The administrator has disabled public write access.

Re: Segmentation Fault while importing a csv survey 3 years 2 months ago #56650

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Segmentation Fault while importing a csv survey 3 years 2 months ago #56678

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
The administrator has disabled public write access.

Re: Segmentation Fault while importing a csv survey 3 years 2 months ago #56700

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Segmentation Fault while importing a csv survey 3 years 2 months ago #56734

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?
The administrator has disabled public write access.

Re: Segmentation Fault while importing a csv survey 3 years 2 months ago #56736

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.324 seconds
Donation Image