SMF Version: SMF 1.0.8
Hi,
Have just installed SMF but getting the following index.php error at the top of my browser screen?
Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'mb_output_handler' in www.witheridgemoor.f2s.com/ali_forum/index.php on line 102
Anyone help?
Thanks,
DS2987
Try reuploading index.php, the themes + sources directory to see if that fixes your problem?
Thanks J J but still no joy?
Have tried uploading the specified folders & files in Binary and ASCII.
Anymore thoughts?
DS2987
Can you provide us with line 100-104 of index.php?
Hi no problem, see below:
100 $modSettings['enableCompressedOutput'] = '0';
101 else
102 ob_start('ob_gzhandler');
103}
104// This makes it so headers can be sent!
Thanks
DS2987
Have you tried turning Compressed Output off?
OK this is where I have to come clean! I am no code expert!
Do you mean changing line 100 from '0' to '1' ?
Let me know how to do it and I will try.
DS2987
Well just change it to 1, and see what happens then :D
Humm, sorry still no difference....
DS2987
Fixed it!
95 // Check if compressed output is enabled, supported, and not already being done.
96 if (!empty($modSettings['enableCompressedOutput']) && !headers_sent() && ob_get_length() == 1)
97 {
98 // If zlib is being used, turn off output compression.
99 if (@ini_get('zlib.output_compression') == '1' || @ini_get('output_handler') == 'ob_gzhandler')
100 $modSettings['enableCompressedOutput'] = '1';
101 else
102 ob_start('ob_gzhandler');
There was another '1' to change on line 96!
Thanks J J
DS2987