[eluser]nuwanda[/eluser]
The manual states:
Quote:show_404('page')
This function will display the 404 error message supplied to it using the following error template:
application/errors/error_404.php
The function expects the string passed to it to be the file path to the page that isn't found. Note that CodeIgniter automatically shows 404 messages if controllers are not found.
This implies that if a controller is not found then the error_404.php file is shown, by default.
That's not happening with me. I'm just getting the normal Apache server error.
This is what I have in my error_404.php:
I'm expecting my home page (root) to show when a controller is not found.
How can I fix that?