Forum

ob_clean(); error w...
 
Notifications
Retirer tout

ob_clean(); error when first installing ProjeQtOr

2 Posts
2 Utilisateurs
0 Reactions
6,128 Vu
(@michaelmilette)
Posts: 2
New Member
Début du sujet
 
[#2015]

After copying the projeqtor files in place on my webserver for the first time, I proceeded to access the new site. However as soon as I tried, I got the following error:

Notice: ob_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete in /www/projeqtor/tool/projeqtor.php on line 6.

The solution is to simply replace the following on line 6 of tool/projeqtor.php::

Currently:

ob_clean();

Replace with:

if (ob_get_contents()) ob_end_clean();

It would be great if this modification could be incorporated into future versions of Projeqtor as it seems to work well since I made this change.

Best regards,

Michael Milette


 
Posté : 26 Sep AM 01:099
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

The ob_clean has already been removed from V4.5.0.
The issue (some extra spaces after ?> tag) at the origin of the ob_clean() was identified and removed.

Anyway, thanks for your proposale.


 
Posté : 26 Sep AM 01:099
Share:
Retour en haut