I see exactly the same behaviour i.e. "static" directory structure not recreated after it is removed manually - are there some SQL entries that need to be "flushed" to allow the cache to tbe recreated?
I have made the fixes to makestaticcache.php and cache.php and tried to recreate the cache using makestaticcache (with and without -f) and the admin interface to no avail.
Geraint
<b>SUBSEQUENT EDIT OF THIS POST</b> I have now found my problem - in staticcache.ini he hostname is not actually the hostname but the value such that "http://$hostname$dir$url" makes a sensible ezalias request (NB $dir=siteaccess name and $url is the CachedURLArray entry). A little clarification in the staticcache.ini file may be helpful.
(If you forget to change the hostname entry in the staticcache.ini.append you will get an heartattack after running the the makestaticcache.php on the server ... You will see HTML-pages with "Host not found and can bought on sedo.de" content ... :)
Vice versa its the same problem. If you don't change the hostname on your local machine, you won't see any changes you made at your developer machine because ez is getting the page from the host which is defined in the ini-file ...
Another problem could be: Do you use 1 staticcache.ini.append in your override directory - or one by siteaccess? Maybe one staticcache.ini.append has different settings?
Thanks for your answer. The host name was the problem, it's now fixed. Now i have another problem with the static cache, one of that wich produces heartattacks.
I was testing static cache in one part of the site and only for a few languages. It worked fine. The problem now is that certain parts of the site, like the homepage, sometimes are not cached right or get corrupted.
Sometimes i see only tables and no content, cometimes i lost navigation... and only for the pages where i'm using static cache.
And the worst of all is that after deleting static cache the problem is still there, looks like tpl-blocks where corrupted.
I'm sure it's static cache causing the problem, i disabled it this morning and the problem has gone and it never happened before.
I have all the static cache configuration in the siteaccess, only cached siteaccess is in settings/override.
Any idea? Thanks
You must be logged in to post messages in this topic!