View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
18656Bug reports_ Unknownpublic2023-05-16 15:55
Reporterjimmi4u Assigned Toc_schmitz  
PrioritynoneSeveritycrash 
Status closedResolutionwon't fix 
Product Version5.6.x 
Summary18656: Http 500 and logout after 7th click on pagination in surveyslist
Description

We are getting a HTTP 500 error in a popup window:
Error 500: {"success":false,"message":"Alias \"application.controllers.admin.authentication\" ist ung\u00fcltig. Stellen Sie sicher, dass er auf eine existierende PHP-Datei verweist und die Datei lesbar ist.","error":{"code":500,"type":"CException","errorCode":0,"message":"Alias \"application.controllers.admin.authentication\" ist ung\u00fcltig. Stellen Sie sicher, dass er auf eine existierende PHP-Datei verweist und die Datei lesbar ist.","file":"\/var\/www\/LIMESURVEY\/vendor\/yiisoft\/yii\/framework\/YiiBase.php","line":330,"trace":"#0 \/var\/www\/LIMESURVEY\/application\/helpers\/admin\/ajax_helper.php(285): YiiBase::import()\n#1 \/var\/www\/LIMESURVEY\/application\/helpers\/admin\/ajax_helper.php(80): ls\ajax\JsonOutputNotLoggedIn->construct()\n#2 \/var\/www\/LIMESURVEY\/application\/controllers\/LSBaseController.php(127): ls\ajax\AjaxHelper::outputNotLoggedIn()\n#3 \/var\/www\/LIMESURVEY\/vendor\/yiisoft\/yii\/framework\/web\/CWebApplication.php(282): LSBaseController->run()\n#4 \/var\/www\/LIMESURVEY\/vendor\/yiisoft\/yii\/framework\/web\/CWebApplication.php(141): CWebApplication->runController()\n#5 \/var\/www\/LIMESURVEY\/vendor\/yiisoft\/yii\/framework\/base\/CApplication.php(185): CWebApplication->processRequest()\n#6 \/var\/www\/LIMESURVEY\/index.php(192): CApplication->run()\n#7 {main}","traces":[{"file":"\/var\/www\/LIMESURVEY\/application\/helpers\/admin\/ajax_helper.php","line":285,"function":"import","class":"YiiBase","type":"::"},{"file":"\/var\/www\/LIMESURVEY\/application\/helpers\/admin\/ajax_helper.php","line":80,"function":"construct","class":"ls\ajax\JsonOutputNotLoggedIn","type":"->"},{"file":"\/var\/www\/LIMESURVEY\/application\/controllers\/LSBaseController.php","line":127,"function":"outputNotLoggedIn","class":"ls\ajax\AjaxHelper","type":"::"},{"file":"\/var\/www\/LIMESURVEY\/vendor\/yiisoft\/yii\/framework\/web\/CWebApplication.php","line":282,"function":"run","class":"LSBaseController","type":"->"},{"file":"\/var\/www\/LIMESURVEY\/vendor\/yiisoft\/yii\/framework\/web\/CWebApplication.php","line":141,"function":"runController","class":"CWebApplication","type":"->"},{"file":"\/var\/www\/LIMESURVEY\/vendor\/yiisoft\/yii\/framework\/base\/CApplication.php","line":185,"function":"processRequest","class":"CWebApplication","type":"->"},{"file":"\/var\/www\/LIMESURVEY\/index.php","line":192,"function":"run","class":"CApplication","type":"->"}]}}

after the 7th click on the pagination of the surveys list view. After the error one gets redirected to the login page.

Steps To Reproduce

Steps to reproduce

  1. login to admin.
  2. click on Surveys in the menu bar
  3. scroll down to the pagination bar
  4. click 7 times on different or the same pagenumber or on the left and right arrows on the pagination bar

Expected result

should load and display the surveys list on the current page like before

Actual result

on the 7th click http500 error in a pop up window as described and the redirect to login screen

more details

checked on fresh install with fresh surveys as well as on a dumped db with 1.050 surveys with the same result. Checked on 5.6.0 and 5.6.3.
application.controllers.admin.authentication\ is at 0777 for testing, normal at 0640 owned by root:apache. Both with the same result.
application is at 0755 application.controllers and application.controllers.admin are at 0777 for testing and at 0550 normally, with the same error.
SElinux disabled, firewalld disabled
standard admin (noto, but tested also the others) and survey theme (vanilla)

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)5.6.3
I will donate to the project if issue is resolvedYes
BrowserChromium & Firefox
Database type & versionPG14
Server OS (if known)rocky 9.1
Webserver software & version (if known)apache2.4.53
PHP Version8.0.20

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2023-02-27 15:05

