Forum Moderators: phranque

Message Too Old, No Replies

404 Page Not Found

I would like to understand error log

         

bumpaw

8:56 pm on Aug 13, 2004 (gmt 0)

10+ Year Member



I have been seeing curious things in the site stats under "error log". I would like to find a tutorial that explains the 404 error and why we are having errors linked to images/spacer.gif and includes/our site.js They are shown coming from our calendar.php page.

DaveAtIFG

9:20 pm on Aug 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here's [w3.org] an intro to server status codes.

It appears the links to site.js and spacer.gif on the calendar.php page are incorrect.

Can anyone suggest an "intro to error logs" resource?

bumpaw

2:57 am on Aug 14, 2004 (gmt 0)

10+ Year Member



That's what I don't understand. There are no links to those files on the calendar.php page. It's like when the page loads, if the file for the spacer.gif is not found it would probably show the alt="" text, and the 404 is not shown to the user but logged.

I found this educational info from University of Michigan. [si.umich.edu...]

DaveAtIFG

4:30 am on Aug 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Display the page in your browser, then save it to disk. Look at it with your HTML editor and find the broken links. Go fix your PHP. ;)

I've had to do this more often than I like to admit... Invariably works though... :)

bumpaw

2:46 pm on Aug 14, 2004 (gmt 0)

10+ Year Member



Go fix your PHP.

Yep you are right. I already had that on my "to do" list for today.:)

encyclo

3:02 pm on Aug 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Don't forget that the page markup may be different when logged in or not on many sites with membership options. If you can't find the reference to the spacer.gif, then log out if in, or vice-versa!

Another cheat is to place a replacement spacer GIF and an empty site.js file in the appropriate places to avoid the 404 errors if you don't have time to fix things right away.