• Hi guys .

    I know that this is a free plugin ( an awesome one ) and I don’t expect too much help on my problem but i thought I’d give it a try . I’d really appreciate all your comments from now.

    I have a website with Woocommerce and a daily 8000 users online everyday. As soon as I’ve transferred my site from Test server to production , I started having ” White screen ” problem after some time ( 5 to 6 hours daily ) . So this days I’m continuously checking if website is down and clearing the cache .

    In meantime , I’m trying to find a solution to this which It wasn’t successful . Most of the topics I’ve read , a solution is to disable plugin or remove .htaccess W3 Total cached parts . Which I’m not happy to do that because with W3 my page is much more faster especially in a website that has more then 2000 pages .

    I’ve enabled this features in W3 :

    Page Cache and Browser Cache . Other options are disabled .

    My questions are :
    1 ) Is there anyway to solve this problem ?
    2 ) Do i need to create a Cron Job that deletes cache every 4 hours .
    3 ) or is it better to use Automatically prime the page cache .
    4 ) Do i need to enable any other feature , not to get the White screen ..

    Thanks to all of you guys for taking your time and trying to help us .

    https://wordpress.org/plugins/w3-total-cache/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi Valmy,

    I’m not 100% familiar with W3TC though a white screen generally suggests a fatal PHP error. I suggest seeing if there are any PHP error messages before anything else.

    Here’s how you you can enable debugging:
    https://codex.wordpress.org/WP_DEBUG

    Once you’ve enabled that in your wp-config.php you’ll see any errors on the front-end/backend of your website, note any errors down and then paste them back into this forum.

    Alternatively you can look at your existing debug log on your server and see if any errors have been logged recently.

    Thread Starter Valmy

    (@cmehmet)

    Hi Andrew ,
    Thank you for your time and your suggestion .

    I’ve already enabled WP_DEBUG and WP_DEBUG_LOG , WP_DEBUG_DISPLAY .
    I can see the errors in a file that i wanted them to appear.

    The interesting thing here is that there isn’t anything in the files and also in server error logs that suggests that there is a PHP error or else .

    White screen problem , doesn’t appear always . It appears in 5 to 6 hours of interval . So every 5, 6 hours i need to check the website if its still there . If not i need to Flush the cache and it works again.

    Any other suggestion ?

    Thanks again …

    Just did a quick google search, found the articles below. It seems the issue you are experiencing may be quite common:

    https://wordimpress.com/fixing-w3-total-caches-white-screen-of-death/

    http://forwpblogger.com/tutorial/fix-w3-total-cache-white-screen-of-death-problem/

    http://kb.imakewebsites.ca/2013/08/03/w3-total-cache-makes-blank-pages-after-wordpress-upgrade-fix/

    Other than what’s included in the links above I’m afraid I don’t have any other suggestions, hopefully they help

    @valmy I think it’s the same issue I reported here.
    I’d like to have a solution too.

    Thread Starter Valmy

    (@cmehmet)

    Ey @andrew thanks again , I’ve tried all of them , but didn’t do the trick .

    @tizz , as soon as i get something , I’ll get back to you . I’ll be more than happy to help .

    Thanks to all you guys ..

    I have exactly the same problem with W3TC

    I have PAge Cache and Browser Cache activated.
    With Page cache activated I get the white screen after some hours. Emptying the cache solves this issues but this cannot be the solution.

    I need page cache otherwise my site will be very slow.

    please can someone help and have a look at the settings and tell me what can be done better.

    https://www.dropbox.com/s/3q2xkda0bzxr1fr/page-cache.jpg?dl=0

    I use a shared server with 256mb php memory limit

    Hi Valmy,

    I had this problem a while back. It seems that occasionally, a blank page gets stored in cache, and then gets served up until either the cache expires, or it is manually cleared.

    I added this line into /lib/W3/PgCache.php, line 264:
    if ( strlen($data['content']) < 30 ) return null;

    Which basically bypasses cache if the returned page is blank. Not sure if this is the problem you are having, but worth a try.

    Anyone tried to make what joetek said??

    @joetek sorry, didn’t work for me.. :/

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘White screen problem in frontend’ is closed to new replies.