I'm trying to run the script but getting a "bad email/password" error even though I'm positive they are correct. Is this just due to the fact that it uses an outdated API version?
EDIT: This was run on a very small sample XML of the WP I'm trying to transfer – it contains just one post. When I tried to run it initially on the full export, I got this error: Fatal error: Call to a member function xpath() on a non-object in /Users/mattschwarz/Dropbox/sharingthestoke/export/aurel-appsthru/import-tumblr.php on line 52
Line 52: $nodes = $xml->xpath('/rss/channel/item');
Hi Matt,
I think that the $xml object is not instantiated correctly.
Try to remove the @ before simplexml_load_file line 42 and see what is the error message. Perhaps XML file is not well formed .
Let me know
Hey there,
I'm trying to run the script but getting a "bad email/password" error even though I'm positive they are correct. Is this just due to the fact that it uses an outdated API version?
EDIT: This was run on a very small sample XML of the WP I'm trying to transfer – it contains just one post. When I tried to run it initially on the full export, I got this error:
Fatal error: Call to a member function xpath() on a non-object in /Users/mattschwarz/Dropbox/sharingthestoke/export/aurel-appsthru/import-tumblr.php on line 52
Line 52:
$nodes = $xml->xpath('/rss/channel/item');