Support » Plugin: WP Super Cache » 1.5.4 Breaks cache save permissions

  • Once we updated to V 1.5.4 an error message was displayed at /wp-admin/options-general.php?page=wpsupercache. It said

    Fehler: Dein Cache-Verzeichnis (/) oder / muss beschreibbar sein, damit das Plugin funktioniert. Doppelt überprüfen.

    Geht nicht weiter… vorausgegangene Probleme beheben und noch einmal versuchen.

    What means

    Error: Your Cache directory (/) or / muss be writable so the plugin can work.

    Since we did not change any settings on our side, nor permissions to the plugin nor wordpress files, we have no idear where this error comes from. But the hint to the directory (/) or / is a bit scary. Does WP Super Cache think its WPCACHEHOME is root? Well its correctly set in the wp-config.php

    What we did next:

    • Update WP Super Cache to V 1.5.5 -> still does not work
    • Remove WP Super Cache and install WP Super Cache V 1.5.3 -> Works again (settings are gone, but we got a working cache again yay!)

    We would apreciate if you take a look at this problem. Until the new update is rolling out we won’t update to the current version. Then we might take another try, having our fallback in mind, just in case.

    Nethertheless, thanks guys for that incredible free Plugin!

    • This topic was modified 1 year, 6 months ago by  valex0.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Donncha O Caoimh

    (@donncha)

    Your cache directory is “/” ? It should be …./wp-content/cache/ – I think it’s the extra security measures in the latest releases kicking in.

    Can you check $cache_path in wp-content/wp-cache-config.php please? That should point at the real cache directory.

    Hi Donncha!

    I have the same problem after the update, the plugin deactivated itself, and when I try to activate it, then I got the following message:

    “Error: Your cache directory () did not exist and couldn’t be created by the web server. Check permissions.
    Cannot continue… fix previous problems and retry.”

    I checked the wp-content/wp-cache-config.php and it is empty.

    Moderator t-p

    (@t-p)

    Side note to @peterszky,

    please do not jump into other topics. If the troubleshooting already posted made no difference for you, then, as per the Forum Welcome, please post your own topic.

    Hey @t-p, thanks for the hint, but i think this topic is already in the plugins forum. At least its mentioned there.

    1.5.4 Breaks cache save permissions
    Started by: valex0

    @donncha i checked my wp-content/wp-cache-config.php and it says $cache_path = WP_CONTENT_DIR . '/cache/';

    Some lines later: $wp_cache_plugins_dir = WPCACHEHOME . 'plugins';
    in wp-config.php: define( 'WPCACHEHOME', '/path/to/wordpress/wp-content/plugins/wp-super-cache/' );

    Moderator t-p

    (@t-p)

    think this topic is already in the plugins forum. At least its mentioned there

    Yes, it’s in the right forum 🙂

    Hi,

    We have the same problem. After a few hours the wp-cache-config file gets corrupted. As a result the file cant be read and the default error-message is presented (permissions).

    When we overwrite the file with an old backup, it works again.

    I also think it’s since v1.5.4 and has something to do with the function wpsc_timestamp_cache_update (wpsc_last_post_update). Because of this the config-file gets updated a lot?

    We use multisite and maybe this last_post_update only works when you’re caching one blog?

    @donncha could the suggested function be the problem? I see a lot of similar forum threads the last weeks. You must be busy, but hopefully you can also reply with some info on caching multisite installations and the wpsc_last_post_update? If needed I can help with debugging or something…

    PS: I have commented out wpsc_timestamp_cache_update and now the config file doesnt get corrupted anymore.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘1.5.4 Breaks cache save permissions’ is closed to new replies.