Clear shop cache issue in shopware 5.6.2 - caching

I am using Shopware 5.6.2. When I am trying to clear the cache from Configuration->cache/Perforamnce->clear shop cache
The clear cache ajax request is pending for some time and the admin side will be automatically logout.
Can anybody help me to fix the issue?

Could you please answer the following questions?
Your Shopware files are not the core files. Did you edit some of them?
Which Shopware version are you on?
Could you provide the shopware logs?
Altough you can take a look at the network-tab. There could be 500-HTTP-Response

Related

How to disable/remove cache in opencart 3

I'm working in Opencart vesion 3. I had a problem with cache. I have 2 types of problems.
First one, in Back end if I save(create/edit) anything it does not affect. If I do more than 3 times then only it will work.
Second, in Front end product comparison, wishlist and cart, if I add/delete any product from those it will affect lately or after logout and login.
Can anyone please help me.
Thanks in advance!
#Kowsalya is correct. The issue was not caused by the caching functionalities of OpenCart. It was caused by the caching configuration of the server.
Due to not being able to resolve this sooner, I also deployed a Presta Shop instance on the server, and also ran in to exactly the same issue. I contacted the hosting company, and the server has NGINX Cache (similar to Varnish cache).
Once switched off, everyone is working as smooth as butter!

Magento : the cart is always empty

I've been looking for several days now and the problem is stil there.
I'm running the following version of Magento :1.9.0.1
I do not experience any particular problem on local (using Mamp). But on my production server my cart page (beginning of the checkout process) is always empty no matter the number of items i try to add inside my cart.
I tried lots of different solution posted on many websites but nothing seems to solve it (since this is working on local it might be a server configuration problem).
Any suggestion ?
Thank you
(Ps: English is not my main language so i'm sorry for the poor syntaxe).
Are you able to login to the site?
Just check in the backend. System->Configuration->Web->Session cookie management
Whether there is a wrong value set for cookie domain
I finally found the answer. The problem was related to a theme template module. I remove the module and it's working now.
Ty

Issue with Redis removing Breadcrumbs Magento

Hello stackoverflow community.
I'm been handed over a site that uses Redis, however i've not done much work with it before. It seems that for some reason it is removing breadcrumbs from the product view. As soon as a flush Redis they reappear for a while then disappear again.
Does anyone know of an issue with Redis with regards to breadcrumbs or does anyone know of an affective way to hole punch the breadcrumbs so they aren't cached ?
Thanks in advance for any advice.

how to install apc cache for magento

I am new in magento and i had created 1 magento website.i want to setup APC cache for my magento website.
My hosting provider installed apc catch in server,i check using php_info().now i want to setup that in my magento website.
I read somany blog and forum but did not get proper solution.
Still i don't nor from where i can start.
Can you please help me and give me 100 % solution for that.
Please please give me proper solution from starting to end.
Thanks in advance
To set-up APC in magento, you need to install php_apc.dll to your extension directory, and then need to do setting to php.ini files, after then need define in local.xml file for APC calling.
Please follow below few links which will help you.
http://www.magentocommerce.com/boards/viewthread/8937/P0/
http://www.aitoc.com/en/blog/apc_speeds_up_Magento.html
http://magebase.com/magento-tutorials/speeding-up-magento-with-apc-or-memcached/
http://www.magecorner.com/magento-apc-cache/

Magento User Sessions Being Mixed Up

I was wondering if anyone could help me with the following issue. On our Magento site, enterprise version 1.10.1.1, a user may log in, and it will say another person's name. Then, if you click on another link, it might go back to your name. The user sessions are clearly being confused. Apparently, this is a full-page caching problem, because our full page cache is often invalidated and, if we turn it off, the user sessions no longer mix up. However, turning it off considerably slows down the site. Switching the sessions from db storage to file storage (and vice versa) did not fix the issue. Does anyone know what the problem could be or how to solve it?
Thanks very much,
Brenda
You should check with Magento for a patch. I had a similar problem with Gift Certificate field info getting mixed up between sessions. They provided a patch that resolved the problem.
In the header.phtml file you should use this to print the user name
<?php echo $this->getChildHtml('welcome') ?>
Then, you can override the block 'Mage_Page_Block_Html_Welcome' if you wanna customize your message.
this happens when you use "Full Page Cache" because by default, magento exclude some blocks of the full page cache, and the block 'welcome' is one of they. if you are using customization code and message, the user name will be cached too, and other users will see different user names in this section.
it can be dependence on the cache issue. Try to turn cache off (go to admin, system, cache management and disable all cache).
If issue gone - you need to check cache configuration. If not - you have really session issue.
BTW, where you store sessions (files or DB or memcached?)
I found the cause related to Enterprise_PageCache_Model_Processor_Default class, my way is disable it in config.xml, edit src\app\code\core\Enterprise\PageCache\etc\config.xml:
<requests>
<!-- <cms>enterprise_pagecache/processor_default</cms>-->
</requests>
This problem was probably caused by Magento not being able to set proper session parameters if it was behind a reverse proxy cache like Varnish (I bet it was the case). Whenever using an intermediate caché system you have to make sure you are using the apropiate module in Apache to forward the X_FORWARDED_FOR http header to Magento like mod_rpaf, otherwise Magento will see al requests coming from the same IP and it will not be able to determine correct session isolation as it will think all requests come from the same client.

Resources