404_override doesn't work as expected.. |
[eluser]Glazz[/eluser]
Hello, Thanks, but i'm getting the same error =\ Screenshot of the error: http://img692.imageshack.us/img692/7479/...uesweb.png If you need, i can post some of my views so you can see them. - G l a z z
[eluser]Eric Barnes[/eluser]
Yea if you can post the topo view that would be great.
[eluser]Eric Barnes[/eluser]
It is loading the view, however having trouble with the cart library. Is that auto loaded? If not it may not be loaded in your 404 controller
[eluser]Glazz[/eluser]
Yes it is autoloading. Edit: My autoload.php Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
[eluser]rogerwaldrup[/eluser]
No fix yet and I too am experiencing an issue using CI 2.0.0
[eluser]Unknown[/eluser]
Code: http://domain.com/existing-directory/non-controller or Code: http://domain.com/existing-directory/existing-directory/non-controller etc... It shows default CI error page too.
[eluser]Glazz[/eluser]
Hello, I've been testing, and this error happens with most of the libraries. I tried to fix it but i didn't have success with it :c
[eluser]thePiet[/eluser]
I'm suffering the same issue here. application/routes.php: Code: $route['404_override'] = 'error/not_found'; application/controllers/error.php: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); As you can see I'm using a breadcrumb class to handle breadcrumbs. But this happens when throwing the 404 error: A PHP Error was encountered Severity: Notice Message: Undefined property: Error::$breadcrumb Filename: controllers/error.php Line Number: 30 Fatal error: Call to a member function append() on a non-object in application/controllers/error.php on line 30 So it looks like libraries that are auto-loaded, aren't loaded anymore or something. Manually loading the libraries in the controller doesn't affect the error. In short, it isn't possible to use other libraries / helpers / plugins within the 404_override route.
[eluser]victorche[/eluser]
for some reason, the autoloaded libraries are not loaded :/ i have the same problem too... |
Welcome Guest, Not a member yet? Register Sign In |