webelis Posted April 21, 2013 Share Posted April 21, 2013 Hey there, fresh new install of ps 1.5.4 and very basic config. PHP Version 5.3.3-7+squeeze15 Everything's fine in front end. On the back end / back office / Admin, every change made to a product, or manipulating product (cloning, adding etc) are note reflected on display. When clicking "save" for example, the page reload but the page displayed don't reflect the change. But if i hit F5 to force page reload, everything is fine. I got to do this on every page. I've obviously disabled every single cache setting. Is there a dedicated cache for admin ? would you have some direction to point me to ? Thank you very much Philippe. Link to comment Share on other sites More sharing options...
Whispar1 Posted April 21, 2013 Share Posted April 21, 2013 Not sure if this is your issue but I had a similar issue but only when running admin functions in chrome or firefox. I did NOT see the same behavior in IE8. My fix was an error in my .htaccess file. I had an expires directive (in red below) that was catching everything. I deleted it and all was good. <IfModule mod_expires.c> # Enable expirations ExpiresActive On # Default directive ExpiresDefault "access plus 1 month" 1 Link to comment Share on other sites More sharing options...
the.rampage.rado Posted April 22, 2013 Share Posted April 22, 2013 (edited) I had the same problem with my installation - PS is not working well with it's default expires directives use those I'll paste here and you'll have no problem: (notice also that if your customer logs in FO and then refresh the page (like klik on logo or product image) PS will serve the old version (so he/she will see he/she is not logged) thus effectively loosing you money. Disable 'optimise apache' delete the junk from your actual .htaccess and paste this after the 'keeping' line so it won't be overwritten if you make changes in SEO URLs, etc: # Turn on Expires and set default to 0 ExpiresActive On ExpiresDefault A0 # Set up caching on media files for 1 year (forever?) <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$"> ExpiresDefault A29030400 Header append Cache-Control "public" </FilesMatch> # Set up caching on media files for 1 week <FilesMatch "\.(gif|jpg|jpeg|png|swf)$"> ExpiresDefault A604800 Header append Cache-Control "public" </FilesMatch> # Set up 2 Hour caching on commonly updated files <FilesMatch "\.(xml|txt|html|js|css)$"> ExpiresDefault A604800 Header append Cache-Control "proxy-revalidate" </FilesMatch> # Force no caching for dynamic files <FilesMatch "\.(php|cgi|pl|htm)$"> ExpiresActive Off Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform" Header set Pragma "no-cache" </FilesMatch> Edited April 22, 2013 by the.rampage.rado (see edit history) 2 Link to comment Share on other sites More sharing options...
webelis Posted April 22, 2013 Author Share Posted April 22, 2013 Thank you guys for pointing me in the right direction. @The.Rampage : these directives cause a 500 error. I'll check this with my host, I guess my pb has something to do with the setup (I run on a dedicated server) I'll get back here as soon as the pb is fixed. Cheers ! Link to comment Share on other sites More sharing options...
dya007 Posted December 3, 2014 Share Posted December 3, 2014 Hi! Has enyone a solution for this problem? It' happened to me for a few days and it's annoying. I had to refresh every page for see new orders, new carts, product page viewed, etc. I have prestashop 1.5.4.1. Thanks. Link to comment Share on other sites More sharing options...
dya007 Posted December 7, 2014 Share Posted December 7, 2014 Please, any idea? Thank you. Link to comment Share on other sites More sharing options...
vorisekmartin Posted January 27, 2015 Share Posted January 27, 2015 Hi guys, I have the same problem as you do. Have you solve this problem permanently? Is it something with hosting? Thanks a lot for your answer. Link to comment Share on other sites More sharing options...
veltors Posted January 6, 2016 Share Posted January 6, 2016 i have 1.6.1.3 and i have got same problem. after the save button the page is not completing the job. Need to refresh the page. on chrome 500 error. any solution for this please? to disable mod_security on your apache server is solving this problem or? Link to comment Share on other sites More sharing options...
ricardo21ferreira Posted August 3, 2017 Share Posted August 3, 2017 this solved my problem. try this: classes/controller/AdminController.php look for function initHeader() add this: $this->context->smarty->force_compile = true; before closing the function. Link to comment Share on other sites More sharing options...
Recommended Posts