Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Code: 404 - Not Found


blr044

Recommended Posts

Am receiving this http error whenever someone access my homepage.

 

Site: http://brs-giftshop.com.

Error Code: 404 - Not Found

Occurred: 06/02/2009 9:29:35

Requested URL: http://brs-giftshop.com/favicon.ico

User Address: 24.144.21.250

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)

Referer:

 

I have both index files (catalog and language) to see if there is anything in code that refers to the - /favicon.ico - file. I believe the message is saying the file is missing from the root directory. But I have no idea what mod or file this image might belong to.

 

so am seeking help or a hint regarding this.

 

Thanks.

 

Bennett

Link to comment
Share on other sites

Favicon is the wee picture that apears next to the URL in the address bar of your browser..

 

A lot of browsers check for it, and if not there, ignor, and if its there display it..

 

2 options.

 

1) Ignor it.. Its fine, and not breaking anything you are safe to ignor it.

2) add one! google for favicon.ico - and you will find loads of sites to help you create one.

 

N

 

Error Code: 404 - Not Found

 

Requested URL: http://brs-giftshop.com/favicon.ico

 

 

I have both index files (catalog and language) to see if there is anything in code that refers to the - /favicon.ico - file. I believe the message is saying the file is missing from the root directory. But I have no idea what mod or file this image might belong to.

Link to comment
Share on other sites

You should have a favicon.ico, so that your server error log doesn't get clogged up with thousands upon thousands of 404s. You wish you had that many visitors, don't you! Almost any "paint" program can create one. Just make it 16x16 and icon format, and stick it in your site's root (http://www.yoursite.com/favicon.ico). The rest is magic.

 

While you're at it, you should have a "robots.txt" file to control search engine spiders. A blank (empty) one is fine. This will keep you from generating superfluous 404 errors in the error log. It goes in the root.

 

Finally, consider a suite of "error pages" or "error documents". These are the pages that handle things like a 404 error. On Apache servers, they are commonly nnn.shtml (nnn is 400, 401, 403, 404, 500, etc.) and live in the root directory. If you have cPanel, it has an "Error Pages" function to create some rudimentary error pages. You can add all sorts of HTML code to make a real page if you want. I would suggest at least 404.shtml, so that every time you get one of the other errors, you don't also get a 404 error because your custom 404 handler couldn't be found.

 

It's good to have these files so that your error log doesn't fill up with 404 error messages about them. That leaves the log uncluttered and makes it harder to overlook things that are real problems.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...