Using EE2 since 2010 whitout problems. Started testing with EE3 (3.4.4) few weeks ago. Having this problem in CP with very basic channels:
Create new entry > save > webpage shows entry online
Edit entry > save > reload webpage > entry = updated
Edit entry again > save: the entry is saved correctly (as i can see in the reloaded webpage) but the control pannel doesn’t show the last changes. I can go on and go on like that, changes are saved in the database but CP keeps showing the older version (after 1ste changes).
When I stop trying, after 15 minutes or so CP loads correct content. I have been testing with cache settings in EE CP and different browsers but no cure. Same problem with editing templates, changes are there in the live site but - starting from the 2nd edit - it takes a while before you see the changes in the CP.
So I’m not a programmer but under Debugging Output I enabled debugging and Log alerts and in CP - at the moment when changes are not showing - I have this message for /cp/publish/edit/entry/7: No $_POST variables found.
Any idea how I can fix this? Many thanks!
Hey vanerik! That info in the debugging just lets you know that the page you are looking at doesn’t have any POST request variables, which is normal on form load.
It sounds like you are saying that content looks as if it’s cached in the control panel but not the front end? If so, I would suggest trying from another computer on a different network (for instance, your phone over a cell data carrier), as it sounds like your network may be caching data and not displaying content in realtime.
If that doesn’t help, can you share who your host is, what version of PHP, and what add-ons you are running?
Thanks Derek for fast reply, indeed that’s exactly what’s happening, I will do the test with other computer/network, meanwhile some info about the host mijndomein.nl:
Apache 2.4.10 PHP 5.6.24 MySQL 5.5.38 Perl 5.20.2
http://phpinfo.mijndomeintje.com/
Varnish cashing: https://helpdesk.mijndomein.nl/hc/nl/articles/211739585-Varnish-caching
Add-ons: Rich Text Editor Third party Add-ons: Channel Images and SEO Lite.
Looks like its working by adding this on the bottom of htacces:
<Files admin.php>
FileETag None
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</Files>
I will check this out in detail tomorrow, many thanks, Erik
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.