I am getting this error when trying to create new clients in new installation of 10.4.3 with PHP 8.1:
2023-08-11 18:10:19.099 ** ERROR ** [V10.4.3] on file '/home/.../public_html/.../view/objectDetail.php' at line (10274) 2023-08-11 18:10:19.099 ** ERROR ** [V10.4.3] cause = ob_get_clean(): Failed to discard buffer of zlib output compression (0)
I have tried disabling zlib.output_compression in a php.ini file in the root of the installation (I need it on to run other software on my server in other folders) with no effect. Still can't set anything up. Can anyone guess what's wrong?
Thanks for any help.
Hi,
Yes, this is a zlib compression issue.
Disabling zlib output compression will fix the issue
You msut update php.ini used for apache (not the one used for cli)
zlib.output_compression = Off
Also restart PHP (apache) to take changes into account.
You can altrernatively add this parameter in the projeqtor file parameters.php (it location is defined in tool/parametersLocation.php)
zlib.output_compression = Off
This way projeqtor will work with zlib output compression, but layout for some objects may not be exactly as expected.
Thank you for your reply on this issue, however adding that code to the parameters.php file breaks the entire site, as the format on that page is:
$SslKey=''; $SslCert=''; $SslCa=''; $logFile='../files/logs/projeqtor_${date}.log'; $logLevel='2'; $enforceUTF8='1';
Is there possibly a different format to turn off zlib compression in that file?
I was able to turn off zlib.output.compression from the cPanel (MultiPHP INI Editor) without negatively effecting other software I'm using. Thanks so much for your help!
Hi,
Great you found solution !
Sorry for the tip in parameters.php, it was a wrong copy/paste.
The good code to add in parameters.php file is :
$paramReorg=false;
(may help others)