szepeviktor / w3-total-cache-fixed

A community driven build of W3 Total Cache. The aim is to continuously incorporate fixes, improvements, and enhancements over the official WordPress release of W3 Total Cache.
https://github.com/szepeviktor/w3-total-cache-fixed/releases
MIT License
237 stars 47 forks source link

Activation of plugin fails #534

Open gnanet opened 7 years ago

gnanet commented 7 years ago

The most interesting thing happened: after removing wp-content/w3tc-config/master.php the plugin is instantly activated, without any extra step, but i assume the setting are then gone

The activation seem to fail, on the first try, the plugin looks activated, until the 3 drop-in plugins are copied over, but, after that trying to visin any of the polugins pages result in an asscess denied error, also the plugin is listed again as not active.

tests trying to produce any usable debug, or to get any php error, or php fatal seem not to work, as you can see below from the debug.log

gnanet commented 7 years ago

Have tried a diff of a default master.php and my, changed the true/flase notations: : "0" to false : "1" to true

copied my settings back, they semm to work for 1-2 steps, but wanted to be sure, done a deactivate and then an activate , and the plugin again not active

the settings cause the issue but how and why?

gnanet commented 7 years ago

Workaround that seems to overcome the above:

gnanet commented 7 years ago

I done a diff of the master.php i had before, and the settings that got generated after import of the JSON backup, and its available here: gist of the diff