• Resolved sailpilot

    (@sailpilot)


    Just did an auto update to the latest version of wp-super-cache and got the following errors:

    Warning: include(/mywebsite/wp-content/plugins/wp-super-cache.0.8.5/wp-cache-base.php) [function.include]: failed to open stream: No such file or directory in /mywebsite/wp-content/plugins/wp-super-cache/wp-cache.php on line 48

    Warning: include() [function.include]: Failed opening ‘/mywebsite/wp-content/plugins/wp-super-cache.0.8.5/wp-cache-base.php’ for inclusion (include_path=’.:/usr/local/php5/lib/php’) in /mywebsite/wp-content/plugins/wp-super-cache/wp-cache.php on line 48

    what directory is missing here??

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter sailpilot

    (@sailpilot)

    I should have added that I am running WP 2.6.3 on godaddy shared server and the super cache update was to 0.8.6

    The previous version installed without a problem.

    Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Delete all the files for WP Super Cache and then reupload the new version by hand (FTP). Then click activate.
    It also goes without saying that you should be making backups prior to upgrading or installing any plugin.

    Thread Starter sailpilot

    (@sailpilot)

    thanks that seems to have worked.

    I got the following:

    Warning: include(C:\domains\rnrcarstens.com\wwwroot/wp-contentC:/domains/rnrcarstens.com/wwwroot/wp-content/plugins/wp-super-cache/wp-cache-base.php) [function.include]: failed to open stream: Invalid argument in C:\domains\rnrcarstens.com\wwwroot\wp-content\plugins\wp-super-cache\wp-cache.php on line 49

    It happens on EVERY page I load AFTER I hit the WP Super Cache setting page (I assume thats when it creates the settings files). I’m running the most current version out today of WordPress 2.7.1.

    I installed these files by hand (ftp), and activation works without a problem. When trying to turn on the cache, it never creates any pages forcing me to remove the plug-in completely… Any ideas? To me it looks like the formating of the include is not functioning properly?

    I was correct, for some reason its picking up 2 sets of the URL in WordPress 2.7.1, I have called it my directory manually and fixed the problem.

    Changed line 48 FROM
    include(WPCACHEHOME . 'wp-cache-base.php');

    New Line 48 (customize based on your directory)
    include('C:/domains/rnrcarstens.com/wwwroot/wp-content/plugins/wp-super-cache/' . 'wp-cache-base.php');

    Still testing to see what else is broken by this problem, may end up changing the “DEFINE” mechanism to fix this error globally.

    Lol, what a joke, ok after turning on cache plugin page displays this:

    Warning: require_once(C:\domains\rnrcarstens.com\wwwroot/wp-contentC:/domains/rnrcarstens.com/wwwroot/wp-content/plugins/wp-super-cache/wp-cache-phase2.php) [function.require-once]: failed to open stream: Invalid argument in C:\domains\rnrcarstens.com\wwwroot\wp-content\plugins\wp-super-cache\wp-cache-phase1.php on line 100

    Fatal error: require_once() [function.require]: Failed opening required ‘C:\domains\rnrcarstens.com\wwwroot/wp-contentC:/domains/rnrcarstens.com/wwwroot/wp-content/plugins/wp-super-cache/wp-cache-phase2.php’ (include_path=’.;C:\php5\pear’) in C:\domains\rnrcarstens.com\wwwroot\wp-content\plugins\wp-super-cache\wp-cache-phase1.php on line 100

    I’ll debug error and let you know what I find.

    So it breaks its own configuration file, as you can see my wp-cache-config.php file was created by the plugin that defines the following

    define( ‘WPCACHEHOME’, WP_CONTENT_DIR . “C:/domains/rnrcarstens.com/wwwroot/wp-content/plugins/wp-super-cache/” ); //Added by WP-Cache Manager

    I fixed this manually which created no errors FINALLY. However, after logging out and browsing pages, I still get the following:

    Cache Contents
    WP-Cache
    0 Cached Pages
    0 Expired Pages
    Expired files are files older than 3600 seconds. They are still used by the plugin and are deleted periodically.

    I quit, maybe someday this plugin will be closer to usable. God forbid somebody who doesn’t know php try to use this. Basic users STAY AWAY!

    Seth – it works fine for thousands of users. Try the dev version. That bug was fixed recently and only happens on Windows servers which are a minority when it comes to hosting WordPress blogs.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WP Super Cache] latest WP cache plugin update fails’ is closed to new replies.