Results 1 to 3 of 3
-
21st Oct 2012, 11:39 PM #1OPMember
any tutorial to install wp super cache on wordpress using nginx?
i always get errors someone could help? thanks
bachbell Reviewed by bachbell on . any tutorial to install wp super cache on wordpress using nginx? i always get errors someone could help? thanks :( Rating: 5
-
22nd Oct 2012, 12:16 AM #2
-
22nd Oct 2012, 12:52 AM #3OPMemberPHP Code:
Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.
Please edit /var/www/9.com/wp-content/advanced-cache.php and make sure the path to /var/www/*****/wp-content/plugins/wp-super-cache/wp-cache-phase1.php is correct.
PHP Code:<?php
# WP SUPER CACHE 1.2
function wpcache_broken_message() {
if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) )
echo "<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->";
}
if ( false == defined( 'WPCACHEHOME' ) ) {
define( 'ADVANCEDCACHEPROBLEM', 1 );
} elseif ( !include_once( WPCACHEHOME . 'wp-cache-phase1.php' ) ) {
if ( !@is_file( WPCACHEHOME . 'wp-cache-phase1.php' ) ) {
define( 'ADVANCEDCACHEPROBLEM', 1 );
}
}
if ( defined( 'ADVANCEDCACHEPROBLEM' ) )
register_shutdown_function( 'wpcache_broken_message' );
?>
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
video tutorial: nginx - the perfect wordpress setup
By loeken in forum Tutorials and GuidesReplies: 2Last Post: 28th Aug 2012, 02:09 PM -
wp super cache VS w3 total cache
By kokosko in forum Webmaster DiscussionReplies: 1Last Post: 21st Dec 2011, 07:44 PM -
W3 Total (disk page cache) and Nginx
By masterb56 in forum Server ManagementReplies: 2Last Post: 12th Jul 2011, 01:15 PM -
Wp Super Cache
By skinner in forum Web Application/Script SupportReplies: 8Last Post: 25th Feb 2011, 07:02 PM -
[Wordpress] WP Super Cache or W3 Total Cache ?
By Rocke in forum Polling PlazaReplies: 13Last Post: 13th Dec 2010, 06:00 PM
themaPoster - post to forums and...
Version 5.23 released. Open older version (or...