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
Dormilich
8,658 Expert Mod 8TB
the file is not there?
Feb 28 '10 #2
sorry,
i am new to php and wat is that file and why we need that file....???
Feb 28 '10 #3
Dormilich
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
Niheel
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
Frinavale
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
Markus
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
Frinavale
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
Markus
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

2
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...
20
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?
4
by: cfyam | last post by:
How can I check some file is exist or not in my evc dll?
0
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...
1
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...
3
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: ...
1
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...
1
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"...
23
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...
0
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...
0
better678
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...
0
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...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
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...
0
jalbright99669
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...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
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...
0
hi
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.