On 9/28/2015 at 12:38 PM, IeM said:Hi,
Whenever I do ANYTHING in the 1.6.0.10 Prestashop Multistore Admin the page has to be refreshed at least once before I start otherwise I will save old data.
For example if I want to change stores in admin I have to:
- Select the new store: page loads but showing old store
- Refresh the page: Page loads still showing old store
- Reselect the new store again: If lucky the new store will load, otherwise continue again from step 1
Another example:
You go to edit a CMS page that has been modified some time before. If you do not remember to refresh the page after it loads BEFORE adding any new content, you will end up adding new content to the content before the last modification. So the current data does not load when you first go to the page.
This also happens when modifying product details and for just about anything if not everything.
As a result if you do not constantly refresh on every page nearly every step of the way, you end up with corrupted data without even knowing it.
It is such a dangerous pain. In time I hope to afford to put on an admin person but there is no way in the world could you have someone else working in the backend as it is way to easy to screw it all up and very slow to do simple things like changing stores. It can take about 3minuts sometimes to manage a change in store.
Cache is off.
Any ideas?
I solved this issue by restricting the admin area and ajax requests from caching in htaccess. Try adding the following to your .htaccess and replace "/admin" with the actual admin folder name:
<IfModule mod_headers.c>
# Exclude admin area from caching
# Don't cache admin pages
<If "%{REQUEST_URI} =~ m#^/admin#">
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0
</If>
# Don't cache AJAX calls
<If "%{REQUEST_URI} =~ m#ajax#">
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0
</If>
</IfModule>