Blogrolling Error
-
No answer under Codex, Google or in the forums here:
When I import this link: http://rpc.blogrolling.com/opml.php?r=a597a1ed5bc8e14578dd99a6e11acd26
I get this error message:
Warning: file(http://rpc.blogrolling.com/opml.php?r=a597a1ed5bc8e14578dd99a6e11acd26): failed to open stream: Connection refused in /home/binkolog/public_html/memoir/wp-admin/link-import.php on line 106Warning: implode(): Bad arguments. in /home/binkolog/public_html/memoir/wp-admin/link-import.php on line 106
XML error: no element found at line 1
Inserted 0 links into category 1. All done! Go manage those links.The browser I am using is IE however, I have tried FF and the same error message appears. I am on WP 1.5.
Lines 105 to 119 in the link-import.php file it is referring to:
if (isset($opml_url) && $opml_url != ”) {
$opml = implode(”, file($opml_url));
include_once(‘link-parse-opml.php’);$link_count = count($names);
for ($i = 0; $i < $link_count; $i++) {
if (‘Last’ == substr($titles[$i], 0, 4))
$titles[$i] = ”;
if (‘http’ == substr($titles[$i], 0, 4))
$titles[$i] = ”;
$query = “INSERT INTO $wpdb->links (link_url, link_name, link_target, link_category, link_description, link_owner, link_rss)
VALUES(‘{$urls[$i]}’, ‘”.addslashes($names[$i]).”‘, ”, $cat_id, ‘”.addslashes($descriptions[$i]).”‘, $user_ID, ‘{$feeds[$i]}’)\n”;
$result = $wpdb->query($query);
echo sprintf(__(“Inserted %s“), $names[$i]);
}Thanks!
The topic ‘Blogrolling Error’ is closed to new replies.