472,337 Members | 1,617 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,337 software developers and data experts.

favicon.ico file does not exist

File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
why i am getting this error??
Feb 28 '10 #1
11 41744
8,658 Expert Mod 8TB
the file is not there?
Feb 28 '10 #2
i am new to php and wat is that file and why we need that file....???
Feb 28 '10 #3
8,658 Expert Mod 8TB
usually this is the icon a website displays in the address bar and similar places. but it beats me, why your script explicitly checks for that file.
Feb 28 '10 #4
I dont know...even i execute a simple info() script also getting the same error in logs...
Feb 28 '10 #5
I am getting this error when i use chrome..but not in IE...???
Mar 12 '10 #6
2,452 Expert Mod 2GB
You are getting this error in your logs because you do not have this icon file in your root folder.

Some browsers won't call that file or they will cache it in the browser so it won't be requested again. IE is a browser that will cache the icon file on the first request.

As Dormilich said, it's the little icon at that you see next to the name of your website when you open a website in a browser. For example on Bytes, you will see a purple icon at the top next to the name of the page on the tab. This is our favicon.ico.

These images are also used by bookmarking services and when you bookmark a pages. It's an easy way to identify that youv'e landed on a page of a certain website.

You should always create a unique favicon.ico for your website, so your website visitors know that they've landed on a page of your website.
Mar 12 '10 #7
Thank You both Dormilich and kub365....i understood about the favicon i just create d the icon file and using <link> i linked with that icon file and my problem is solved...
Correct me if i am wrong...
Apr 12 '10 #8
9,735 Expert Mod 8TB
You should be using a URL to the favicon.ico file....it looks like you're trying to use the physical path on the server instead.

I think you have something like:
Expand|Select|Wrap|Line Numbers
  1. <head>
  2.   <link href="C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico" rel="SHORTCUT ICON">
  3. </head>
But you should have something like:
Expand|Select|Wrap|Line Numbers
  1. <head>
  2.   <link href="http://www.mydomain.com/favicon.ico" rel="SHORTCUT ICON">
  3. </head>
Apr 12 '10 #9
6,050 Expert 4TB
Most browsers will make a request for the favicon.ico, even if there is no <link ...> to the favicon, which is probably the cause of the error.
Apr 30 '10 #10
9,735 Expert Mod 8TB
*Most* being FireFox ;)
I don't think Internet Explore does something as silly as adding a link to your page for you (I personally think this is sort of dumb).
Apr 30 '10 #11
6,050 Expert 4TB
Chrome, too. :)
Apr 30 '10 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed...
by: | last post by:
If I need to check if a certain value does exist in a field, and return either "yes" or "not" which query would be the most effestive?
by: cfyam | last post by:
How can I check some file is exist or not in my evc dll?
by: netjanuszk7 | last post by:
In SQL Server 2000 I have created a linked server. It was to link me with an Excel file. I received a message: I know about system.mdw, but...
by: TrailBlazer | last post by:
Hi - Been struggling over this issue for a long while. We store PDF's in our SQL Server database. And I do a BinaryWrite to display the PDF. It...
by: OdAwG | last post by:
Hello All, I would i check to see if a file exist and if it does exist, then rename the file with the date and time attached to the name: ...
by: prabhunew2005 | last post by:
Hi I am doing web portal design using PHP. The system has linux os. When i am moving to any of screens, the following error message is written...
by: Lloyd Dupont | last post by:
I think you could test that for your self, couldn't you! ;-) VS is a good hexa editor, if you want to do some hexa read of your file... "DR"...
by: canabatz | last post by:
can someone please help me set up a loop to wait for a file to be exist? i got a automation program that download a file from my ftp ,proccessing...
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.