Welcome Guest, Not a member yet? Register   Sign In
random 404s
#1

[eluser]Bas78[/eluser]
Hi, I got something weird going on.

Sometimes when I go to my application using domain.com/myapp or myapp/index.php,
I get a 404 error. I can refresh 20 times and get the same error, but then 10 seconds later I refresh and the application works.

It seems to be occurring completely at random.

The application logs shows this:

On success:
Code:
DEBUG - 2009-11-24 13:57:53 --> Config Class Initialized
DEBUG - 2009-11-24 13:57:53 --> Hooks Class Initialized
DEBUG - 2009-11-24 13:57:53 --> URI Class Initialized
DEBUG - 2009-11-24 13:57:53 --> No URI present. Default controller set.
DEBUG - 2009-11-24 13:57:53 --> Router Class Initialized
DEBUG - 2009-11-24 13:57:53 --> Output Class Initialized
DEBUG - 2009-11-24 13:57:53 --> Input Class Initialized
DEBUG - 2009-11-24 13:57:53 --> Global POST and COOKIE data sanitized
DEBUG - 2009-11-24 13:57:53 --> Language Class Initialized
DEBUG - 2009-11-24 13:57:53 --> Loader Class Initialized
DEBUG - 2009-11-24 13:57:53 --> Helper loaded: url_helper
DEBUG - 2009-11-24 13:57:53 --> Database Driver Class Initialized
DEBUG - 2009-11-24 13:57:53 --> Controller Class Initialized
DEBUG - 2009-11-24 13:57:53 --> Helper loaded: form_helper
DEBUG - 2009-11-24 13:57:53 --> Form Validation Class Initialized
DEBUG - 2009-11-24 13:57:53 --> Parser class already loaded. Second attempt ignored.
DEBUG - 2009-11-24 13:57:53 --> File loaded: /data/www/mainserver/htdocs/myapp/system/application/views/newsview.php
DEBUG - 2009-11-24 13:57:53 --> File loaded: /data/www/mainserver/htdocs/myapp/system/application/views/loginview.php
DEBUG - 2009-11-24 13:57:53 --> File loaded: /data/www/mainserver/htdocs/myapp/system/application/views/logintemplate.php
DEBUG - 2009-11-24 13:57:53 --> Final output sent to browser
DEBUG - 2009-11-24 13:57:53 --> Total execution time: 0.1859

On failure:
Code:
DEBUG - 2009-11-24 07:58:14 --> Config Class Initialized
DEBUG - 2009-11-24 07:58:14 --> Hooks Class Initialized
DEBUG - 2009-11-24 07:58:14 --> URI Class Initialized
ERROR - 2009-11-24 07:58:14 --> 404 Page Not Found --> images

Ignore the timestamps jumping 6 hours in the past, that's a weird timezone problem on the server here, and not correlating to the random error anyway.

The images page that it reports as not found is a map in /system/application and is referenced in my css (in /system/application.css) and in my logintemplate view. According to the log files above it doesn't come near loading any of these files when the error occurs.

Also, after logging in to the application the error is gone. I'm using PHP sessions for this.

I really don't understand what's happening. One moment all's working fine, next it doesn't work.
Anyone got an idea what could cause this?


Messages In This Thread
random 404s - by El Forum - 11-24-2009, 08:22 AM
random 404s - by El Forum - 11-25-2009, 08:56 AM
random 404s - by El Forum - 11-25-2009, 09:09 AM
random 404s - by El Forum - 11-25-2009, 10:14 AM
random 404s - by El Forum - 11-25-2009, 12:14 PM
random 404s - by El Forum - 11-27-2009, 07:07 AM
random 404s - by El Forum - 12-02-2009, 08:02 PM
random 404s - by El Forum - 12-02-2009, 08:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB