PDA

View Full Version : Solving "An Unexpected HTTP Error occurred during the API request"



cleanweb
01-07-2010, 10:56 AM
I run into this error today on my wordpress site admin dashboard. This is how you fix the error:

-Go to you root directory where your wordpress blog/site is installed.
-Go to wp-includes folder/directory. Under the folder/directory, find http.php.
-Download it and open it with php or any html editor.
-Go to line No. 226(for wordpress 2.9) and find 'timeout' => apply_filters( 'http_request_timeout', 5), and replace it with 'timeout' => apply_filters( 'http_request_timeout', 30),.
-Save it and upload it to wp-includes directory.


Hopes that help.

morestar
01-07-2010, 04:52 PM
Hey clean...so what were you doing when you encountered the error?

cleanweb
01-07-2010, 11:22 PM
I was trying to install a plugin via the dashboard.