Magento Site Layout Breaks Once a Day - Emptying Var/Cache Fixes Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraMagento site is frequently getting CACHE issue and failing to serve CSS, site is getting broken pageCSS Caching.. Where is it hiding?Why Can't Magento Turn Off The Cache When Redis FailsHow to use cloudflare free SSL with Magento?Magento Cache in two places, tmp and var/cacheLayout Cache blocks checkout after X visits on siteMagento just stops loading layout from time to time - why?Magento base url emptySite breaks when trying to disable cache on dev siteSolved: Magento site crashes every day, after emptying /var/cache/ works fineI'm having trouble figuring out why the layout is broken with http: but is correct in https:

What is the term for a person whose job is to place products on shelves in stores?

Implementing 3DES algorithm in Java: is my code secure?

What's parked in Mil Moscow helicopter plant?

How to not starve gigantic beasts

Multiple fireplaces in an apartment building?

Suing a Police Officer Instead of the Police Department

"Rubric" as meaning "signature" or "personal mark" -- is this accepted usage?

What is /etc/mtab in Linux?

Is there any hidden 'W' sound after 'comment' in : Comment est-elle?

Split coins into combinations of different denominations

All ASCII characters with a given bit count

What ability score does a Hexblade's Pact Weapon use for attack and damage when wielded by another character?

Could moose/elk survive in the Amazon forest?

Does Feeblemind produce an ongoing magical effect that can be dispelled?

Multiple options vs single option UI

Is it OK if I do not take the receipt in Germany?

Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network?

What to do with someone that cheated their way through university and a PhD program?

How do I check if a string is entirely made of the same substring?

A strange hotel

Rolling Stones Sway guitar solo chord function

c++ diamond problem - How to call base method only once

Book with legacy programming code on a space ship that the main character hacks to escape

Married in secret, can marital status in passport be changed at a later date?



Magento Site Layout Breaks Once a Day - Emptying Var/Cache Fixes



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraMagento site is frequently getting CACHE issue and failing to serve CSS, site is getting broken pageCSS Caching.. Where is it hiding?Why Can't Magento Turn Off The Cache When Redis FailsHow to use cloudflare free SSL with Magento?Magento Cache in two places, tmp and var/cacheLayout Cache blocks checkout after X visits on siteMagento just stops loading layout from time to time - why?Magento base url emptySite breaks when trying to disable cache on dev siteSolved: Magento site crashes every day, after emptying /var/cache/ works fineI'm having trouble figuring out why the layout is broken with http: but is correct in https:



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















One of my client's websites on Magento 1.9.2.3 has been experiencing a strange error once every day (at random times).



Where the site is loaded without any graphical styling no images, no CSS, javascript or CMS Page content.



The site is only loading the header links (cart, account, login) Category navigational links (links to site product categories), and some footer links (advanced search, sitemap, etc.) - all in the default blue unordered list format. However, the site is loading static block content (although again without any styling, but the content is there).



On CMS pages, the follow error message also appears among the links:



"There was no 404 CMS page configured or found"


Each time this occurs, the site can be restored to normal upon deleting the contents of the var/cache directory - then the site loads perfect again... until it happens again.



I am including a screenshot of how the site loads below.



Image of Site Error



My best diagnosis of the error thus far has fallen on the LAYOUT_GENERAL_CACHE_TAG Magento cache as I have noticed that this showing invalidated when the site goes down like pictured above. It is almost like the site is having trouble loading CMS and theme content on occasion.




A few notes on our setup:



  • Dedicated cloud server

  • 4 Magento sites total (all on the same version & theme), but only one with this error

  • No CDN in place



Any help is greatly appreciated, I am at my wits end trying to debug what is going on. It is such an easy fix to empty var/cache and bring the site to normal, but doing this everyday is getting overwhelming.



Thank you!



UPDATE:
After looking into the issue further, I noticed in the developer console in Chrome that the site is attempting to load js and css with the incorrect file paths.



