Support » Fixing WordPress » Website 503

  • Resolved keepcalminsane

    (@keepcalminsane)


    Hi all sorry if in wrong place

    I have a website that was working ok on my server that i rent shared space. my website has been on a while now and not had a problem but the other day it come up with a 503 error and just wanted to know would this be cpanel problems or wordpress problems

    Thanks to anyone who helps

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    It *could* be caused by WordPress.

    These can often caused by plugin or theme function conflicts, so if you have access to your Dashboard, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Seventeen theme to rule-out a theme-specific issue. If you don’t have access to your Dashboard, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that specific time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

    I got no plugins i deleted them to make sure that was not the problem and what would i change the .htaccess to please and i see if that helps

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Rename the .htaccess file to anything but .htaccess. I like to just remove the dot, so it’s htaccess.

    ok i deleted the plugins, theme i was using and renamed the htaccess and i still getting same error

    Service Unavailable
    
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    
    Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

    This is what my hosting company give me the other day when the problem first started having the problem

    [11-Jul-2017 10:24:34 UTC] PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/00000/public_html/john-marshall.co.uk/wp-content/plugins/admin-block-country/get-country-name.php on line 63
    [11-Jul-2017 10:24:34 UTC] PHP Warning: file_get_contents(http://xml.utrace.de/?query=94.240.243.117): failed to open stream: no suitable wrapper could be found in /home/0000/public_html/john-marshall.co.uk/wp-content/plugins/admin-block-country/get-country-name.php on line 63
    [11-Jul-2017 10:24:36 UTC] PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/000000/public_html/john-marshall.co.uk/wp-content/plugins/admin-block-country/get-country-name.php on line 63
    [11-Jul-2017 10:24:36 UTC] PHP Warning: file_get_contents(http://xml.utrace.de/?query=94.240.243.117): failed to open stream: no suitable wrapper could be found in /home/00000/public_html/john-marshall.co.uk/wp-content/plugins/admin-block-country/get-country-name.php on line 63
    [11-Jul-2017 11:51:48 UTC] PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/0000/public_html/john-marshall.co.uk/wp-content/plugins/admin-block-country/get-country-name.php on line 63
    [11-Jul-2017 11:51:48 UTC] PHP Warning: file_get_contents(http://xml.utrace.de/?query=41.42.27.109): failed to open stream: no suitable wrapper could be found in /home/000000/public_html/john-marshall.co.uk/wp-content/plugins/admin-block-country/get-country-name.php on line 63
    [11-Jul-2017 11:51:49 UTC] PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/00000000/public_html/john-marshall.co.uk/wp-content/plugins/admin-block-country/get-country-name.php on line 63
    [11-Jul-2017 11:51:49 UTC] PHP Warning: file_get_contents(http://xml.utrace.de/?query=41.42.27.109): failed to open stream: no suitable wrapper could be found in /home/000000000/public_html/john-marshall.co.uk/wp-content/plugins/admin-block-country/get-country-name.php on line 63`

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    That spread is too broad, those could be anything, some might even be failing silently without affecting the site. We need the error from the exact moment it’s triggered.

    Triggering it is simple, just visit the site. If a 503 appears, note the date and time, and check the logs for what is recorded at that *specific* date and time. If you don’t have access to your server error log, ask your hosting provider to look for you and report back what was recorded at that *specific* date and time.

    Ill try and get the logs and report back soon

    This is what i just been given from server

    [Fri Jul 14 01:22:42.086135 2017] [proxy_fcgi:error] [pid 783114] [client 49.204.76.82:26593] AH01079: failed to make connection to backend: httpd-UDS

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, that’s a sever-level problem, so you’ll need to report that back to your hosting provider.

    If they try to turn you away again by blaming it on WordPress, make sure they see that error log entry. If they still try to turn you away, ask to speak to someone higher up. And, if they still try to turn you away, we have some recommended hosting providers at https://wordpress.org/hosting/

    Hi james

    thanks for you help one more question with that error on that site would i not have problems with my other word press sites thats on same server

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Not necessarily. I recommend leaving the diagnosis to your hosting provider, as failed to make connection to backend: httpd-UDS is server-level.

    Ok thanks very much bud for your help and advice

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Website 503’ is closed to new replies.