Welcome Guest, Not a member yet? Register   Sign In
unexpected 404
#2

[eluser]Narkboy[/eluser]
To the first:

Do you have an index function in newcontroller.php? Without index or _remap calling the controller will give you 404 unless you provide a specific route.

To the second:

If: /controller/controller/function works, then have you got the controller in a sub-folder? You said it dosen't work but then 'when it is working'? Can you clarify?

Remember:

example.com/controller -> loads the index function (or _remap) in controller. 404 if these don't exist.
example.com/controller/function -> loads the 'function' function in controller (or _remap) 404 if these don't exist.

/B


Messages In This Thread
unexpected 404 - by El Forum - 10-21-2010, 12:17 PM
unexpected 404 - by El Forum - 10-22-2010, 02:34 AM
unexpected 404 - by El Forum - 10-22-2010, 06:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB