• Resolved waynelee3d

    (@waynelee3d)


    wlguitar.co.uk/blog

    Both my sites have suddenly started showing errors. They were fine before. Could this be a hosting problem or WordPress problem?

    Checkout not working on woocommerce site groovywall

    Cant add plugins on both sites:
    An unexpected error occurred. Something may be wrong with ww.wp.xz.cn or this server’s configuration. If you continue to have problems, please try the support forums.

    Errors on Dashboard:
    WP HTTP Error: cURL error 7: Failed to connect to 198.143.164.252: Network is unreachable

    Any help will be greatly appreciated.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Did you update the theme, any plugins or WordPress?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The error means your site cannot connect to ww.wp.xz.cn. Contact your host as there’s a networking problem. It may be a firewall or a DNS issue.

    Hello, waynelee3d, & welcome.

    Could you tell us please:
    a) Is this a multi- or single site installation?

    Could we please see your .htaccess files, if they exist, for both sites–& please let us know which site’s .htaccess file we’re looking at if it’s not evident. You may enclose the code in backticks, (), ie,

     line 1
    line 2
    line 3 

    Your .htaccess files can be retrieved either from your hosting provider’s file manager or via FTP. Please let us know if you’re still unsure as to how to do that.

    Thread Starter waynelee3d

    (@waynelee3d)

    Thanks for tips. I’ve been talking to my hosting 123-reg.co.uk and they have opened a ticket for me. It seems it may be what Steve Stern has said above. I’m just waiting for them to get back to me now. Thanks

    • This reply was modified 7 years, 11 months ago by waynelee3d.
    Thread Starter waynelee3d

    (@waynelee3d)

    My hosting provider rolled back my PHP install to an earlier version, but this had no affect. I’m waiting to hear what they have to say about Steve Stern’s reply (above). The WordPress installations are standalone on the same server, but not multisite.

    These are my htaccess files:

    wlguitar.co.uk

    # Switch rewrite engine off in case this was installed under HostPay.
    RewriteEngine Off
    
    SetEnv DEFAULT_PHP_VERSION 55
    
    DirectoryIndex index.cgi index.php
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress

    groovywall.co.uk

    Order Deny,Allow
    # Switch rewrite engine off in case this was installed under HostPay.
    RewriteEngine Off
    
    AddHandler application/x-httpd-php72 .php
    
    DirectoryIndex index.cgi index.php
    
    # BEGIN 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

    Thanks

    waynelee3d, could you please try going into both those .htaccess files, & putting a # in front of both lines that begin w/RewriteEngine Off. Then please try logging in & see what occurs & let us know.

    Thread Starter waynelee3d

    (@waynelee3d)

    I’ve just tried adding that # to w/RewriteEngine Off. No effect.

    waynelee3d, please try opening wp-config.php & changing wp_debug from ‘false’ to ‘true’ & then trying to update a plugin again. This is a security risk, so please change it back when you’ve finished copying any errors generated, & pasting it back to your reply.

    If you’re caching your sites, please clear the cache, both on your server & in your browser. Since I don’t know if you are or if so, which caching plugin you’re running, I cannot be more specific regarding instructions.

    Next, please also temporarily deactivate all plugins (you can do this via your hosting provider’s file manager or FTP) & change the plugins folder name to plugins1 or plugins.old or similar. Please try updating a plugin & see if this has any effect. Since we’re doing some testing here, please try updating just 1 plugin or theme at a time.

    If it does, then you’ll need to rename the plugins folder back to the original name, but open it & rename all the plugin folders inside except one by adding a 1 or a .old to the end of the names. I’d suggest leaving something like Akismet alone, since it’s basically core & therefore unlikely to interfere w/WordPress’s functionality. If that still works, rename each plugin folder, logging in after each rename, until you can’t, at which time we’ve found the culprit.

    If that does not work, please try deactivating your theme temporarily by renaming your theme folder as above. It wil break your homepage, (fair warning), but if you can update a plugin or theme, then it indicates that the theme is problematic.

    Please let us know what plugins you’re running.

    Lastly, if all else fails, I can provide a staging area on my server to test functionality. Clearly, if you can update plugins while on my server, then it’s an issue w/your host.

    Thread Starter waynelee3d

    (@waynelee3d)

    Thanks for your help. There was a connectivity issue on the hosting server like Steve Stern said. They have fixed it now and everything is working. Thanks 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Two WordPress sites suddenly have errors’ is closed to new replies.