WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] URL Rewriting (4 posts)

  1. mjmcgowan
    Member
    Posted 2 years ago #

    Hi,

    I am getting the following Error message using W3 total Cache

    "It appears Page Cache URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration."

    I have two installations of word press installed on shared hosting with this one being a sub directory,

    The theme is Canvas by woo themes, with the buddy press child theme,

    If you could help it would be really appreciated,
    URL http://overlandsphere.com

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

  2. cesar130177
    Member
    Posted 2 years ago #

    I fixed a similar problem this way:

    1.- Check /www/error_log file, try to locate a line like this:

    [12-Dec-2011 19:01:02] PHP Fatal error: Call to undefined function w3_url_format() in /www/wp-content/plugins/w3-total-cache/lib/W3/Plugin/PgCacheAdmin.php on line 213

    2.- Open PgCacheAdmin.php with code editor (Cpanel embed one).

    --- 2.1.- Comment this line (at the very beginning of the file):
    require_once W3TC_INC_DIR . '/functions/rule.php';

    --- 2.2.- Add this line:
    require_once W3TC_INC_DIR . '/functions/url.php';

    Result should be something like this:
    /** require_once W3TC_INC_DIR . '/functions/rule.php'; */
    require_once W3TC_INC_DIR . '/functions/url.php';

    It did the trick for me. Regards

  3. cesar130177
    Member
    Posted 2 years ago #

    I fixed a similar problem this way:

    1.- Check /www/error_log file, try to locate a line like this:

    [12-Dec-2011 19:01:02] PHP Fatal error: Call to undefined function w3_url_format() in /www/wp-content/plugins/w3-total-cache/lib/W3/Plugin/PgCacheAdmin.php on line 213

    2.- Open PgCacheAdmin.php with code editor (Cpanel embed one).

    --- 2.1.- Comment this line (at the very beginning of the file):
    require_once W3TC_INC_DIR . '/functions/rule.php';

    --- 2.2.- Add this line:
    require_once W3TC_INC_DIR . '/functions/url.php';

    Result should be something like this:

    /** require_once W3TC_INC_DIR . '/functions/rule.php'; */
    require_once W3TC_INC_DIR . '/functions/url.php';

    It did the trick for me. Regards

  4. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    This is fixed in the next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic