Multiple view loading not working in FF and IE

I dont know how this is possible, but when I load multiple views like so:


It loads only the header in IE and FF. Content and Footer is not loaded according to page source. Throws no errors either, that view file does not exist or w/e.
In Chrome it loads all three, how is this possible? Is it not server side? And not browser based?

Check the HTML output in chrome en FF/IE to see what you're missing. Are you generating a doctype complaint page?

I found the problem, apparantly multiple views dont want to work with this line at the start of header page:

if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start();

Anyone know why?

I guess, I should use CI built in compression setting instead.

$config['compress_output'] = FALSE;

Will see if that works better.

EDIT: Works like charm!

Self ask and self answer ftw? o.O

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.