CodeIgniter Forums
set_status_header results in blank page - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: set_status_header results in blank page (/showthread.php?tid=28008)



set_status_header results in blank page - El Forum - 02-27-2010

[eluser]gRoberts[/eluser]
Hey all,

I've asked about this in the past but unfortunately it produced no results.

Hopefully, a new thread will reach a new audience.

Basically, I have a Linux reseller account provided by http://www.fasthosts.co.uk and I have noticed a strange issue when issuing 404 errors.

When ever CI fails with a 404, it produces a white page. That even includes instances where you call show_404();

I've found that by removing set_status_header in the Exceptions class (line 118) it works but this results in a header result of 200. This obviously is wrong.

Has anyone ever encountered this and found a solution?

Thanks

Gavin


set_status_header results in blank page - El Forum - 08-10-2010

[eluser]Flemming[/eluser]
Hello,

did you ever find a solution to your 404 problem? I'm encountering the exact same problem and I too am using a fasthosts reseller account.

Stumped! ...