Welcome, Guest. Please Login or Register.
April 28, 2025, 03:02:41 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  German User Help  |  Hilfe zu YaBB SE  |  Cannot use output buffering in output buffering display handlers « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Cannot use output buffering in output buffering display handlers  (Read 915 times)
Tux
Noobie
*
Posts: 32


free for future

Cannot use output buffering in output buffering display handlers
« on: May 08, 2003, 10:51:39 AM »
Reply with quote

Cannot use output buffering in output buffering display handlers in /Sources/Subs.php on line 119

YabbSE 1.5.2   Apache/2     PHP Version 4.3.1
PHP.ini Configs
output_buffering = On
output_handler = "ob_gzhandler"
zlib.output_compression = Off
implicit_flush = 1
register_globals = 0ff

Dadurch das ich Register Globals auf Off stehen habe. Bekomme ich ein Abfrage Problem in der index.php in etwa Zeile 70.
if ($modSettings['enableCompressedOutput'] && preg_match('/gzip/i', getEnv('HTTP_ACCEPT_ENCODING')) && @ini_get('zlib.output_compression') != '1')
   ob_start("ob_gzhandler");

Unter Apache hilft folgender Code zur Abhilfe.
if ($modSettings['enableCompressedOutput'] && preg_match('/gzip/i', getEnv($_SERVER['HTTP_ACCEPT_ENCODING'])) && @ini_get('zlib.output_compression') != '1')
   ob_start('ob_gzhandler');
else
   ob_start();

Warum ich bei der Globalen registrierung in etwa Zeile 35 dieses Problem trotzdem habe kann ich nicht sagen. Jedoch konnte ich mit der Superglobalen Varaiable dieses Problem lösen.

mfg Tux

PS: Diese Fehlermeldung erscheint nur bei der Statistikanzeige und beim Mod Bookmark im neuen Fenster!
« Last Edit: May 08, 2003, 10:54:49 AM by Tux » Logged

LINUX - Für das Leben nach dem Absturz! ;D
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  German User Help  |  Hilfe zu YaBB SE  |  Cannot use output buffering in output buffering display handlers « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.051 seconds with 21 queries.