chrisncohen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP HTTP Error: Couldn't resolve hostForum: Fixing WordPress
In reply to: WP HTTP Error: Couldn't resolve hostI’d appreciate that greatly. FYI when I run the php script above with an ip address in it, it returns valid headers, which suggests that cURL is enabled and working fine. (e.g. the line curl_setopt($ch, CURLOPT_URL, ‘https://72.14.204.104’);)
additionally, this works fine inside PHP on that server:
print gethostbyname(‘bugs.php.net’);
returns “128.39.198.38”
Forum: Fixing WordPress
In reply to: WP HTTP Error: Couldn't resolve hostalso, ping, dig, and nslookup are working fine from that server.
Forum: Fixing WordPress
In reply to: WP HTTP Error: Couldn't resolve hostThis works from the command line: curl https://www.google.com/
returns the source from that page.Forum: Fixing WordPress
In reply to: WP HTTP Error: Couldn't resolve hostActually, it works, it just returns the following:
Error: Couldn’t resolve host ‘www.randolphcollege.edu’
Forum: Fixing WordPress
In reply to: WP HTTP Error: Couldn't resolve hostthis script does not work on that same site:
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, ‘https://www.randolphcollege.edu’);
curl_setopt($ch, CURLOPT_HEADERFUNCTION, ‘read_header’);
curl_setopt($ch, CURLOPT_WRITEFUNCTION, ‘read_body’);
curl_exec($ch);if ($error = curl_error($ch)) {
echo “Error: $error
\n”;
}function read_header($ch, $string)
{
$length = strlen($string);
echo “Header: $string
\n”;
return $length;
}function read_body($ch, $string)
{
$length = strlen($string);
echo “Received $length bytes
\n”;
return $length;
}
echo file_get_contents(“https://www.yahoo.com/index.html”);
?>Forum: Fixing WordPress
In reply to: RSS feeds for www.ads-software.com not working@esmi: are these topics not related?
Forum: Fixing WordPress
In reply to: RSS feeds for www.ads-software.com not workingForum: Fixing WordPress
In reply to: RSS feeds for www.ads-software.com not workingI’ve got a brand new install of WPMU on a server here with no plugins or any data to speak of. When I go to the dashboard I’m getting the same errors. I can’t add rss feeds in the sidebar widget either. nslookup, ping, and dig all work fine from that server. Additionally, when I went to install the buddypress plugin by searching for it in the plugin installer in the wp-admin area I got this error: “An Unexpected HTTP Error occurred during the API request.” The section called “Popular tags” on that page (wp-admin/plugin-install.php) was also empty.