Welcome Guest, Not a member yet? Register   Sign In
Error Messages not showing
#1

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

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




Theme © iAndrew 2016 - Forum software by © MyBB