WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: W3 Total Cache] wpmu compatibility (14 posts)

  1. Ovidiu
    Member
    Posted 4 years ago #

    this doesn't look right:

    Unzip and upload the plugin to your plugins directory (wp-content/plugins/) when done wp-content/plugins/w3-total-cache/ should exist. If you have WordPress MU you will need to install this in wp-content/mu-plugins/w3-total-cache/.

    wpmu does not look into subfolders, so placing the whole folder into mu-plugins doesn't work.

    I suggest to put it into the plugins folder and activate sidewide.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. joshmac
    Member
    Posted 4 years ago #

    Also, you have to be careful with installing this. It creates a db.php file, and if you are using the Multi-DB plugin, the db.php in wp-content which is needed for multi-db to function will get over written.

  3. rablegen
    Member
    Posted 4 years ago #

    I installed W3 Total Cache to my WordPress MU installation based on the suggestion above.

    When I activate the plugin sitewide, all of my blogs give me an error like the following:

    W3 Total Cache Error: Unable to read config file or it is broken. Please create D:\Apache2.2\htdocs/wp-content/w3-total-cache-config-bond.aurorak12.org.php from D:\Apache2.2\htdocs/wp-content/plugins/w3-total-cache/w3-total-cache-config-default.php.

    This is for one of the blogs on my WPMU, bond.aurorak12.org
    I get similar errors for my other blogs.

    Rich

  4. joshmac
    Member
    Posted 4 years ago #

    @rablegen, would you happen to be using the multi-db plugin?

  5. rablegen
    Member
    Posted 4 years ago #

    No, I am not using the multi-db plugin.

    I am using WP MU 2.8.4a with the following plugins:

    MU Plugins:
    cets_blog_defaults
    cets_simple_dashboard
    category_defaults
    ds_private_blog

    Blog-based plugins:
    Tiny MCE Advanced
    Event Calendar + Event Calendar Widget
    Simple Redirect
    ltranslate
    All Text Allowed
    My Category Order
    My Page Order
    cForms II
    Breadcrumb Nav XT

  6. rablegen
    Member
    Posted 4 years ago #

    Whoops! I forgot one other MU level plugin:

    plugin commander

    Rich

  7. joshmac
    Member
    Posted 4 years ago #

    Did you change the permission of the wp-content folder to 777?

  8. Frederick Townes
    Member
    Posted 4 years ago #

    wpmu does not look into subfolders, so placing the whole folder into mu-plugins doesn't work.

    I suggest to put it into the plugins folder and activate sidewide.

    @Ovidiu is correct.

    W3 Total Cache Error: Unable to read config file or it is broken. Please create D:\Apache2.2\htdocs/wp-content/w3-total-cache-config-bond.aurorak12.org.php from D:\Apache2.2\htdocs/wp-content/plugins/w3-total-cache/w3-total-cache-config-default.php.

    @rablegen this issue has been addressed in the release that will be available shortly (today).

  9. nickd32
    Member
    Posted 4 years ago #

    Also, you have to be careful with installing this. It creates a db.php file, and if you are using the Multi-DB plugin, the db.php in wp-content which is needed for multi-db to function will get over written.

    @fredericktownes - How can we use both W3TC and Multi-DB? I just installed the plugin, and it over-wrote my /wp-content/db.php file, which is required for Multi-DB to work.

    I assume one instance of the db.php file would need to be renamed?

  10. Frederick Townes
    Member
    Posted 4 years ago #

    No they are not compatible.

  11. nickd32
    Member
    Posted 4 years ago #

    Can you elaborate a little more on why not? Is there any way to have W3TC look for another file besides db.php?

    We've also got a discussion going over at the WPMU Dev forums.

  12. Frederick Townes
    Member
    Posted 4 years ago #

    Only one db.php file can exist at once, so there is an immediate impasse there that requires W3TC to otherwise handle logic used in Multi-DB. Support for this scenario for v1.1. Something better to be honest, support for Google MMM.

  13. nickd32
    Member
    Posted 4 years ago #

    Any idea when v1.1 will be available? (rough, ballpark estimate?)

    Lots of WPMU/Multi-DB users (myself included) could really use W3TC.

  14. Frederick Townes
    Member
    Posted 4 years ago #

    No idea, sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic