- Posts: 3
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
4 years 8 months ago #187330
by Marcin29019
After updating to LS 3.17.9+190731 I get an internal server error in CPD module was created 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:
and
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?
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"
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"
What might be the case?
The topic has been locked.
- ollehar
- Offline
- LimeSurvey GmbH Employee
Less
More
- Posts: 522
- Thank you received: 108
4 years 8 months ago #187354
by ollehar
Replied by ollehar on topic After updating to LS 3.17.9+190731 I get an internal server error in CPD module
Feel free to report the bug in the bug tracker.
The topic has been locked.
- lembuz
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
4 years 8 months ago #187362
by lembuz
Replied by lembuz on topic After updating to LS 3.17.9+190731 I get an internal server error in CPD module
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);
}
*/
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.