expatstudios
Forum Replies Created
-
Yes, my code is identical to that. Unfortunately, it’s the advanced-cache.php in the wp-content folder that’s giving me the problems. I tried deleting the one in the /plugins/wp-super-cache and it did nothing.
I am not very familiar with error logs. On my shared server, @bluehost, I choose the one errorlog function I see and refresh it just after I get a 500 error for the first time. However, nothing is showing up on the log that I see refering to my ip address.
I just found an advanced-cache.php file in the plugin/wp-super-cache folder. Should the path in the wp-config.php point to this one, or to the advanced-cache.php in the wp-content folder?
This is from the plugin’s FAQ:
18.The error message, “WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed!” appears at the end of every page. Open the file wp-content/advanced-cache.php in your favourite editor. Is the path to wp-cache-phase1.php correct? This file will normally be in wp-content/plugins/wp-super-cache/. If it is not correct the caching engine will not load.
There is no path in the advanced-cache.php. Should there be one here? (Back to OP problem).
Ok, so I placed // at the beginning of each line starting from the top and may have something. Dashboard loaded up again after placing // at the beginning of this line:
“} elseif ( !include_once( WPCACHEHOME . ‘wp-cache-phase1.php’ ) ) {”
Well, at a quick glance, my advanced-cache.php appears identical to the one the OP posted. The only thing I think I need in the wp-config.php is: define( ‘WP_CACHE’, true );, if I’ve read correctly.
I did try creating an .htacess file in the /wp-content/cache directory (there wasn’t one generated automatically, should there have been?) and pasting some code in there (read it somewhere in plugin’s support), but that didn’t work so I deleted it. I have never touched the wp-root .htaccess file.
I haven’t tried changing permissions yet, but don’t think they’re the problem.
I am having the same problem. I am new to WordPress and have been troubleshooting this problem for a few days now, but mine maybe slightly different.
I can install the plugin and activate it. I get the above error message, use Hieu’s method to edit the wp-config.php file, then the error message goes away.
However, when I try to enable the plugin, it starts to generate an advanced-cache.php file, which it should do, but then my Dashboard, NOT site, gets a Http 500 error. If I delete the advanced-cache.php file, Dashboard will reload. Then, whenever another advanced-cache.php file is created, http 500 all over again. Whenever the file is created Dashboard crashes.
I have tried deactivating the plugin and reactivating it completely using the 3 step method outlined on the plugin homepage. This does not work. W3 Total Cache produces the same results.
Any idea?