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

Plus d'informations
il y a 1 mois 2 semaines #187330 par 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]

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 1 mois 2 semaines #187354 par ollehar
Feel free to report the bug in the bug tracker.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 2 semaines #187362 par 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);
}
*/

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!