Recent Posts

Wednesday, January 30, 2013

Fix for An unexpected error occurred while searching for plugins in Wordpress site hosted locally in Wamp server.

I came across unusual error while trying to install the plugins in wordpress development site hosted locally in Wamp server within our company network:

The error said:
“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”

It was few hours search which directed me to change the timeout in httpconfig.php and others as well and I tried all of them and finally I found out the blog to fix it which was:


The main culprit of the issue was the “proxy” being used for the connection within our company.

To get around the proxy we need to enter the proxy information in wp-config.php as below as mentioned in above link.

If the problem is happening when you search plugins or themes its probably because your connected to a proxy and you need to configure it on your wp-config.php
/** EXAMPLE - proxy settings */
define('WP_PROXY_HOST', 'proxy.url.com');
define('WP_PROXY_PORT', '1234');
define('WP_PROXY_USERNAME', '');
define('WP_PROXY_PASSWORD', '');
define('WP_PROXY_BYPASS_HOSTS', 'localhost');
Thanks to mario.andrade



Related Posts by Categories




2 comments:

Deepesh Khatri said...

Nice article
visit
How to make money on Internet
to learn and earn more money.

Adams Kevin said...

I ADAMS KEVIN, a representative Aiico Insurance plc, we trust and respect for individual differences in day out a loan. We will provide 2% of the loan's interest rate. If you are interested in this business contact us by e-mail: (adams.credi@gmail.com) now transfer their loan documents issued properly. Do you need a loan to set up business or school if you are very welcome to Aiico Insurance plc. You can also contact us by e-mail: (adams.credi@gmail.com). We first week can request a balance transfer.

DO YOU NEED LOAN FOR PERSONAL BUSINESS? IF YOU CONTACT YOUR EMAIL ABOVE TO PROCEED WITH YOUR LOAN TRANSFER IMMEDIATELY OK.

Post a Comment