After updating to LS 3.17.9+190731 I get an internal server error in CPD module

More
1 year 1 month ago #187330 by Marcin29019
After updating to LS 3.17.9+190731 I get an internal server error trying to display Central Participant Database. I've enabled logging errors at the application level but those errors never show up in those logs. On server level I see:
WARNING: [pool domain.fqdn] child 1556 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 69632 bytes) in /path/to/www-root/framework/logging/CLogger.php on line 96"
and
WARNING: [pool domain.fqdn] child 26476 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /path/to/www-root/framework/base/CBehavior.php on line 111"
I have memory limit set to 128MB but participants table is empty so it looks like LS is exhausting all available memory to query zero data?
What might be the case?
[/sup]
The topic has been locked.
More
1 year 1 month ago #187354 by ollehar
Feel free to report the bug in the bug tracker.
The topic has been locked.
More
1 year 1 month ago #187362 by lembuz
I had a similar problem.

Are you using a later verison of php like PHP 7.4

I did this

edit
limesurvey/framework/base/CSecurityManager.php
around line line 396

comment out this function

/*
if(function_exists('openssl_random_pseudo_bytes'))
{
$bytes=openssl_random_pseudo_bytes($length,$strong);
if($this->strlen($bytes)>=$length && ($strong || !$cryptographicallyStrong))
return $this->substr($bytes,0,$length);
}
*/
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now