CodeIgniter Forums
CodeIgniter.php doesn't load, no errors are shown - 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: CodeIgniter.php doesn't load, no errors are shown (/showthread.php?tid=30717)



CodeIgniter.php doesn't load, no errors are shown - El Forum - 05-24-2010

[eluser]mrmeyers99[/eluser]
I just installed Ubuntu 10 and I got everything installed. When I tried to run a website that I had already created, the page was blank. After inserting some error messages, I found that the page crashes at this line:

Code:
require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;

I know that file exists and has the right permissions. The weird thing is that no error messages are displayed, it just stops executing at that line. I have my error settings set to
Code:
error_reporting(E_ALL);
    ini_set('display_errors', '1');

Does anyone have any ideas what could be wrong or at least how to get it to show errors?


CodeIgniter.php doesn't load, no errors are shown - El Forum - 05-24-2010

[eluser]mrmeyers99[/eluser]
Well I found the problem. I forgot that including CodeIgniter.php had more involved than simply loading the file. It turned out I didn't have php-mysql installed so I couldn't connect to the database. I still don't know why it wasn't showing errors though.


CodeIgniter.php doesn't load, no errors are shown - El Forum - 05-25-2010

[eluser]SitesByJoe[/eluser]
Sometimes missing objects cause those blank pages. Drove me nuts until I knew what to look for.