473,883 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

favicon.ico file does not exist

21 New Member
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 42111
Dormilich
8,658 Recognized Expert Moderator Expert
the file is not there?
Feb 28 '10 #2
Abhilash Etikala
21 New Member
sorry,
i am new to php and wat is that file and why we need that file....???
Feb 28 '10 #3
Dormilich
8,658 Recognized Expert Moderator Expert
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
Abhilash Etikala
21 New Member
I dont know...even i execute a simple info() script also getting the same error in logs...
Feb 28 '10 #5
Abhilash Etikala
21 New Member
I am getting this error when i use chrome..but not in IE...???
Mar 12 '10 #6
Niheel
2,456 Recognized Expert Moderator Top Contributor
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
Abhilash Etikala
21 New Member
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 Recognized Expert Moderator Expert
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 Recognized Expert Expert
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

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

Similar topics

2
14175
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 apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip Smarty-2.6.7.tar.gz on a system running WindowsXP SP2. Apache and PHP tested out fine. After adding Smarty, I ran the following http://localhost/testphp.php
20
10175
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
15311
by: cfyam | last post by:
How can I check some file is exist or not in my evc dll?
0
352
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 it is linked with Access. And what about Excel. May anyone help me?.
1
10458
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 works for me without issue, on FireFox, IE, and Opera! But we are receiving feedback that some users are receiving the file does not begin with %PDF message. ExecString = "spwEcoTrackUser " & Session("EcoUserID") & ",'coupon'," & ID set dbConn = Server.CreateObject("ADODB.Command")...
3
11861
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: Example: If File.Exists("\\server\share\folder\myfile.txt") Then rename \\server\share\folder\myfile.txt \\server\share\folder\myfile_date_time.txt
1
4343
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 into error log file. File does not exist: /var/www/html/favicon.ico How should i solve this?
1
1922
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" <softwareengineer98037@yahoo.comwrote in message news:ufqDNzR8IHA.1200@TK2MSFTNGP04.phx.gbl...
23
13890
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 the file and returning back the result as a file! what im doing right now is im puting a sleep(15); to the executed file in my site to wait for the file!! ,the problem is that the proccesing of the file can take 1 second some time ,and some time 3 seconds, i put 15 seconds to be sure the file...
0
9934
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9789
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11137
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10840
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9570
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7120
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4214
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3230
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.