• I am writing this to give everyone a heads up. WP-SUPER-CACHE does NOT, I repeat, DOES NOT WORK with verson 2.7. Sometime during the development stages of 2.7. WP-Super-Cache stopped functioning. I notified the author, and he WANTED ME to “Debug” the bloody thing. Which is impossible, because for starters, I know zero about debugging or programming, not to mention, I am on shared hosting and have no access to Apache logs. My Blog is on site5.com’s servers, which piggy back on The Planet’s servers.

    It just will not cache pages, like it was doing. It will install, but if you turn it on, it does not cache at all. it changes your .htaccess like it is supposed to, But no cache at all. I even tried turning off compression the numbers stay at zero.

    Just letting everyone know, before the heartache begins.

    -Pat

Viewing 6 replies - 46 through 51 (of 51 total)
  • Donncha, here’s what my htaccess file looked like while the error was occurring, if it’s any help:

    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>

    # END WPSuperCache

    Ah…! Remembered I can get at my error_log file – here’s the errors WP-Supercache threw in WP 2.7 after I updated the plug in:

    [09-Jan-2009 10:12:27] PHP Warning: include(/home1/cualumor/public_html/wp-content/plugins/wp-super-cache 2/wp-cache-base.php) [function.include]: failed to open stream: No such file or directory in /home1/cualumor/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 48
    [09-Jan-2009 10:12:27] PHP Warning: include() [function.include]: Failed opening ‘/home1/cualumor/public_html/wp-content/plugins/wp-super-cache 2/wp-cache-base.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php:/home1/cualumor/public_html/wp-content/plugins/simpleflickr/phpFlickr/PEAR’) in /home1/cualumor/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 48

    Actually, now that I look a bit closer. The plugin isn’t working. After logging out I load the page and get

    <!– Dynamic Page Served (once) in 0.986 seconds –>
    <!– Cached page generated by WP-Super-Cache on 2009-01-09 17:51:50 –>

    Then loading the same page again I get

    <!– Dynamic Page Served (once) in 0.996 seconds –>
    <!– Cached page generated by WP-Super-Cache on 2009-01-09 17:55:03 –>

    When I believe it should be saying “Cached page served by WP-Super-Cache” as per this other thread http://wordpress.org/support/topic/191683

    I have the shiney new 0.8.7 and WP 2.7.

    I have yet to see an actual apology here from Paleo Pat. If you’re going to pull the “man up” card, you should at least have the decency to say “I’m sorry” and possibly, “I’m a stupid, reactionary blowhard, and you’re more of a man than me to put up with my childish bullshit.” Feel free to cut and paste.

    hello can anyone help
    i am trying to create this file but dont know where to start can anyone help please.

    Thanks H
    newb

    wp-content/cache does not exist

    Hello all,

    Looking for a little guidance on creating a cache. Originally, I was attempting to activate my wp stats through my dashboard. However, I was receiving this message:

    wp-content/cache does not exist: please make sure that the “wp-content/cache” directory is created.

    I downloaded and installed the Super Cache plug-in and received this message:

    WP Super Cache Manager
    Warning! /home/trhou2/public_html/blog/wp-content/advanced-cache.php does not exist or cannot be updated.

    * 1. If it already exists please delete the file first.
    * 2. Make /home/trhou2/public_html/blog/wp-content writable using the chmod command through your ftp or server software. (chmod 777 /home/trhou2/public_html/blog/wp-content) and refresh this page. This is only a temporary measure and you’ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)
    * 3. Refresh this page to update /home/trhou2/public_html/blog/wp-content/advanced-cache.php

    If that doesn’t work, make sure the file /home/trhou2/public_html/blog/wp-content/advanced-cache.php doesn’t exist:

    1. Open /home/trhou2/public_html/blog/wp-content/plugins/wp-super-cache/advanced-cache.php in a text editor.
    2. Change the text CACHEHOME to /home/trhou2/public_html/blog/wp-content/plugins/wp-super-cache/
    3. Save the file and copy it to /home/trhou2/public_html/blog/wp-content/advanced-cache.php and refresh this page.
    Cannot continue… fix previous problems and retry.

    I walked through the steps, making sure I had the right permissions set, etc. Here is the code for the advanced-cache.php

    <?php
    # WP SUPER CACHE 0.8.9.1
    function wpcache_broken_message() {
    if ( false == strpos( $_SERVER[ ‘REQUEST_URI’ ], ‘wp-admin’ ) )
    echo “<!– WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! –>”;
    }

    if ( !include_once( ‘CACHEHOME’ . ‘wp-cache-phase1.php’ ) ) {
    if ( !@is_file( ‘CACHEHOME’ . ‘wp-cache-phase1.php’ ) )
    register_shutdown_function( ‘wpcache_broken_message’ );
    }
    ?>

    Any ideas how to fix my broken super cache? I welcome any and all ideas. Thank you for your time. I certainly appreciate it.

Viewing 6 replies - 46 through 51 (of 51 total)
  • The topic ‘[Plugin: WP Super Cache] WP-Super-Cache DOES NOT work with 2.7!’ is closed to new replies.