Site gives blank screen on localhost |
[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');
[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...ctions.php
[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".
[eluser]Phil Sturgeon[/eluser]
The other common cause of WSOD is not having logging enabled and your codeigniter/logs folder set to CHMOD 777. |
Welcome Guest, Not a member yet? Register Sign In |