Support » Plugin: W3 Total Cache » A tale of two upgrades

  • Resolved Joost


    Well, al sorts of mayhem happened after I upgraded (via

    Normally I do not upgrade so hastily after an upgrade of a core plugin, but the fixed vulnerabilities made me decide otherwise.

    Things I encountered:
    – Warnings about file permissions. In it was impossible to make those disappear, fixed that.
    – A lot of proposed additions to .htaccess (in different folders)
    – Minify breaking
    – Not possible to save anything anymore. It just did not remember the settings.
    – The site started to behave strange, other applications on the server started to go nuts as well. This seemed to be database related.

    In the end I decided for an (almost) complete reinstall, with me manually removing the directories and files in the root of the wp-content/ dir. I did not clean the database.

    After that, the reinstall went smooth and things went back to normal, but after a few minutes the database problems started to appear again.

    In the end, that was caused by W3tc filling up the /tmp folder, which explained the database problems (as mysql also uses it). I cleaned it, and after that everything was running smoothly again, except for the minification of js. Those files are created on disk, but the links that are created in the html give a 404.

    If I can avoid it I will not upgrade so soon anymore. But I felt forced to do it because of the security fixes.

    Maybe, Frederic, in the future you could separate the bare essentials to fix the vulnerabilities from the extra functionality. Although in this case, just fixing the security issues probably also was a major overhaul.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I can’t find the /tmp directory. Could you please provide a path?

    Yes, the path is /tmp.

    It is a directory that can be used to store temporary data. It is used not only by wordpress, but also by php (the scripting language used by wordpress) and mysql.

    It is outside the wordpress or plugin directories.

    I’ve got the same problem – after upgrading W3TC my /tmp folder is getting absolutely hammered with files obviously created by W3TC.

    I assume this is something left in the release by accident as it looks like some sort of debug data?

    Plugin Author Frederick Townes


    No, it’s a misbehavior in working around limitations / issues with the WP FileSystem API that was used as a recommendation by the WP core development team. The issue is fixed in the next release.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A tale of two upgrades’ is closed to new replies.