开发者

Magento 1.3 Custom layout cache issue

开发者 https://www.devze.com 2023-01-29 10:24 出处:网络
I have a custom module to display a very simple page on my magento site. Its using its own layout file which is specified in the config.xml file.

I have a custom module to display a very simple page on my magento site. Its using its own layout file which is specified in the config.xml file.

When the cache is turned off and all the cache files are manually deleted, the page renders just fine. Once the cache is turned on, or refreshed once on the page doesn't picku开发者_StackOverflow社区p the layout file anymore so a blank page with default layout is displayed.

Does anyone have any ideas? Thanks for your help in advance!


I found that it was the use_cache.ser file that was still holding some of the details I needed to clear. So now whenever I need to be sure to clear all cache files I delete the following: var/cache/* var/session/* app/etc/use_cache.ser


You can clear the cache manually from

/path to your magento installation/var/cache

Just delete everything under cache directory.

0

精彩评论

暂无评论...
验证码 换一张
取 消