Welcome Guest, Not a member yet? Register   Sign In
404 Page Error
#11

[eluser]Adrian Walls[/eluser]
Removing the metatags file from the autoload config list appears to let the application run past the point where it has initalised the hooks class (see low below). The errors here are a result of using smarty variables which hasn't been assigned to the page from the controller.

However the original problem is still there in that the 404 Page Not Found page is not being displayed when an invalid page is asked to be served up.

Code:
DEBUG - 2008-07-23 18:13:21 --> Config Class Initialized
DEBUG - 2008-07-23 18:13:21 --> Hooks Class Initialized
DEBUG - 2008-07-23 18:13:21 --> No URI present. Default controller set.
DEBUG - 2008-07-23 18:13:21 --> Router Class Initialized
DEBUG - 2008-07-23 18:13:21 --> Output Class Initialized
DEBUG - 2008-07-23 18:13:21 --> Input Class Initialized
DEBUG - 2008-07-23 18:13:22 --> Global POST and COOKIE data sanitized
DEBUG - 2008-07-23 18:13:22 --> URI Class Initialized
DEBUG - 2008-07-23 18:13:22 --> Language Class Initialized
DEBUG - 2008-07-23 18:13:22 --> Loader Class Initialized
DEBUG - 2008-07-23 18:13:22 --> Config file loaded: config/webapp.php
DEBUG - 2008-07-23 18:13:22 --> Config file loaded: config/client.php
DEBUG - 2008-07-23 18:13:22 --> Database Driver Class Initialized
DEBUG - 2008-07-23 18:13:22 --> Smarty Class Initialized
DEBUG - 2008-07-23 18:13:22 --> Helpers loaded: url
DEBUG - 2008-07-23 18:13:22 --> Controller Class Initialized
ERROR - 2008-07-23 18:13:23 --> Severity: Notice  --> Undefined index:  subscribeResult c:\sites\dev\rentpro_website\sys
7A^7A0^7A00BE08%%newsletter.tpl.php 6
ERROR - 2008-07-23 18:13:23 --> Severity: Notice  --> Undefined index:  details c:\sites\dev\rentpro_website\system\appl
A00BE08%%newsletter.tpl.php 14
DEBUG - 2008-07-23 18:13:23 --> Final output sent to browser
DEBUG - 2008-07-23 18:13:23 --> Total execution time: 2.2608
#12

[eluser]Randy Casburn[/eluser]
Ok...Please scour your controller and find this:

$this->config->load('webapp');

and

$this->config->load('client');

====

Comment those lines out and run it again.

Randy




Theme © iAndrew 2016 - Forum software by © MyBB