Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

SOLVED: Error in ne...
 
Notifications
Clear all

SOLVED: Error in new installation creating new clients

5 Posts
2 Users
0 Reactions
1,256 Views
(@vixbow)
Posts: 4
Active Member
Topic starter
 
[#9006]

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.


 
Posted : 12 Aug 2023 2H19
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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.


 
Posted : 14 Aug 2023 20H28
(@vixbow)
Posts: 4
Active Member
Topic starter
 

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?


 
Posted : 14 Aug 2023 22H33
(@vixbow)
Posts: 4
Active Member
Topic starter
 

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!


 
Posted : 15 Aug 2023 0H20
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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)


 
Posted : 15 Aug 2023 17H21
Share:

Scroll to Top