Welcome Guest, Not a member yet? Register   Sign In
404 after using for a while
#1

[eluser]jjhii[/eluser]
[edited] I think the problem is if I use "www.site.com/DreamMall" I get the 404 but if I use "www.site.com/dreamMall" it works. (note lower case d). I am not sure if this is a IIS thing or a codeignitor problem.

****************************************************

I have several sites running on my test server (windows using IIS). One of the sites is giving me 404 error (sometimes). The site works fine and then all of a sudden it starts giving 404 errors all the times. If left alone it will return to normal or I have to restart IIS. I have not had this problem with the other sites on the server, very odd.

the site is set for "www.site.com/DreamMall". So if I want to access the main page I can either type the site as above or enter "www.site.com/DreamMall/main" or "www.site.com/DreamMall/main/index". I have the "index.php" turned of but can access it that way too. When I get the 404 none of the above works. Note this is a codeignitor 404, not the IIS 404.

No custom routes are use, just the defaults.

I enabled logging and noticed the following when I get a 404...
DEBUG - 2012-04-11 10:55:46 --> Config Class Initialized
DEBUG - 2012-04-11 10:55:46 --> Hooks Class Initialized
DEBUG - 2012-04-11 10:55:46 --> Utf8 Class Initialized
DEBUG - 2012-04-11 10:55:46 --> UTF-8 Support Enabled
DEBUG - 2012-04-11 10:55:46 --> URI Class Initialized
DEBUG - 2012-04-11 10:55:46 --> Router Class Initialized
ERROR - 2012-04-11 10:55:46 --> 404 Page Not Found --> DreamMall

When the normal site is working the 404 log looks like this
DEBUG - 2012-04-11 11:13:48 --> Config Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Hooks Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Utf8 Class Initialized
DEBUG - 2012-04-11 11:13:48 --> UTF-8 Support Enabled
DEBUG - 2012-04-11 11:13:48 --> URI Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Router Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Output Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Security Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Input Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Global POST and COOKIE data sanitized
DEBUG - 2012-04-11 11:13:48 --> Language Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Loader Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Helper loaded: url_helper
DEBUG - 2012-04-11 11:13:48 --> Helper loaded: form_helper
DEBUG - 2012-04-11 11:13:48 --> Helper loaded: html_helper
DEBUG - 2012-04-11 11:13:48 --> Helper loaded: cookie_helper
DEBUG - 2012-04-11 11:13:48 --> Database Driver Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Session Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Helper loaded: string_helper
DEBUG - 2012-04-11 11:13:48 --> Session routines successfully run
DEBUG - 2012-04-11 11:13:48 --> MyHeader Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Model Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Model Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Model Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Model Class Initialized
DEBUG - 2012-04-11 11:13:48 --> Controller Class Initialized
ERROR - 2012-04-11 11:13:48 --> 404 Page Not Found --> main/dumb

Any suggestions, seems to be having a problem when it loads the router class.




Theme © iAndrew 2016 - Forum software by © MyBB