I have a new installation of WP 3.0.3 on a local server running Arch Linux. When trying to install themes or plugins, I get
An Unexpected HTTP Error occured during the API request.
The more detailed error message is
WP_Error Object ( [errors] => Array ( [http_request_failed] => Array (  => Could not open handle for fopen() to http://api.wordpress.org/themes/info/1.0/ ) ) [error_data] => Array ( ) )
I have googled and searched this forum, and accordingly I have changed the timeout in
wp-includes/class-http.phpto 30, and also ensured that fopen is enabled in my
php.ini. I reverted to the twenty-ten theme, and ensured all plugins were disabled. To no avail: the problem continues, and no other solutions seem to have been posted.
Manually installing the core-control plugin shows me that PHP HTTP extension and cURL are not available.For PHP Streams and also PHP fopen I get
An Error has occured: Could not open handle for fopen() to http://tools.dd32.id.au/wordpress/core-control.php
For PHP fsockopen() I get:
An Error has occured: 0: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
The server is able to ping WAN urls, to wget files and to open web pages in the CLI browser Links.
I have now reached the limit of my troubleshooting ability, and I would really appreciate any help to resolve this.
- The topic ‘Unexpected http error _and_ Could not open handle for fopen()’ is closed to new replies.