Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter.php doesn't load, no errors are shown
#1

[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?
#2

[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.
#3

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




Theme © iAndrew 2016 - Forum software by © MyBB