• Hi,

    I know its IIS and its stupid to put WordPress on it but….

    I’ve configured W3TC (database cache, page cache, minify) on this site and its completely crashed, just the WSOD and nothing else.

    I’ve tried manually removing the plugin and still the same problem?

    Any help would be hugely appreciated.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor gidomanders

    (@gidomanders)

    Did you also remove the wp-content/advanced-cache.php, wp-content/db.php and wp-content/object-cache.php files?

    Could you check the error logs and browser console logs for errors so we can help figure out what the problem is exactly?

    Thread Starter iprogress

    (@iprogress)

    Hi,

    Yes I removed all those files apart from object-cache.php which didn’t exist. I also removed db.php which I believe is for DB caching?

    Console log shows nothing and I’m trying to get access to the error logs now.

    Thanks

    Plugin Contributor gidomanders

    (@gidomanders)

    That’s correct. object-cache.php exists if you enabled object caching (which you did not, but I just wanted to be sure). db.php defines the database caching and advanced-cache.php allows W3 Total Cache to cache pages. Those files include a reference to W3 Total Cache classes, so if you didn’t remove them, you’d get errors on non-existent classes.

    Also check your wp-config.php file for anything like define('WP_CACHE',true);. This should be false or removed from the file, since you’re not caching anything anymore.

    If you cannot access the logs for some reason, you can also add define('WP_DEBUG',true); to your wp-config.php file. If you still don’t see anything when visiting the website, add define('WP_DEBUG_LOG',true); to your wp-config.php file too. If you visited the website, you should see the wp-content/debug.log file appear, which might contain the errors you have.

    Thread Starter iprogress

    (@iprogress)

    Hi,

    Yes I’ve already removed define('WP_CACHE',true); from wp-config.php

    I’ve added define('WP_DEBUG_LOG',true); and ‘define('WP_DEBUG', true);

    But as the site isnt even loading, no log files are created.

    I’ve uploaded a text.html file which loads fine. However a test.php file with phpinfo(); will not load.

    Thanks for your help

    Plugin Contributor gidomanders

    (@gidomanders)

    Could you share your .htaccess file so I can check if that file is correct?

    Thread Starter iprogress

    (@iprogress)

    Hi,

    This is a windows IIS server so doesn’t have .htaccess

    It uses IIS and web.config file which I understood did not get affected by W3TC

    Plugin Contributor gidomanders

    (@gidomanders)

    I have no experience with IIS servers, so sorry for that ??

    Maybe @fistfullofcrisco knows how to deal with this?

    Actually i believe w3tc supports IIS. Or, at least it did.

    Questions:

    1. I know w3tc provides its own /wp-content/plugins/w3-total-cace/ini/web.config that one should use to help configure w3tc correctly and so i am curious if w3tc (unlikely) or maybe you added some or all of its contents into your existing web.config which could be confusing your server.

    2. I know w3tc generates empty index.html and/or index.php files in some areas (to prevent showing empty directory listings) and so i wonder if, when you attempt to access your site, IIS is defaulting to viewing these empty pages. I will have more to say in #5.

    3. You mentioned manually deleting the plugin but did you also delete: /wp-content/w3tc-config, and /wp-content/cache? Since you already deleted the actual plugin directory deleting these two remaining directories is more for cleanliness. Also, i am just curious if something is trying to access the w3tc’s old cache directory.

    4. Does it show the WSoD even when attempting to access your WP admin page or does it only happen when accessing the public front-end?

    5. Can you pop up your browser’s developer tools and visit one of these WSoD pages and see what the returning HTTP code is (under the ‘Network’ tab)? Is it reporting a 5## error e.g. 500 or 504? If not, then what is the return code?

    6. Dumb question, but i assume you restarted IIS so as to flush out its own server cache from volatile memory?

    Thanks

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @iprogress,

    Have you managed to resolve the issue? Please give us a feedback so you can close the topic and mark it as resolved.

    Best regards,

    Marko

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WSOD on IIS’ is closed to new replies.