sampsonzak Posted January 4, 2023 Share Posted January 4, 2023 Hi, going through my testing server, upgrading from PHP 7.1, PrestaShop 1.7.2 -> PHP 7.4, PrestaShop 1.7.7.8 All upgraded fine, modules working, site working fine, everything is working as expected, other than saving/modfying in the admin panel. I have cleared cache many times, deleted all cookies/storage from browser, tried incognito browser, and the exact same problem; When updating tracking numbers / saving notes on customers, I get this error: Invalid token: direct access to this link may lead to a potential security breach. I click ' I understand', and it does nothing. Just reloads the page but what I saved, did not save What could be causing this please? How can I debug or troubleshoot this? Please help!! Thank you Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 4, 2023 Share Posted January 4, 2023 Try those solutions Link to comment Share on other sites More sharing options...
sampsonzak Posted January 4, 2023 Author Share Posted January 4, 2023 2 minutes ago, ComGrafPL said: Try those solutions Thank you! I disabled "VARNISH" service in Cloudways and it's working now. I've run into another problem (unrelated by the looks of it), cannot edit any of my products, the textboxes have disappeared, and I receive this error in the console: VM2044:2 Uncaught Error: Could not find control by type: button at Object.create (<anonymous>:2:358886) at Array.<anonymous> (theme.min.js:1:988) at jt (<anonymous>:2:29356) at t (theme.min.js:1:97) at t (theme.min.js:1:1124) at a (theme.min.js:1:4372) at l.renderUI (theme.min.js:1:6206) at _w (<anonymous>:2:331185) at Aw (<anonymous>:2:332241) at tN.<anonymous> (<anonymous>:2:333551) Link to comment Share on other sites More sharing options...
sampsonzak Posted January 4, 2023 Author Share Posted January 4, 2023 Nevermind, I found on Google this was due to browser cache, even though I have refreshed it multiple times, it works fine on Incognito, so I am happy it now works. 1 Link to comment Share on other sites More sharing options...
sampsonzak Posted January 4, 2023 Author Share Posted January 4, 2023 Is it recommended for "VARNISH" to always be disabled? Or should I have PURGED it instead? Does PrestaShop recommend to use the PHP / service "VARNISH" ? Or should I keep this disabled with my PrestaShop install? Thank you Link to comment Share on other sites More sharing options...
tuhingr Posted November 23, 2023 Share Posted November 23, 2023 On 1/5/2023 at 1:28 AM, sampsonzak said: Nevermind, I found on Google this was due to browser cache, even though I have refreshed it multiple times, it works fine on Incognito, so I am happy it now works. Its working for me, thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now