Problem with wpo-cache/config/
-
Hello,
I have been happily using WP-Optimize on a website, say URL https://aaaa.xx. To test software changes I have a copy of the site at, say, https://bbbb.xx.
Both websites were at WPO version 3.2.3 but I recently updated the test site to version 3.2.6. Since that moment I received error messages from the Cron Deamon on the website server like:
[ERROR] : /home/account/domains/bbbb.xx/public_html/wp-content/wpo-cache/config/config-bbbb.xx.php is not present
I checked and I found that there does exist a folder
wpo-cache/config
, but it contains a fileconfig-aaaa.xx
; notconfig-bbbb.xx
. Furthermore, the contents of that file, a json-encoded text string, includes a definition"site_url":"https:\/\/aaaa.xx\/"
I think that you should not use this kind of ‘hard-coded’ site information; it is asking for trouble and most likely unnecessary.
I thought a little further about this and realized that if I would save the Cache-settings again on the “Cache > Page cache”, “Cache > Preload” and “Cache > Advanced settings” pages, the file
config-bbbb.xx
would probably be created. And, yes, that worked!However, I found that the settings in this config file for WPO 3.2.6 are somewhat different from the settings for WPO 3.2.3. Some settings have been removed and there are some new settings. Or, maybe, my Cache “save”-actions were not sufficient; I should have done something else additionally?
It seems that installing the upgrade does not update this config file automatically and I also found no information that you should do that yourself after running the upgrade (and what to do exactly!).
All this is not good.
Best regards and keep up the good work!
Henk
- The topic ‘Problem with wpo-cache/config/’ is closed to new replies.