• Resolved Hod

    (@hodbby)


    Installed the W3TC plugin.
    Now every few minutes the pages show 500 Error.
    Workaround CLEAR ALL CACHES.
    Obviously, I need a fix solution.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @hodbby

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    Can you please share your .htaccess files so we can check if there are some rules that may be causing the issue.
    Also please enable wp_debug and check the error.log file for any errors.

    Debugging in WordPress


    Thank you!

    Thread Starter Hod

    (@hodbby)

    Thanks for the reply
    The error appears a lot!
    I clean cache a lot to overcome it and hope the debug file will show the bug.

    Enclose the 2 files

      .htaccess
    # BEGIN W3TC Page Cache core
    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteCond %{HTTPS} =on
        RewriteRule .* - [E=W3TC_SSL:_ssl]
        RewriteCond %{SERVER_PORT} =443
        RewriteRule .* - [E=W3TC_SSL:_ssl]
        RewriteCond %{HTTP:X-Forwarded-Proto} =https [NC]
        RewriteRule .* - [E=W3TC_SSL:_ssl]
        RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
        RewriteRule .* - [E=W3TC_PREVIEW:_preview]
        RewriteCond %{REQUEST_METHOD} !=POST
        RewriteCond %{QUERY_STRING} =""
        RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
        RewriteCond %{REQUEST_URI} \/$
        RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html" -f
        RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html" [L]
        RewriteCond %{REQUEST_METHOD} !=POST
        RewriteCond %{QUERY_STRING} =""
        RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
        RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.xml" -f
        RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.xml" [L]
    </IfModule>
    # END W3TC Page Cache core
    # BEGIN WordPress
    # ??????? (?????) ??? <code>BEGIN WordPress</code> ???? END WordPress

    ??
    # ????? ????? ?????, ??? ????? ???? ?? ??????? ??????? ?? ???????.
    # ?? ????? ??????? ??? ?????? ??? ????.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # Use PHP71 as default
    AddHandler application/x-httpd-php71 .php
    <IfModule mod_suphp.c>
    suPHP_ConfigPath /opt/php71/lib
    </IfModule>`

    The error log I will send after the issue occurred

    • This reply was modified 4 years, 10 months ago by Hod.
    Thread Starter Hod

    (@hodbby)

    error 500 after a few minutes.
    But, error_log is not updated with events.
    I will disable page and browser cache since it is night here and hope no damage till morning.
    Waiting for your response

    Thread Starter Hod

    (@hodbby)

    Any update before I remove the plugin?
    The errors have a bad impact on my site.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @hodbby

    Sorry to hear about that. It’s strange that the error log is not showing anything.
    There is a possibility of a conflict with some other plugin.
    Can you please temporarily disable all other plugins and re-enable W3 Total Cache, save all settings and purge the cache. See if the issue persists. If not start re-enabling the plugins one by one and see which one might be causing the issue.
    Are you using any other caching solution or possibly Server-side caching?
    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    No activity for a week,
    Marking topic as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘500 Error’ is closed to new replies.