Link to home
Start Free TrialLog in
Avatar of BHUC
BHUCFlag for United States of America

asked on

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.

I am moving a wordpress site from one server to another and to a different URL. I have installed wordpress on the new server and moved all the files. When I go to appearance > themes > add new I get this message:
An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.

The new web server people say it is a wordpress issue. I have read the forums and there is no malware. I have uninstalled everything and even with just the wordpress initial installation (before moving any files over) I get the same error.

Any help would be appreciated.
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Move the site again, but this time follow the steps in this article:

https://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_10258-How-To-Move-A-WordPress-Site.html

See if the error comes back.
Avatar of BHUC

ASKER

Thanks for the links Jason. Here is what I have done:

1) Completely deleted all wordpress files from the new server
2) Removed all wordpress databases from the new server
3) Reinstalled Wordpress from scratch

I go to add themes and get the same message. This tells me it is in the installation of wordpress - not in the files I want to move over.
Avatar of BHUC

ASKER

Also - on the clean installation - I can't upload files.. I go to the media library and try to upload one and it says An error occurred in the upload. Please try again later. If I look in the posts database, the image shows up there, and if I copy the url in the posts table for the image, I can see it. If I then go the media library, I see the image.
If I go to a page and click on Insert Media, the page just spins - it won't pull up my images.
I go to add themes and get the same message. This tells me it is in the installation of wordpress

Not necessarily.  It could be the ISP is blocking something assuming you are getting the wordpress installation from wordpress.org and not from some other source.
Avatar of BHUC

ASKER

How can I tell?
How can you tell where you are getting WordPress from?  Are you getting it from wordpress.org or are you installing a version via the ISP CPanel or similar?
Avatar of BHUC

ASKER

I don't have access to a CPanel so I downloaded the easywp.php from a site.
so I downloaded the easywp.php from a site.

Wouldn't do that unless you verify it gets the download from the official repo.  Better to get it from the official source and only the official source (wordpress.org).
Avatar of BHUC

ASKER

OK Jason - I deleted everything again. Went to wordpress.org and downloaded the zip file and reinstalled everything. I get the same message under Add Themes.

Same thing happens with media.

I appreciate your help. ready to pull my hair out.
Avatar of BHUC

ASKER

I went to plugins and searched for a new one and get this message across the top:

Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /disks/web1/isps/goldenwest.net/rapidnet.com/bh/bhscweb/public_html/wp-admin/includes/plugin-install.php on line 77
Understand the frustration but we're making small progress.  If the version from the WordPress repo doesn't work, the issue is no longer WordPress...it almost has to be your hosting environment blocking the calls to wordpress.org
Avatar of BHUC

ASKER

How do I check that? They are saying it is malware or a wordpress issue. Always passing the buck. I'm not a server person and understand just a bit of the lingo.
Check your server's PHP error logs to see if the connection failures are being logged and if so, show it to the ISP.  If not, I'm not sure how to go about proving this to a hosting company that clearly doesn't want to support its product.  Malware doesn't exist in the wordpress.org version so installing that version should work unless there is a server misconfiguration.  It's just common sense.
Avatar of BHUC

ASKER

Dumb question... Where do I find the error logs?

Thanks again.
It varies depending on how PHP is configured on the server.  Create a phpinfo() page and run it...it will be one of the values returned.
Avatar of BHUC

ASKER

I created the page but have no idea what I  am looking for...
One of the config entries is for error log and it should show you a path.  

You just did this, right:

<?php phpinfo(); ?>
Avatar of BHUC

ASKER

error_log shows no value so they probably don't have one.

And yes- that is what I did.

your help is soooo appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BHUC

ASKER

A huge possibility. Heading to talk to our IT department now. Thank you again.
Thanks.

If you need a recommendation for WordPress specific or just general shared/VPS/dedicated hosting let me know...