Solved

How do i get rid of this error in php error log ?  File does not exist:favicon.ico

Posted on 2009-05-12
3
269 Views
Last Modified: 2013-12-13
We are having issues with our new php/apache/linux server, so i am trying to clean up some of the warning messages.  The error below appears quite often, but i can't find a place in the app that calls for this .icon file.  I have done a search of the app, but no reference to it.  How can search for and fix this issue
[Fri Mar 06 18:20:29 2009] [error] [client 192.168.2.18] File does not exist: /usr/local/clientville_Apache1/Ourstructures.techsolution.org/favicon.ico

Open in new window

0
Comment
Question by:justmelat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Expert Comment

by:osintsev
ID: 24366945
favicon.ico requested by users web browser and some search engines spiders. It's just an icon that appears with the URL of the site, browser requests this file automatically. Very similar that your Apache redirects all 404 errors to your php script, for example, such as working Drupal with clean urls feature.
0
 
LVL 3

Accepted Solution

by:
Xenus99 earned 188 total points
ID: 24366988
If the error redirects you to a 404 page then you can do the following:

http://www.trilithium.com/johan/2005/02/no-favicon/

Otherwise you can put a simple ico the get rid or the error on the logs

http://www.redantigua.com/favicon.html
0
 
LVL 7

Assisted Solution

by:mchkorg
mchkorg earned 187 total points
ID: 24372628
It's the icon on the left of your address bar in your browser, whatever the browser is
Either you create a favicon.ico file on your web server's root, it must be a 16x16 GIF file I guess (not sure)
Either you don't and don't care

Or, you get http://www.google.fr/favicon.ico, saves it on your own server
It'll remove the "error" and you won't have to loose time to create one... :)
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
clicking to find my folders on wamp 8 47
htaccess block all countries but the US 4 98
Insert PHP into HTML page. 7 52
Phone number mask 4 16
This article discusses four methods for overlaying images in a container on a web page
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question