I am using magento full page cache, EE 1.11.2. For some reason my secondary mobile theme is displaying on some of my catalog pages. e.g. two out of 6. This only happens with FPC on. It is reoccurring and happens on the same pages. The cache can be valid or invalid. I have not found any information on a topic similar to this. Any ideas or suggestions on how to solve this?
Related
Is currently working on a new M2 2.3 site to replace my M1.
Almost done but I have found an issue with the cart and full page cache.
When full page cache is enable and I add a product to cart its all good. But when I move to another category and add another product the cart gets empty and start all over again.
If I disable the full page cache the cart works fine.
Anyone have an idea of what i might be?
The site is still in devolopment.
It might be related to the Magento_Persistent module. There is a native bug with FPC when you disable this module. The issue has been reported in the link below:
https://github.com/magento/magento2/issues/21614
I'm new to Magento and can't figure out yet where to manage all the pages in admin. For example, I notice www.domain.com/contactus works on my site - the page is there; however I couldn't figure out where the contactus page is. I looked under CMS > Pages, and also looked in Catalog > Manage Categories but couldn't find it either. Those are the 2 places that I know so far that can create pages. What do I miss? Sorry if it's a very basic question. Thanks.
I'm working on a site developed by a third party, which is Magento 2.1 and uses bundle products heavily. Most of the bundles are made of 260 child products as a choice, and inevitably makes loading the product page for them incredibly slow.
On Mage 1 it was simple enough to use Full Page Caching to cache the bundle product options and speed up the load with pre-caching, but FPC in Mage 2 is clearly very different.
The main slowdown appears to be from the form and options blocks called in the catalog_product_view.xml for the theme, as they iterate over all the child products before rendering the page, so I've tried adding;
cacheable="true"
To those specific blocks, but it's made no difference.
Anyone have any other idea's for how to cache Magento 2 bundle product pages?
EDIT EDIT
I've just tried plugging the database into a fresh install of Magento 2.1 and can see that bundle products are being added to the var/page_cache directory. On the client server, the only thing being written to that directory are tags and header info.
So then new angle... why would Magento 2 not write any FPC html to the page_cache directory? Something higher up the tree has erroneously has cacheable=false set against it perhaps? I'll get digging
Sorry, I cannot comment your last post.
Do you try to use Varnish as the HTTP cache ? Magento recommendation is to use Varnish and Redis as cache backend.
So I found the issue, and it was a mistake made by the people who built the site, and the module creators of magepal magento2-googletagmanager. In both instances, the blocks had;
cacheable="false"
in the layout XML. Setting this on any block on a page will stop the whole page from cacheing. So remove that line, and add;
$this->_isScopePrivate = true;
In to the blocks __construct function. Problem solved.
I have a problem on magento backend that I am not sure what is happening. Shopping cart price rule was working completely fine, but suddenly the rule page look like this:
screenshoot of shopping rule page
The content of each tab is loaded inside the tab div itself instead of on the content area on the right. Content area is completely empty.
No code was touched in relation with promotions code, or admin/core code at all. I don't see any issue on console or not js code loaded. This is the only page affected (shopping cart price rule page), catalog rule works fine as well as any other with same structure (product page, customer page and such).
I was recently playing around with promotion too much, creating, deleting and editing. And solved a 500 issue on cart page increasing php memory limit. Not sure if related with this issue.
On apache logs it only displays the following when I access that page:
client denied by server configuration: /www/app/etc/local.xml
Could someone help me in where to look in order to solve this issue or have a hint about what could be the issue?
I am completely lost with this one. Magento version 1.7.
Thanks.
I finally found the issue. It was a extension related.
Recently I had some issues on cart page and at some point I disabled a promotion extension (Amasty shipping rules) though magento backend, on system/advanced extensions list.
Seems like the extension is disabled but still used on promotion page, adding the structure for the feature but not showing what is supposed to show (because is disabled) and breaking the layout.
Enabling again the extension or removing the extension on files avoid the issue.
1) clear the cache maybe you made a update and your cache is wrong. you can clear in the admin side clear all the types, or erase all inside /www/var/cache
2) clear the page history in your browser, all is fine but your machime show that weird.
3) after that check the browser console, because is a css problem, maybe a file is lost or change the permitions.
I've been trying to add custom fields to Magento's CMS page. I've followed two different guides online and in both cases, it doesn't display the box even after logging out, clearing cache, and even disabling cache.
Is there a different way to do this on 1.7?
I've followed these guides:
http://blog.flexishore.com/2011/08/add-custom-field-to-cms-page/
http://www.atwix.com/magento/adding-custom-attribute-to-a-cms-page/
Thank you!