Tuesday, June 25, 2013

Re: Favicon.ico Error in Logs



On Monday, 24 June 2013 20:26:49 UTC+2, 라이더제이슨 wrote:
My CakePHP error.log (/app/tmp/logs/error.log is full of errors (well, Favicon.ico)

2013-06-24 11:12:54 Error: [MissingControllerException] Controller class Favicon.icoController could not be found.
Exception Attributes: array (
  'class' => 'Favicon.icoController',
  'plugin' => NULL,
)
Request URL: /favicon.ico?url=favicon.ico
Stack Trace:
#0 /http/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}

favicon.ico is in the /app/webroot/favicon.ico .

According to the error message, it's not. simply request example.com/favicon.ico and look for it.
 

And even so, I don't even have the favicon html in my templates either.  So I don't even know why it would be requesting it in the first place

Because some browsers (IE) request /favicon.ico always.

AD

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: