W3 Total Cache
'tmp' directory unwritable/uncreatable when upgrading to (2 posts)

  1. Gwyneth Llewelyn
    Posted 2 years ago #

    After an upgrade from to on a multisite installation with domain mapping provided by WordPress MU Domain Mapping, I got this error when logging in via a different browser (not the one used for doing the actual upgrade):

    Fatal error: Uncaught exception 'FileOperationException' with message '[path to wordpress installation]/wp-content/w3tc-config/master.php could not be created, please run following command:

    • <strong style="color: #f00;">chmod 777 [path to wordpress installation]/wp-content/cache/tmp
    • <strong style="color: #f00;">chmod 777 [path to wordpress installation]/wp-content/w3tc-config
    • ' in [path to wordpress installation]/wp-content/plugins/w3-total-cache/inc/functions/activation.php:127 Stack trace: #0 [path to wordpress installation]/wp-content/plugins/w3-total-cache/lib/W3/ConfigWriter.php(159): w3_throw_on_write_error('[path to wordpress installation]..', Array) #1 [path to wordpress installation]/wp-content/plugins/w3-total-cache/lib/W3/Config.php(71): W3_ConfigWriter->save() #2 [path to wordpress installation] in [path to wordpress installation]/wp-content/plugins/w3-total-cache/inc/functions/activation.php on line 127

    This is very easily fixed by creating the required tmp directory under /wp-content/cache/, but of course the error might scare some people off.

    Also, this version seems to "confuse" the Domain Mapping plugin. So far, everything seems to be working, even though the menu listing all sites in the multisite installation has the same name as the first site on all entries. This, however, might not be related to W3TC. I'm still trying to figure out what caused that strange behaviour.


  2. Gwyneth Llewelyn
    Posted 2 years ago #

    Aye, the "confusion" on the Domain Mapping plugin disappeared after a few refreshes. I wonder, does W3TC now cache the admin panel as well as the front-end?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.