[Resolved] [Plugin: WP Super Cache] Super Cache and custom SVN installs of WP
I have been a happy user of WP-Super-Cache for a long time and I really appreciate the work that has gone into developing it. I have a query which is a little unusual and applies to a particular type of install.
I like to manage software with SVN when I can so I looked around for some solutions on the best way to use WordPress via SVN. I came across this guide by Sam Bauers. http://unlettered.files.wordpress.com/2008/08/wp-plus-subversion.pdf He used it at a presentation he gave at WordCamp San Francisco.
In brief my install looks like this from the website’s root:
Nov 3 16:32 . Oct 23 17:41 .. Oct 12 17:38 favicon.ico Oct 12 17:38 favicon.jpg Oct 13 22:53 .htaccess Oct 12 17:48 .svn/ Oct 15 18:07 .tmp/ Oct 12 17:53 wordpress/ Oct 23 04:03 wordpress-content/ Oct 13 22:48 wp-config.php
Inside the “wordpress” folder is an SVN copy of the latest stable version in the 2.6.x branch. Inside the wordpress-content folder is all the directories that you would normally find. I have however symlinked the default theme and also the akismet plugin to make sure it is up to date with the SVN.
In my wp-config.php file I have set the following:
define('WP_CONTENT_DIR', dirname(ABSPATH) . '/wordpress-content'); define('WP_CONTENT_URL', 'http://www.mellowspace.com/wordpress-content');
In my settings of WordPress I have set the appropriate WordPress Address and Blog Address. It all works fine and I followed the guide completely.
After following the guide I successfully managed to install and activate my plugins. That was until I got to Super Cache. WordPress can see the plugin successfully and has no errors display. However when I attempt to “activate” the cache, the settings menu for WP-Super-Cache loads a page of white below the normal backend header. Thereafter any page I attempt to load is blank either frontend or backend. http://img300.imageshack.us/my.php?image=wordpresssupercacheerroxu9.jpg
When I check the wordpress-content directory I can see the following:
Nov 3 16:42 . Nov 3 16:32 .. Nov 3 16:42 advanced-cache.php -> (hidden)/mellowspace.com/wordpress-content/plugins/wp-super-cache/wp-cache-phase1.php Oct 23 04:00 plugins/ Oct 12 18:15 themes/ Oct 23 04:00 upgrade/ Oct 13 18:43 uploads/ Nov 3 16:42 wp-cache-config.php
I assume this issue is due to perhaps the wp-content directory being hardcoded in the plugin? I am really not sure and any help pointing me in the right direction would be appreciated.
WP-Super-Cache version: 0.8.4
- The topic ‘[Resolved] [Plugin: WP Super Cache] Super Cache and custom SVN installs of WP’ is closed to new replies.