CodeIgniter Forums
Site gives blank screen on localhost - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Site gives blank screen on localhost (/showthread.php?tid=14425)

Pages: 1 2


Site gives blank screen on localhost - El Forum - 01-02-2009

[eluser]martillo[/eluser]
... i meant loadclass inside common.php


Site gives blank screen on localhost - El Forum - 01-02-2009

[eluser]m4rw3r[/eluser]
The failure of loading the Exception class can induce a blank screen.

Open up system/codeigniter/Codeigniter.php and find this line:
Code:
set_error_handler('_exception_handler');
Comment it, and you'll hopefully see the errors.


Site gives blank screen on localhost - El Forum - 01-02-2009

[eluser]sophistry[/eluser]
[quote author="martillo" date="1230933884"]Any ideas on how to find which function name conflicts? I have tried to trace the code in loader.php but not much luck there[/quote]


http://us.php.net/manual/en/function.get-defined-functions.php


Site gives blank screen on localhost - El Forum - 01-05-2009

[eluser]martillo[/eluser]
The blank screen turned out to be caused by the database not connecting as expected. Took ages to find, and is all fixed now. I am posting this so people can search and find "Blank screen caused by no connection to database".


Site gives blank screen on localhost - El Forum - 01-05-2009

[eluser]Phil Sturgeon[/eluser]
The other common cause of WSOD is not having logging enabled and your codeigniter/logs folder set to CHMOD 777.