BigBroNLittleSis
New Member
i always get errors someone could help? thanks
You could start by posting them errors. PHP Code: \[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.
\[/code\] advance-cache.php
PHP Code: \[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' );
?>\[/code\]
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.
\[/code\] advance-cache.php
PHP Code: \[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' );
?>\[/code\]