Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a custom theme for my Magento store with a bunch of custom modules. Everything works correctly 99% of the time, but I notice occasionally in the Server logs that Magento is looking in the wrong place for my CSS file, as if the theme isn't loaded. But when I visit the accused URL, it loads fine.

Log Examples:

[Sun Nov 16 15:18:13 2014] [error] File does not exist: (root)/httpdocs/skin/frontend/base/default/css/suggest.css, referer: http://www.comstarsupply.com/suggest/cart/add/product/7413
[Sun Nov 16 16:07:09 2014] [error] File does not exist: (root)/skin/frontend/base/default/css/magicmile.css 

You can visit those URLs and see that everything loads correctly, so I'm not sure how this can be happening. Any thoughts on where I could start to track down the problem?

share|improve this question
1  
Maybe you have configured design exceptions in the design configuration and these log records are triggered by mobile users visiting your site? – Vinai Nov 17 '14 at 13:27
    
Oh!, you're right... that's what it is. – andyjv Nov 17 '14 at 13:30
up vote 2 down vote accepted

I've added my comment as an answer so you can accept it please.

Maybe you have configured design exceptions in the design configuration and these log records are triggered by mobile users visiting your site?

share|improve this answer
    
Thanks; can't believe I didn't think of this myself! – andyjv Nov 17 '14 at 13:35
    
I spent a long time figuring that out on a site, too. – Vinai Nov 17 '14 at 13:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.