Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I’ve been grappling with this exact issue for over a month. Have to go in and manually delete the expired files, otherwise my site doesn’t serve up super-cached pages….

    What platform are you on? Windows or Linux? And since I’m still very march in the dark on what the problem is…Did you do the symlink for advanced cache file and/or does the wp-content have the proper access? Do you get a warning on the super-cache settings page?

    Thread Starter buch0090

    (@buch0090)

    So is the problem related to the fact that I get this warning when looking at the super-cache settings page?

    Warning! \[siteroot]/wp-content is writeable!

    You should change the permissions on \[siteroot]\wp-content and make it more restrictive. Use your ftp client, or the following command to fix things:
    chmod 755 \[siteroot]\libn/wp-content/

    OR is it related to the fact that, since this is on windows, I didn’t do the symlink as described in the readme?

    3. Is there a wp-content/advanced-cache.php ? If not, then you must symlink wp-super-cache/wp-cache-phase1.php to it with this command while in the wp-content folder. (WordPress MU users should replace “plugins” with “mu-plugins”.)

    ln -s plugins/wp-super-cache/wp-cache-phase1.php advanced-cache.php

    Thread Starter buch0090

    (@buch0090)

    It seems others have this issue as well, does anyone who isn’t getting expired pages deleted have zeros for the wp-cached pages:

    WP-Cache
    0 cached pages
    0 expired pages

    It seems that that wp-cache cannot read the wp-cache files to see how many there are on the site. Going to start digging around a bit for wp-cache problems on WAMP setup.

    Thread Starter buch0090

    (@buch0090)

    Theres a category named industry. I’m thinking this issue with .htm in filenames is due to old URLs from the old website that people are still trying to access, before it was converted to wordpress.

    I added a rule in super-cache settings to not cache files ending with .htm.

    Any other ideas? Would you think these issues are mostly due to this site being on Windows? We are planning to move to Linux in the next month.

    Thread Starter buch0090

    (@buch0090)

    I commented out $use_flock and deleted the expired pages and no difference after 24 hours. Then I changed the $sem_id to a different value and still no difference. Should i be manually deleting ALL files under wp-content/cache before doing these tests or is there something else I should be trying?

    Also, I have noticed some wp-cache files with file names like this..

    wp-87FC.tmp and wp-cache-industry.htm9d80b39581e2f79bbfc4ad68cd6212ef.html

    ..could either of these cause problems?

    Thanks again in advance for any guidance/help.

    Thread Starter buch0090

    (@buch0090)

    Donncha,
    It appears the issue is somehow with the ‘wp_cache_writers_entry’ function when its called by ‘wp_cache_phase2_clean_expired’. It always returns false. (I’ve put in error log when ‘wp_cache_phase2’ is first called and then after the wp_cache_writers_entry is called in there. $mutex variable is empty.

    function wp_cache_writers_entry() {
    global $use_flock, $mutex, $cache_path, $mutex_filename;

    if( !$mutex )
    return false;

    if ($use_flock)
    flock($mutex, LOCK_EX);
    else
    sem_acquire($mutex);

    return true;
    }

    And when the prune function is called (i’m guessin thats the one that deletes super-cache) $mutex is defined like so…I’ve also installed that ‘cache cleaner’ function which has cleared out super cache files.

    Resource id #55

    Where do i go from here? Sorry this is a bit hurried, let me know if this makes no sense.

    Thanks a ton for responding.

    I had similar issue on localhost/XP setup….Did you have advanced-cache.php and wp-cache-config.php in wp-content folder? Does wp-config.php have the ‘wp-cache’ enabled? Once I manually put those files there, and enabled wp-cache, the settings page came up.

    Thread Starter buch0090

    (@buch0090)

    Correction it is WPMU 2.6.1.

Viewing 8 replies - 1 through 8 (of 8 total)