Anyway, I now added two routes for the images:
Router::connect('/apple-touch-icon.png*');
Router::connect('/apple-touch-icon-precomposed.png*');
That works, but might not be the best way…
Cheers,
Sajoscha
On Jan 16, 2015, at 5:40 PM, Mike Karthauser <mikek@brightstorm.co.uk> wrote:i suspect safari is expecting an image in the site root called apple-touch-icon-precomposed.pngwhich it can't find so you are getting the error.On 16 Jan 2015, at 15:11, Sajoscha Sauer <joscha78@googlemail.com> wrote:Hi all,I have a weird problem at the moment.I'm normally using Firefox, and there everything is working perfectly.Now I was testing on Safari and I got the following error:2015-01-16 15:56:13 Error: [MissingControllerException] Controller class Apple-touch-icon-precomposed.pngController could not be found.Exception Attributes: array ('class' => 'Apple-touch-icon-precomposed.pngController','plugin' => NULL,)Request URL: /apple-touch-icon-precomposed.pngStack Trace:#0 /private/reagentdb/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))#1 {main}2015-01-16 15:56:13 Error: [MissingControllerException] Controller class Apple-touch-icon.pngController could not be found.Exception Attributes: array ('class' => 'Apple-touch-icon.pngController','plugin' => NULL,)Request URL: /apple-touch-icon.pngStack Trace:#0 /private/reagentdb/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))#1 {main}If I click any link within the system I get logged out again with the error log above. I never encountered that before and on Firefox everything is working fine. Now I tested on a colleagues Mac and there it works fine…He's using 7.x.x and I'm using 8.0.2.Nowhere in my code I'm calling any touch-icons, so the problem must come from Safari, right?Anyone experienced the same problem? Or can give some helping hand?Thanks a lot!Sajoscha--
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/d/optout.
....................................
Mike Karthäuser
Director, Brightstorm Ltd.
1, Brewery Court
North Street
Bristol
BS3 1JS
mikek@brightstorm.co.uk
www.brightstorm.co.uk
+44(0) 7939252144
....................................--
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/d/optout.
No comments:
Post a Comment