I recently installed XAMPP for Windows (on a Windows 2000) system and I also installed WordPress 3.0. I want to import some "dummy" text but when I click on Tools > Import, then click on WordPress, I receive the following error: "An Unexpected HTTP Error occurred during the API request." Actually, I receive the error when I click on ANY of the options within the Import screen.
Here is what I'm running on my system:
OS: Windows 2000
XAMPP 1.7.3
WordPress 3.0
Has anyone else had this problem and what is the solution?
On another forum found at http://www.devcomments.com/Solving-An-U ... o43074.htm, I found the following resolution, but unfortunately, in my version of WordPress (3.0), the http.php file has no mention of "timeout":
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.