![]() |
Error Messages not showing - 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: Error Messages not showing (/showthread.php?tid=15074) |
Error Messages not showing - El Forum - 01-25-2009 [eluser]macleodjb[/eluser] Hi guys, I was under the impression that if i had a 404 error on my site that codeigniter would display the error page under "errors/error404.php". Right now i only get an error from my hosting account. Is there something i need to turn on to get this to show up or do i need to enable this in apache. Error Messages not showing - El Forum - 01-25-2009 [eluser]darkhouse[/eluser] It sounds like your .htaccess isn't setup or isn't working. If it's working, it'll send the uri to CI's index.php page, therefore your server won't ever return a 404. But if CI can't find anything relating to that uri, it will return a 404. So the fact that you're seeing your servers 404 tells me it's not loading the index.php file, so the .htaccess is probably not working. |