Jon Cave
Forum Replies Created
-
Forum: Plugins
In reply to: WordPress Importer 505 ErrorCould you check your error log for any information? If you’re on shared hosting with cPanel (or some other admin interface) it should be easily accessible through that interface.
Have you tried a really small file to rule out any size issue (though I agree it’s not a large file)? Make a copy of the XML file and then edit it to remove all but one post (they are the
<item>tags).If possible could you give me some more information about your server setup to see if I can reproduce this error?
Forum: Plugins
In reply to: [WordPress Importer] "WordPress Importer" Pluggin doesn't importverinox, thanks for sharing your exerience. I’ve never had any problems with PHP 4 and the importer myself. If possible could you try something out for me?
It would require you to temporarily switch back to PHP 4 and add some code to your theme’s functions.php or an active plugin. If you’re able to and have the time could you add:
function dump_xml_extensions() { echo '<pre>'; var_dump( extension_loaded( 'simplexml' ) ); var_dump( extension_loaded( 'xml' ) ); echo '</pre>'; } add_action( 'admin_init', 'dump_xml_extensions' );This will dump two bits of information to the top of the admin panel. Once done remove the code and switch back to PHP 5 (much better than version 4) and report the results here.
Thanks.
Version 0.4 in WordPress 3.1.
The import of all tags failed !!
Firstly, could you please open a new thread. This is unrelated to this thread which is already long enough.
On the new thread could you please give more details about the options you used when exporting. More details about how the tags have failed; are tags present in Posts > Post Tags? are tags just not attached to posts?
An example export file would be most useful for debugging any problem. Email wp AT lionsgoroar.co.uk if you do not want to upload it publicly.
Finally, I’m having no problems with tags myself 🙂
Nice job tracking that down.
I will include the fix for you in the next version — may not be a while for full release but you will have the fix locally — as it makes sense, even if it’s a very unusual problem. It will probably be in the development version tomorrow.
Thank you for the help!
No problem. Glad I was able to 🙂
That’s strange. Multiple attachments are fine for me.
Are you only seeing one item in the Media admin section? Did the import complete properly, i.e. did you see the “All done. Have fun” message at the end?
Could you provide me with an example export file to test? Email wp AT lionsgoroar.co.uk if possible.
0.4 is released fixing the original problem described and also mmjaeger’s problem with attachments in the wrong location. Marking as resolved.
Forum: Plugins
In reply to: [WordPress Importer] [Plugin: WordPress Importer] Links Not ImportedYou probably want to try the blogroll importer. Tools > Import and then click “Blogroll” to install it.
Then point it at your old site, for example:
http://example.com/wp-links-opml.phpI know that was the problem. However, the importer tries to automatically update links to attachments in posts and that stopped working properly for resized images. That was the fix I was talking about.
If you could give me an example of a previously incorrect link or let me see an export file that would really help as automatic updating is a neat feature.
Ha! I’m not surprised and there’s not much that can be done by the plugin, but thanks for the information.
To do a full clean up I would advise you to wipe all the files from the system and do a full reinstall (backup all database and files first in case something goes wrong). Also, ensure that you change all of the passwords associated with WordPress and the hosting account (e.g. MySQL, FTP, cPanel, etc.) — to be extra paranoid I would change passwords before deleting everything and reinstalling and then again afterwards. If it’s still able to come back then you should talk to your host as it’s probably lax security configuration on their part rather than a hidden backdoor script or compromised password.
Fix is now in the development version (will be displayed as 0.4-beta1 on the plugin page in the WordPress admin panel), which will be released soon.
It has to be installed ‘manually’ by downloading the zip file first. This can be obtained from the Other Versions page or here is a direct link to the zip.
Please let me know how this works for you and if you have any further problems.
Nevermind, have reproduced the problem. The following should fix the issue:
Change the line reading:
update_post_meta( $post_id, $key, $value );in wordpress-importer.php to:
add_post_meta( $post_id, $key, $value );This is line 670 in version 0.3, or 693 if you’re using the development version.
Hope this helps.
Not heard of this before either. I will investigate. If possible could you send me an example export file that is not working as expected (email wp AT lionsgoroar.co.uk) as it would help track down any issue?
Thanks for reporting.
Can you take a look at the source code of the website and tell me what’s wrong with the src attribute of one of the broken image tags (they should still be present, but pointing to the wrong location)?
It would be helpful if you would send me a copy of an import file that isn’t working correctly; email wp AT lionsgoroar.co.uk
Or access to a site that’s not working properly. Just to help speed up diagnosis and fixing the issue.
Thanks.
Should be fixed with 0.4-alpha4. Would be grateful if you could report back after testing.
Download the Development Version from the Other Versions page or here is a direct link to the zip.
Thanks for reporting. For reference this issue is being tracked on ticket #16984.
Forum: Plugins
In reply to: [WordPress Importer] [Plugin: WordPress Importer] Fatal ErrorSounds like the plugin didn’t install properly or got corrupted somehow. All the parsers and the base class (wxr_parser) are found in the parsers.php file (in the wordpress-importer plugin directory) and are required in wordpress-importer.php line 29.