View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09898Bug reportsOtherpublic2015-12-15 13:15
Reporterttenbergen Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.50.x 
Summary09898: can't see surveys on list any longer
Description

We have >600 surveys on our Limesurvey. Suddenly they no longer list when you click on the "house" button. They are still visible and accessible in the surveys drop-down.
Another user reported something similar in
https://www.limesurvey.org/en/forum/installation-a-update-issues/95217-surveys-list-become-empty
but there is no resolution for it there.

Surveys are still there but it's scaring the heck out of my users.

Steps To Reproduce

Click the home button and surveys don't list.

TagsNo tags attached.
Attached Files
surveys json dump.txt (547,545 bytes)
Bug heat6
Complete LimeSurvey version number (& build)Version 2.06+ Build 150911
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & version5.6.22-cll-lve - MySQL Community Server (GPL)
Server OS (if known)Linux
Webserver software & version (if known)Apache/2
PHP VersionPHP version: 5.5.25

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-09-28 18:53

developer   ~33190

Surel some memory issuue : load whole Surveys not onky the 25 needed.

Set debug at 2 , and look at console.log.

ttenbergen

ttenbergen

2015-09-28 19:28

reporter   ~33194

I have set debug to 2 in application/config/config.php as per https://manual.limesurvey.org/Optional_settings#Development_and_debugging .

Reviewed the APACHE error log (thanks to https://www.limesurvey.org/en/forum/installation-a-update-issues/62995-where-is-the-log-file). Didn't see anything written to there at the time I refresh the survey page listing. (was that where I should have looked?)

However, with debug enabled the page now does list the surveys. Takes a long time to load (~15s) but they show. Turned debug back off, surveys are again not listing. Turned debug=1, surveys list. Turned back off since apparently it's not secure to leave it on.

DenisChenu

DenisChenu

2015-09-29 08:17

developer   ~33201

Strange issue ...

ttenbergen

ttenbergen

2015-09-29 22:00

reporter   ~33207

Agreed. Could you suggest something else for me to try, please?

DenisChenu

DenisChenu

2015-09-30 08:37

developer   ~33208

Maybe look at your server log .... And try with more memory for PHP.

c_schmitz

c_schmitz

2015-09-30 11:00

administrator   ~33214

It is a memory issue for sure. Raise the memory_limit variable in your PHP configuration.

ttenbergen

ttenbergen

2015-09-30 16:33

reporter   ~33261

Would you not consider it a bug if a memory issue creates problems but no explicit errors? It makes it difficult to monitor the health of the setup and be even moderately proactive.
Also, I am a bit puzzled by the assessment... if I add debug mode the surveys become visible. Wouldn't debug mode require more resources to run, so should it not end up even more broken? Why should debug mode make the surveys visible if it were a memory issue?

DenisChenu

DenisChenu

2015-09-30 16:43

developer   ~33262

The strange issue here : show something in debug mode .....

When you are loggued , try to go to this link :
http://example.org/admin/survey/sa/getSurveys_json

(update admin/survey according to the url called (look at js console to have it).

ttenbergen

ttenbergen

2015-11-27 00:57

reporter   ~33626

When this last happened I ended up doing a sql dump of this installation, did a new installation on a new hosting account, and imported the sql file. That worked for a while, but today I am back to exactly the same problem.

  • surveys not listing on main page unless debug=2
  • no errors in apache log
  • /admin/survey/sa/getSurveys_json provides output, will upload file
ttenbergen

ttenbergen

2015-11-27 01:03

reporter   ~33627

The ...json... file I uploaded was what I get when I have debug=2
With debug = 0, I get "[HTTP/1.0 500 Internal Server Error 15283ms]" from the console.

ttenbergen

ttenbergen

2015-11-27 21:56

reporter   ~33629

Bit more info... during the timeframe when this started on this round we also ran out of space on our webserver for a while. There is space there now, but the problem is still there, no surveys unless debug=2
Also, our automated backups for limesurvye grew suddenly by about 6% from the day before this re-started to the day after.

ttenbergen

ttenbergen

2015-11-27 21:59

reporter   ~33630

Strike that... now they are not visible whether debug = 0 or 2

And:
http://example.org/admin/survey/sa/getSurveys_json
gives
<b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to allocate 547426 bytes) in <b>/home/cpdtrack/domains/cpdtracking.ca/public_html/pollsurvey/application/helpers/common_helper.php</b> on line <b>7260</b>

At least now I have something concrete to take to the hosting provider. So, again, thanks Denis for the ...json trick.

c_schmitz

c_schmitz

2015-12-09 10:08

administrator   ~33780

memory errors are alwas hard, because in many cases no proper error message is produce by PHP.

c_schmitz

c_schmitz

2015-12-09 10:35

administrator   ~33782

In 2.5 the survey list will use much less memory.

c_schmitz

c_schmitz

2015-12-15 13:15

administrator   ~33949

2.06+ Build 151215 released

Issue History

Date Modified Username Field Change
2015-09-18 02:44 ttenbergen New Issue
2015-09-28 18:53 DenisChenu Note Added: 33190
2015-09-28 19:28 ttenbergen Note Added: 33194
2015-09-29 08:17 DenisChenu Note Added: 33201
2015-09-29 22:00 ttenbergen Note Added: 33207
2015-09-30 08:37 DenisChenu Note Added: 33208
2015-09-30 11:00 c_schmitz Note Added: 33214
2015-09-30 11:00 c_schmitz Status new => closed
2015-09-30 11:00 c_schmitz Assigned To => c_schmitz
2015-09-30 11:00 c_schmitz Resolution open => unable to reproduce
2015-09-30 16:33 ttenbergen Note Added: 33261
2015-09-30 16:33 ttenbergen Status closed => feedback
2015-09-30 16:33 ttenbergen Resolution unable to reproduce => reopened
2015-09-30 16:43 DenisChenu Note Added: 33262
2015-11-27 00:57 ttenbergen Note Added: 33626
2015-11-27 00:57 ttenbergen Status feedback => assigned
2015-11-27 00:58 ttenbergen File Added: surveys json dump.txt
2015-11-27 01:03 ttenbergen Note Added: 33627
2015-11-27 21:56 ttenbergen Note Added: 33629
2015-11-27 21:59 ttenbergen Note Added: 33630
2015-12-09 10:08 c_schmitz Note Added: 33780
2015-12-09 10:35 c_schmitz Note Added: 33782
2015-12-09 10:35 c_schmitz Status assigned => resolved
2015-12-09 10:35 c_schmitz Fixed in Version => 2.5
2015-12-09 10:35 c_schmitz Resolution reopened => fixed
2015-12-15 13:15 c_schmitz Note Added: 33949
2015-12-15 13:15 c_schmitz Status resolved => closed