administrator   ~73966

What's your PHP memory limit?
Probably, there is a survey on the 7th page, that needs a lot of memory.
Furthermore, run an integrity check, and fix any errors that were found.

ollehar

ollehar

2023-02-27 15:13

administrator   ~73967

Pic of my setup, clicked a bunch of time on all pagination buttons without any error. I think we need a video from you to understand.

asd.png (125,249 bytes)
jimmi4u

jimmi4u

2023-02-27 15:16

reporter   ~73968

memory_limit = 512M, checked also with 256M,
it doesn't really matter if there are 50, 100, 250, or 1000 surveys displayed on one page... 7 times click on the pagination bar and the error occurs...

jimmi4u

jimmi4u

2023-02-27 19:57

reporter   ~73975

I have to specify this a bit more precisely: the error occurs after clicking 7 times with <= 100 rows per page, 6 times when >100 rows (tested with 250,500,1000 rows per page)

ollehar

ollehar

2023-02-28 11:32

administrator   ~73978

Hm the video is just a white page for me.

jimmi4u

jimmi4u

2023-03-01 09:08

reporter   ~73992

when I download and view it's ok but in the browser it's white, you're wright

ollehar

ollehar

2023-03-01 10:58

administrator   ~73994

Got it, can see it now. :) Lemme try to reproduce that.

ollehar

ollehar

2023-03-01 11:00

administrator   ~73995

Nop, still can't reproduce locally. Weird.

jimmi4u

jimmi4u

2023-03-01 12:34

reporter   ~73996

can I provide some other configs? What do u need?

jimmi4u

jimmi4u

2023-03-01 12:36

reporter   ~73997

btw. just updated to 5.6.8 but the problem still persists...

ollehar

ollehar

2023-03-02 11:06

administrator   ~74003

If only you are having this issue, it's most likely related to some server configuration on your side.

jimmi4u

jimmi4u

2023-03-03 20:31

reporter   ~74029

ok, but on which? could you give me a short guidince on which settings to try/change, or to which settings this error may be related to?

jimmi4u

jimmi4u

2023-03-07 11:44

reporter   ~74062

hi, you can close the ticket. The issue is solved now. It was redis related, where php-fpm and LS shared the same db, which in that case leads to that behaviour. thanks

tibor.pacalat

tibor.pacalat

2023-05-16 15:55

administrator   ~75012

Closing since it got resolved.

Issue History

Date Modified Username Field Change
2023-02-27 14:37 jimmi4u New Issue
2023-02-27 15:05 c_schmitz Assigned To => c_schmitz
2023-02-27 15:05 c_schmitz Status new => feedback
2023-02-27 15:05 c_schmitz Note Added: 73966
2023-02-27 15:05 c_schmitz Bug heat 0 => 2
2023-02-27 15:13 ollehar Note Added: 73967
2023-02-27 15:13 ollehar File Added: asd.png
2023-02-27 15:13 ollehar Bug heat 2 => 4
2023-02-27 15:16 jimmi4u Note Added: 73968
2023-02-27 15:16 jimmi4u Bug heat 4 => 6
2023-02-27 15:16 jimmi4u Status feedback => assigned
2023-02-27 19:57 jimmi4u Note Added: 73975
2023-02-28 11:32 ollehar Note Added: 73978
2023-03-01 09:08 jimmi4u Note Added: 73992
2023-03-01 10:58 ollehar Note Added: 73994
2023-03-01 11:00 ollehar Note Added: 73995
2023-03-01 12:34 jimmi4u Note Added: 73996
2023-03-01 12:36 jimmi4u Note Added: 73997
2023-03-02 11:06 ollehar Note Added: 74003
2023-03-03 20:31 jimmi4u Note Added: 74029
2023-03-07 11:44 jimmi4u Note Added: 74062
2023-05-16 15:55 tibor.pacalat Status assigned => closed
2023-05-16 15:55 tibor.pacalat Resolution open => won't fix
2023-05-16 15:55 tibor.pacalat Note Added: 75012
2023-05-16 15:55 tibor.pacalat Bug heat 6 => 8