Welcome Guest, Not a member yet? Register   Sign In
Base Controller Redirect
#10

[eluser]n0xie[/eluser]
You probably get an error because you are loading the helper 'url' in your subclass. The subclass first calls the parent constructor, where it finds the redirect command. Since the url helper isn't loaded yet, it will error out since it has no idea what the command 'redirect' is.

You should first make sure you have error reporting on. You could autoload the url helper to make sure the helper is loaded before the controllers are executed.


Messages In This Thread
Base Controller Redirect - by El Forum - 04-06-2010, 02:01 PM
Base Controller Redirect - by El Forum - 04-06-2010, 02:55 PM
Base Controller Redirect - by El Forum - 04-06-2010, 03:02 PM
Base Controller Redirect - by El Forum - 04-07-2010, 01:08 AM
Base Controller Redirect - by El Forum - 04-07-2010, 01:37 AM
Base Controller Redirect - by El Forum - 04-07-2010, 06:46 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:38 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:39 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:43 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:46 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:56 AM
Base Controller Redirect - by El Forum - 04-07-2010, 09:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB