clrob11 Posted May 19, 2009 Posted May 19, 2009 I initially got this message when trying to complete a test purchase after clicking on confirm order. Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in /home/xxxxxxx/public_html/xxxxxx/includes/application_top.php on line 144 and Fatal error: Cannot redeclare _sess_open() (previously declared in /home/xxxxxxx/public_html/xxxxxxxx/includes/functions/sessions.php:23) in /home/xxxxx/public_html/xxxxx/includes/functions/sessions.php on line 23 But I think I have managed to solve the first part (after a lot of searching) by adding "ob_end_clean();" just before " ob_start('ob_gzhandler');" in application_top.php So it now looks like this:- // if gzip_compression is enabled, start to buffer the output if ( (GZIP_COMPRESSION == 'true') && ($ext_zlib_loaded = extension_loaded('zlib')) && (PHP_VERSION >= '4') ) { if (($ini_zlib_output_compression = (int)ini_get('zlib.output_compression')) < 1) { if (PHP_VERSION >= '4.0.4') { ob_end_clean(); ob_start('ob_gzhandler'); } else { include(DIR_WS_FUNCTIONS . 'gzip_compression.php' I am not sure if it's the right fix but it works. So I now just have the second part to deal with. Fatal error: Cannot redeclare _sess_open() (previously declared in /home/xxxxxxx/public_html/xxxxxxxx/includes/functions/sessions.php:23) in /home/xxxxx/public_html/xxxxx/includes/functions/sessions.php on line 23 Can anybody shed any light on this would be eternally greatful. :lol: Better to be looked over than overlooked!
clrob11 Posted May 19, 2009 Author Posted May 19, 2009 Would really like some help if possible. I know your all busy people but even a hint?? Better to be looked over than overlooked!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.