Welcome Guest, Not a member yet? Register   Sign In
The 404 problems (CI Reactor)
#6

[eluser]Phil Sturgeon[/eluser]
This is a valid point victorche that has nothing to do with SPL_Autoload.

The 404_override solution is a Routing solution. If when you call a URL it cannot find anything, it will route to the controller you specified. However once you call show_404() this will not try to route again as you are already in a controller.

This is not so much a bug, just an unexpected usage of the feature. To get this working would involve implementing a solution very similar to HMVC (not talking about Modular Extensions or any module functionality, just the ability to call another controller from a controller). This is a known topic, but for now I would just suggest you install HMVC and make a call to that controller, or redirect with a HTTP 1.1 Status 404 header set to let Google/Browser know the page was a 404.


Messages In This Thread
The 404 problems (CI Reactor) - by El Forum - 02-17-2011, 02:48 PM
The 404 problems (CI Reactor) - by El Forum - 02-17-2011, 04:40 PM
The 404 problems (CI Reactor) - by El Forum - 02-18-2011, 03:52 AM
The 404 problems (CI Reactor) - by El Forum - 02-18-2011, 04:40 AM
The 404 problems (CI Reactor) - by El Forum - 02-18-2011, 05:04 AM
The 404 problems (CI Reactor) - by El Forum - 02-18-2011, 05:18 AM
The 404 problems (CI Reactor) - by El Forum - 02-18-2011, 04:14 PM
The 404 problems (CI Reactor) - by El Forum - 02-24-2011, 10:28 AM
The 404 problems (CI Reactor) - by El Forum - 02-24-2011, 11:18 AM
The 404 problems (CI Reactor) - by El Forum - 02-24-2011, 03:19 PM
The 404 problems (CI Reactor) - by El Forum - 02-25-2011, 04:56 AM
The 404 problems (CI Reactor) - by El Forum - 02-25-2011, 12:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB