Jon Cave
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress Importer 0.4 Not importingSorry I didn’t notice the more recent replies on this thread.
Fatal error: Call to undefined function libxml_use_internal_errors() in /netapp/whnas-silo1-node1/s8/s8/01296/www.mysite.com/webdocs/blog/wp-content/plugins/wordpress-importer/parsers.php on line 59.
That suggests to me that your host has the simplexml extension enabled, but libxml disabled. That is an oversight on my part and will be fixed.
If this fatal error is the cause of your whitescreen on importing then you could try stopping it from using SimpleXML. You can do this by editing wordpress-importer/parsers.php and changing line number 15 which reads:
if ( extension_loaded( ‘simplexml’ ) ) {
to
if ( false && extension_loaded( ‘simplexml’ ) ) {
It shouldn’t be any problems with changes in database structure. Ideally the importer should be able to take an export from any previous version and import it into a newer version without any trouble. If this isn’t the case then that should be fixed.
Would you be able to send me your export file so I can confirm that it’s not an issue with the file itself? Email: wp AT lionsgoroar.co.uk if possible.
In your most recent reply, when you say:
The blog itself goes to white screen after that.
Are you saying that just the import page whitescreens due the fatal error like before? Or that whatever page you then visit is a white screen?
Thanks.
Sounds similar to http://wordpress.org/support/topic/invalid-author-importing-single-wordpress-to-mulitsite-wordpress?replies=21#post-2188442
Could you try the development version of the importer please? The zip file is found on the Other Versions page. Let me know if that fixes the issue for you.
Forum: Networking WordPress
In reply to: Invalid author importing single WordPress to Mulitsite WordPressDo you think I am good to download and use the importer if I’m not running a dev version of 3.2?
Yes. The development version of the importer should be good to go on WP 3.0+. Be sure to let me know of anything to contradict that!
Forum: Networking WordPress
In reply to: Invalid author importing single WordPress to Mulitsite WordPressThis problem should be resolved by the development version of the importer which will be released properly to coincide with WordPress 3.2. The development version is available from the Other Versions section here and here is a direct link to the zip.
For those interested the root of the problem was extra restrictions on user login names in place in WordPress Multisite, specifically enforcing lower case user names. See http://core.trac.wordpress.org/ticket/17904.
Forum: Fixing WordPress
In reply to: WordPress Importer 0.4 Not importingI assume this mostly blank screen appears either just after uploading or after clicking the import button? If so then it sounds like an out of memory issue. You might be able to check some error logs to confirm (if you’re using cPanel or similar there should be an option to view them from that dashboard).
Forum: Networking WordPress
In reply to: Invalid author importing single WordPress to Mulitsite WordPressI cannot reproduce this issue. Here are the steps I took:
1. Export ‘All Content’ from single site
2. Created a new site on test network
3. Imported the export file letting it create new users (except for one)This all worked as expected with my one of my users being mapped and the other four were created and had the appropriate posts/pages assigned to them.
4. Deleted all posts and pages from the import site
5. Re-imported but this time mapping to the users now existing on the siteAgain this worked as expected. Let me know if you think I did anything differently. I will also try a couple of other setups when I have some more time later on.
Just to clarify the behaviour you are seeing: all users imported, all posts/pages imported *but* all posts are marked as authored by the current, importing user?
Also it might really help me to reproduce if you could send me a copy of the export file if possible. Email wp AT lionsgoroar.co.uk if possible.
[PS. minor note, the importers were pulled out of core in 3.0]
Any images properly referenced in <img> tags within post content should be added to the sitemap. So CSS background images will not be added. PNGs and their transparency makes no difference.
Check your themes functions.php file and other plugins for trailing whitespace (or opening whitespace) outside of the <?php and ?> tags. I think something is outputting whitespace before the SEO plugin has a chance to display the sitemap and that is the most likely cause.
Check your themes functions.php file and other plugins for trailing whitespace (or opening whitespace) outside of the <?php and ?> tags. I think something is outputting whitespace before the SEO plugin has a chance to display the sitemap and that is the most likely cause.
1. http://…/sitemap.xml is not the URL, it is http://…/sitemap_index.xml — which also 404s for you, but just to be clear.
2. The request doesn’t seem to be reaching WordPress and the plugin as it’s returning a 404 generated by Apache. This is something to do with your server setup not passing .xml$ requests to WordPress.
3. You do not have WordPress pretty permalinks enabled anyway so the sitemap_index.xml internal rewrite will not work.
Forum: Plugins
In reply to: [WordPress Importer] Users not being importedIf you edit the plugin and change line 17 so that IMPORT_DEBUG is true then you will get some more information as to why these users are not being imported.
define( 'IMPORT_DEBUG', false );The most likely reason is that there are already users with the same login or email address registered to the site.
Forum: Plugins
In reply to: [WordPress Importer] Problems importing wordpressThe WordPress PHP scripts do not have the correct permissions to create the necessary upload directories in which the import file will be stored.
You’ll have the same issue when trying to add new Media to this WordPress site as WordPress will not be able to upload the files correctly.
Speak to your web host about the best method to fix the issue.
The importer installs and runs fine for me on WP 3.1.3. Have you tried deactivating all other plugins and switching to the default theme before installing?
Forum: Plugins
In reply to: [WordPress Importer] [Plugin: WordPress Importer] Imports only 1 then stopsThanks. Will take a look ASAP.
Forum: Plugins
In reply to: [WordPress Importer] [Plugin: WordPress Importer] Imports only 1 then stopsI assume you’re expecting more than 1 post to be imported.
Are you seeing any error messages? Does it show the “All finished. Have fun” text or is it blank?
I need more details to be able to diagnose the problem. The export file that isn’t working would be helpful too — you can send it to me by email at wp [AT] lionsgoroar.co.uk if possible.