CodeIgniter Forums
Just installed CI4 RC1 but getting blank pages - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: Just installed CI4 RC1 but getting blank pages (/thread-74253.html)

Pages: 1 2


RE: Just installed CI4 RC1 but getting blank pages - starchild - 12-04-2019

did you get a fix for the zlib.output_compression = on issue?


RE: Just installed CI4 RC1 but getting blank pages - dazmaster0 - 02-26-2020

I have the exact same issue. Fresh install, windows/xampp, i have other sites working on CI 3. This was a fresh install with composer (done yesterday), error log just shows home controller loaded, blank page.

if i remove:

while (\ob_get_level() > 0)
{
\ob_end_flush();
}

\ob_start(function ($buffer) {
return $buffer;
});

from events.php it works, with code back in blank page.


RE: Just installed CI4 RC1 but getting blank pages - Chroma - 04-03-2020

I have just been facing this exact problem.

I am using shared hosting using cPanel.

In my system, there is an option to turn OFF zlib.output_compression and when I do that, it goes from only delivering blank pages, to fully rendered website.

The headers all show a completely good transfer return code 200, all looks good, but there is no payload in the transfer.

I would suggest that this is therefore, still a real world problem.