For example: It is attempting to load css without the preceding "skin" directory and js without the preceding "js" directory. (i.e. https://domainname.com/frontend/base/default/css/style.css)



UPDATE 2:
I took another look at the rendered page when the site was down and it appears that the site is not loading any configuration properly when it goes down (no CMS content is being loaded on the page, the base urls for css & js filepaths are loaded incorrectly). Although every time the site breaks, a simple clearing of var/cache returns the site to normal.




Notes on What I have Checked



  • Correct File permissions for system files/folders

  • Correct base secure & unsecure urls

  • Correct base file paths for css and js

  • Restarted Memcached

  • Cleared Merged CSS & JS files

  • No errors in layout.xml










share|improve this question
















bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Shall i know what is the time index is running? please check php log mostly in /var/log/httpd/error_log.log

    – Rama Chandran M
    Jun 13 '17 at 13:36











  • @RamaChandran I checked var/log and did not see an httpd directory nor an error_log.log

    – Brandon MAC
    Jun 15 '17 at 12:27











  • @RamaChandran The only error logs I saw were cron.log & exception.log . I also checked our uptime monitor and the reported outages are at the most random times: (10:19am, 1:30pm, 9:53pm 2:05am, 11:36pm, 5:32am). These outages always have occurred at random times, but each day it happens once.

    – Brandon MAC
    Jun 15 '17 at 12:29











  • check your php log . php log are in your root director /var/log/httpd/error_log.log file

    – Rama Chandran M
    Jun 15 '17 at 17:41











  • @RamaChandran the only php log I am seeing is in the root directory php_errorlog and it does not have anything in it this month. There is not a httpd directory inside of var/log. Is there another location the log file could be? I also tried running a search for "error_log", but it returned no results.

    – Brandon MAC
    Jun 15 '17 at 17:52

















2















One of my client's websites on Magento 1.9.2.3 has been experiencing a strange error once every day (at random times).



Where the site is loaded without any graphical styling no images, no CSS, javascript or CMS Page content.



The site is only loading the header links (cart, account, login) Category navigational links (links to site product categories), and some footer links (advanced search, sitemap, etc.) - all in the default blue unordered list format. However, the site is loading static block content (although again without any styling, but the content is there).



On CMS pages, the follow error message also appears among the links:



"There was no 404 CMS page configured or found"


Each time this occurs, the site can be restored to normal upon deleting the contents of the var/cache directory - then the site loads perfect again... until it happens again.



I am including a screenshot of how the site loads below.



Image of Site Error



My best diagnosis of the error thus far has fallen on the LAYOUT_GENERAL_CACHE_TAG Magento cache as I have noticed that this showing invalidated when the site goes down like pictured above. It is almost like the site is having trouble loading CMS and theme content on occasion.




A few notes on our setup:



  • Dedicated cloud server

  • 4 Magento sites total (all on the same version & theme), but only one with this error

  • No CDN in place



Any help is greatly appreciated, I am at my wits end trying to debug what is going on. It is such an easy fix to empty var/cache and bring the site to normal, but doing this everyday is getting overwhelming.



Thank you!



UPDATE:
After looking into the issue further, I noticed in the developer console in Chrome that the site is attempting to load js and css with the incorrect file paths.



For example: It is attempting to load css without the preceding "skin" directory and js without the preceding "js" directory. (i.e. https://domainname.com/frontend/base/default/css/style.css)



UPDATE 2:
I took another look at the rendered page when the site was down and it appears that the site is not loading any configuration properly when it goes down (no CMS content is being loaded on the page, the base urls for css & js filepaths are loaded incorrectly). Although every time the site breaks, a simple clearing of var/cache returns the site to normal.




Notes on What I have Checked



  • Correct File permissions for system files/folders

  • Correct base secure & unsecure urls

  • Correct base file paths for css and js

  • Restarted Memcached

  • Cleared Merged CSS & JS files

  • No errors in layout.xml










share|improve this question
















bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Shall i know what is the time index is running? please check php log mostly in /var/log/httpd/error_log.log

    – Rama Chandran M
    Jun 13 '17 at 13:36











  • @RamaChandran I checked var/log and did not see an httpd directory nor an error_log.log

    – Brandon MAC
    Jun 15 '17 at 12:27











  • @RamaChandran The only error logs I saw were cron.log & exception.log . I also checked our uptime monitor and the reported outages are at the most random times: (10:19am, 1:30pm, 9:53pm 2:05am, 11:36pm, 5:32am). These outages always have occurred at random times, but each day it happens once.

    – Brandon MAC
    Jun 15 '17 at 12:29











  • check your php log . php log are in your root director /var/log/httpd/error_log.log file

    – Rama Chandran M
    Jun 15 '17 at 17:41











  • @RamaChandran the only php log I am seeing is in the root directory php_errorlog and it does not have anything in it this month. There is not a httpd directory inside of var/log. Is there another location the log file could be? I also tried running a search for "error_log", but it returned no results.

    – Brandon MAC
    Jun 15 '17 at 17:52













2












2








2








One of my client's websites on Magento 1.9.2.3 has been experiencing a strange error once every day (at random times).



Where the site is loaded without any graphical styling no images, no CSS, javascript or CMS Page content.



The site is only loading the header links (cart, account, login) Category navigational links (links to site product categories), and some footer links (advanced search, sitemap, etc.) - all in the default blue unordered list format. However, the site is loading static block content (although again without any styling, but the content is there).



On CMS pages, the follow error message also appears among the links:



"There was no 404 CMS page configured or found"


Each time this occurs, the site can be restored to normal upon deleting the contents of the var/cache directory - then the site loads perfect again... until it happens again.



I am including a screenshot of how the site loads below.



Image of Site Error



My best diagnosis of the error thus far has fallen on the LAYOUT_GENERAL_CACHE_TAG Magento cache as I have noticed that this showing invalidated when the site goes down like pictured above. It is almost like the site is having trouble loading CMS and theme content on occasion.




A few notes on our setup:



  • Dedicated cloud server

  • 4 Magento sites total (all on the same version & theme), but only one with this error

  • No CDN in place



Any help is greatly appreciated, I am at my wits end trying to debug what is going on. It is such an easy fix to empty var/cache and bring the site to normal, but doing this everyday is getting overwhelming.



Thank you!



UPDATE:
After looking into the issue further, I noticed in the developer console in Chrome that the site is attempting to load js and css with the incorrect file paths.



For example: It is attempting to load css without the preceding "skin" directory and js without the preceding "js" directory. (i.e. https://domainname.com/frontend/base/default/css/style.css)



UPDATE 2:
I took another look at the rendered page when the site was down and it appears that the site is not loading any configuration properly when it goes down (no CMS content is being loaded on the page, the base urls for css & js filepaths are loaded incorrectly). Although every time the site breaks, a simple clearing of var/cache returns the site to normal.




Notes on What I have Checked



  • Correct File permissions for system files/folders

  • Correct base secure & unsecure urls

  • Correct base file paths for css and js

  • Restarted Memcached

  • Cleared Merged CSS & JS files

  • No errors in layout.xml










share|improve this question
















One of my client's websites on Magento 1.9.2.3 has been experiencing a strange error once every day (at random times).



Where the site is loaded without any graphical styling no images, no CSS, javascript or CMS Page content.



The site is only loading the header links (cart, account, login) Category navigational links (links to site product categories), and some footer links (advanced search, sitemap, etc.) - all in the default blue unordered list format. However, the site is loading static block content (although again without any styling, but the content is there).



On CMS pages, the follow error message also appears among the links:



"There was no 404 CMS page configured or found"


Each time this occurs, the site can be restored to normal upon deleting the contents of the var/cache directory - then the site loads perfect again... until it happens again.



I am including a screenshot of how the site loads below.



Image of Site Error



My best diagnosis of the error thus far has fallen on the LAYOUT_GENERAL_CACHE_TAG Magento cache as I have noticed that this showing invalidated when the site goes down like pictured above. It is almost like the site is having trouble loading CMS and theme content on occasion.




A few notes on our setup:



  • Dedicated cloud server

  • 4 Magento sites total (all on the same version & theme), but only one with this error

  • No CDN in place



Any help is greatly appreciated, I am at my wits end trying to debug what is going on. It is such an easy fix to empty var/cache and bring the site to normal, but doing this everyday is getting overwhelming.



Thank you!



UPDATE:
After looking into the issue further, I noticed in the developer console in Chrome that the site is attempting to load js and css with the incorrect file paths.



For example: It is attempting to load css without the preceding "skin" directory and js without the preceding "js" directory. (i.e. https://domainname.com/frontend/base/default/css/style.css)



UPDATE 2:
I took another look at the rendered page when the site was down and it appears that the site is not loading any configuration properly when it goes down (no CMS content is being loaded on the page, the base urls for css & js filepaths are loaded incorrectly). Although every time the site breaks, a simple clearing of var/cache returns the site to normal.




Notes on What I have Checked



  • Correct File permissions for system files/folders

  • Correct base secure & unsecure urls

  • Correct base file paths for css and js

  • Restarted Memcached

  • Cleared Merged CSS & JS files

  • No errors in layout.xml







magento-1.9 layout cache frontend-error






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 19 '17 at 13:31







Brandon MAC

















asked Jun 13 '17 at 13:21









Brandon MACBrandon MAC

113




113





bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Shall i know what is the time index is running? please check php log mostly in /var/log/httpd/error_log.log

    – Rama Chandran M
    Jun 13 '17 at 13:36











  • @RamaChandran I checked var/log and did not see an httpd directory nor an error_log.log

    – Brandon MAC
    Jun 15 '17 at 12:27











  • @RamaChandran The only error logs I saw were cron.log & exception.log . I also checked our uptime monitor and the reported outages are at the most random times: (10:19am, 1:30pm, 9:53pm 2:05am, 11:36pm, 5:32am). These outages always have occurred at random times, but each day it happens once.

    – Brandon MAC
    Jun 15 '17 at 12:29











  • check your php log . php log are in your root director /var/log/httpd/error_log.log file

    – Rama Chandran M
    Jun 15 '17 at 17:41











  • @RamaChandran the only php log I am seeing is in the root directory php_errorlog and it does not have anything in it this month. There is not a httpd directory inside of var/log. Is there another location the log file could be? I also tried running a search for "error_log", but it returned no results.

    – Brandon MAC
    Jun 15 '17 at 17:52

















  • Shall i know what is the time index is running? please check php log mostly in /var/log/httpd/error_log.log

    – Rama Chandran M
    Jun 13 '17 at 13:36











  • @RamaChandran I checked var/log and did not see an httpd directory nor an error_log.log

    – Brandon MAC
    Jun 15 '17 at 12:27











  • @RamaChandran The only error logs I saw were cron.log & exception.log . I also checked our uptime monitor and the reported outages are at the most random times: (10:19am, 1:30pm, 9:53pm 2:05am, 11:36pm, 5:32am). These outages always have occurred at random times, but each day it happens once.

    – Brandon MAC
    Jun 15 '17 at 12:29











  • check your php log . php log are in your root director /var/log/httpd/error_log.log file

    – Rama Chandran M
    Jun 15 '17 at 17:41











  • @RamaChandran the only php log I am seeing is in the root directory php_errorlog and it does not have anything in it this month. There is not a httpd directory inside of var/log. Is there another location the log file could be? I also tried running a search for "error_log", but it returned no results.

    – Brandon MAC
    Jun 15 '17 at 17:52
















Shall i know what is the time index is running? please check php log mostly in /var/log/httpd/error_log.log

– Rama Chandran M
Jun 13 '17 at 13:36





Shall i know what is the time index is running? please check php log mostly in /var/log/httpd/error_log.log

– Rama Chandran M
Jun 13 '17 at 13:36













@RamaChandran I checked var/log and did not see an httpd directory nor an error_log.log

– Brandon MAC
Jun 15 '17 at 12:27





@RamaChandran I checked var/log and did not see an httpd directory nor an error_log.log

– Brandon MAC
Jun 15 '17 at 12:27













@RamaChandran The only error logs I saw were cron.log & exception.log . I also checked our uptime monitor and the reported outages are at the most random times: (10:19am, 1:30pm, 9:53pm 2:05am, 11:36pm, 5:32am). These outages always have occurred at random times, but each day it happens once.

– Brandon MAC
Jun 15 '17 at 12:29





@RamaChandran The only error logs I saw were cron.log & exception.log . I also checked our uptime monitor and the reported outages are at the most random times: (10:19am, 1:30pm, 9:53pm 2:05am, 11:36pm, 5:32am). These outages always have occurred at random times, but each day it happens once.

– Brandon MAC
Jun 15 '17 at 12:29













check your php log . php log are in your root director /var/log/httpd/error_log.log file

– Rama Chandran M
Jun 15 '17 at 17:41





check your php log . php log are in your root director /var/log/httpd/error_log.log file

– Rama Chandran M
Jun 15 '17 at 17:41













@RamaChandran the only php log I am seeing is in the root directory php_errorlog and it does not have anything in it this month. There is not a httpd directory inside of var/log. Is there another location the log file could be? I also tried running a search for "error_log", but it returned no results.

– Brandon MAC
Jun 15 '17 at 17:52





@RamaChandran the only php log I am seeing is in the root directory php_errorlog and it does not have anything in it this month. There is not a httpd directory inside of var/log. Is there another location the log file could be? I also tried running a search for "error_log", but it returned no results.

– Brandon MAC
Jun 15 '17 at 17:52










1 Answer
1






active

oldest

votes


















0














After some thorough digging, I found the problem to lie with the Magento configuration cache. Disabling this cache via the Magento backend fixed the problem. I found another with a similar issue here:



Magento site is frequently getting CACHE issue and failing to serve CSS, site is getting broken page



https://github.com/AmpersandHQ/magento-ce-ee-config-corruption-bug






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f178804%2fmagento-site-layout-breaks-once-a-day-emptying-var-cache-fixes%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    After some thorough digging, I found the problem to lie with the Magento configuration cache. Disabling this cache via the Magento backend fixed the problem. I found another with a similar issue here:



    Magento site is frequently getting CACHE issue and failing to serve CSS, site is getting broken page



    https://github.com/AmpersandHQ/magento-ce-ee-config-corruption-bug






    share|improve this answer



























      0














      After some thorough digging, I found the problem to lie with the Magento configuration cache. Disabling this cache via the Magento backend fixed the problem. I found another with a similar issue here:



      Magento site is frequently getting CACHE issue and failing to serve CSS, site is getting broken page



      https://github.com/AmpersandHQ/magento-ce-ee-config-corruption-bug






      share|improve this answer

























        0












        0








        0







        After some thorough digging, I found the problem to lie with the Magento configuration cache. Disabling this cache via the Magento backend fixed the problem. I found another with a similar issue here:



        Magento site is frequently getting CACHE issue and failing to serve CSS, site is getting broken page



        https://github.com/AmpersandHQ/magento-ce-ee-config-corruption-bug






        share|improve this answer













        After some thorough digging, I found the problem to lie with the Magento configuration cache. Disabling this cache via the Magento backend fixed the problem. I found another with a similar issue here:



        Magento site is frequently getting CACHE issue and failing to serve CSS, site is getting broken page



        https://github.com/AmpersandHQ/magento-ce-ee-config-corruption-bug







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 5 '17 at 18:14









        Brandon MACBrandon MAC

        113




        113



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f178804%2fmagento-site-layout-breaks-once-a-day-emptying-var-cache-fixes%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

            Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

            How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2