Welcome Guest, Not a member yet? Register   Sign In
strange routing error? Autoload not being called on some 404's.
#1

[eluser]gRoberts[/eluser]
Hi everyone,

I've setup all of my error_* documents that include my site header and footer.

The header and footer uses the base_url() call, so I have set it up to autoload the URL helper.

When I go to an url where the controller exists but the action doesn't, all works fine, the error page shows.

If I go to a an url where the controller does not exist, I get "Call to undefined function base_url()"

Any idea's? I tried using get_instance and then loading the helper manually in the header and it fails on "Call to undefined function get_instance()"

Any idea's?

Cheers

Gav


Messages In This Thread
strange routing error? Autoload not being called on some 404's. - by El Forum - 04-21-2010, 02:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB