Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

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

  • Marcin29019
  • Marcin29019's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 8 months 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:
Code:
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
Code:
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?
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
4 years 8 months ago #187354 by ollehar
Feel free to report the bug in the bug tracker.
The topic has been locked.
More
4 years 8 months 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.

Lime-years ahead

Online-surveys for every purse and purpose