By Donald Griswold on Saturday, 20 February 2016
Posted in Technical Issues
Replies 12
Likes 0
Views 806
Votes 0
I have wordpress xml exports I am trying to import. I have them in the correct location, select the correct file, choose the blogger to import as and hit the migrate button. My issue is that it takes a long time to import.

Is there a limit to the size of the xml file?
Mine range from 50kb to 4mb. They seem to hang on the larger ones, even though the gear keeps spinning.

Also is there a way to import the hits number?

Thanks
Also if there are multiple tags in the wordpress blog, only the primary gets assigned though the easyblog import. Is there a way to get all of the tags the blog is assigned to imported?

Thanks
·
Saturday, 20 February 2016 04:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Donald,

I am really sorry for the delay of this reply as it is a weekend for us here. If I recall correctly, the xml file generated by Wordpress doesn't include "hits", this is why the migrator isn't able to get the "hits" from the Wordpress dump

As for the tags, from the code, it does seem like it is actually mapping them all. I need to test this on the site and see why it isn't importing the rest of the tags.
·
Saturday, 20 February 2016 20:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Where do I send the info to give you access?
·
Wednesday, 24 February 2016 03:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there Donald!

You can give us the info by editing your first post and fill the Site Details section. Do give us the website back-end superuser access as well as the FTP log in details.

By the way, please remember to assign your domain to your license to obtain for support in the future. You can do so by accessing your license area at http://stackideas.com/dashboard

Hope to hear from you soon!
·
Wednesday, 24 February 2016 12:20
·
0 Likes
·
0 Votes
·
0 Comments
·
I have added the information. Please look over the migrator and notes I put in the edited original post.

Thanks
·
Friday, 26 February 2016 02:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Donald,

I am really sorry for the delay of this reply.

Regarding the issue where the migrator not importing multiple categories, We've fixed this issue internally. Also, the reason you hitting the stall issue is because the process has timeout. We've rewrote this xml wordpress migrator so that the migration process will now send multiple request to server to ensure the migration process will not timeout. I've also patched the fix on your test site and below are the files that I've modified:

JOOMLA/administrator/components/com_easyblog/views/migrators/view.html.php
JOOMLA/administrator/components/com_easyblog/views/migrators/view.ajax.php
JOOMLA/administrator/components/com_easyblog/themes/default/migrators/adapters/wordpress.php
JOOMLA/administrator/components/com_easyblog/themes/default/migrators/adapters/wordpress.js
JOOMLA/administrator/components/com_easyblog/includes/migrator/adapters/wordpress_xml.php

For your information, I've successfully migrated the below xml file into your EasyBlog
understandingcombatptsd.wordpress.2016-02-19.xml

However, when I attempt to migrate the file 'breakingbipolar.wordpress.2016-02-19.xml', I hit simplexml parse error:

"parser error : CData section not finished Background: The serotonin transporter (5-HTT)-link"

Look like there are some invalid tags in this xml file which causing simplexml lib failed to parse the file for processing. Can you re-export your wordpress again and upload into your EasyBlog in your test site and try again?

Please advise.
Sam
·
Saturday, 27 February 2016 17:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you so much! This fixed the issue but I think created another. None of the comments made it into the site when I migrated the blogs. Can you please look at this.

I am using Komento to display the comments on the front end and that is how I realized the comments were not there. Starting at Komento id 13939 they are all blank. All of the blogs in easy blog starting with the new imports do not have comments. So Komento is working fine, the import didn't copy the wordpress blog comments.

Please help.

Thanks again.
·
Tuesday, 08 March 2016 05:59
·
0 Likes
·
0 Votes
·
0 Comments
·
It also looks like Easyblog - Categories Module isn't working. Connecting to the new imported categories gives a "No category has been created yet" error.
·
Tuesday, 08 March 2016 06:24
·
0 Likes
·
0 Votes
·
0 Comments
·
The blogs> "our Mental Health Blogs" section on the right, click "Breaking Bipolar". There you will see the module and the comments not working.
·
Tuesday, 08 March 2016 23:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Donald,

I am really sorry for the delay of this reply,

I am still investigate on your migration comment issue.

However, regarding with your another 2 issue, it would be best if you can post in next thread regarding with your separate issue so it will be easier for us to manage your inquiry.

It also looks like Easyblog - Categories Module isn't working. Connecting to the new imported categories gives a "No category has been created yet" error.

I've checked in your test site, it seems like you are still using very old version of Easyblog, may i know what Easyblog version you using in your live site? Because I remember this issue already solved in latest version.

The blogs> "our Mental Health Blogs" section on the right, click "Breaking Bipolar". There you will see the module and the comments not working.

Do you mean when you click one of the comment "created date" link from this page http://www.healthyplace.com/2015backup31/index.php?option=com_easyblog&view=entry&id=4673&Itemid=231 , it didn't show the comment right? Based on what I observation, it look like you haven't enable komento integration in your Easyblog yet, you can refer on my screenshot here : http://screencast.com/t/i6WIXUi6R3j

I will keep you update the comment migration issue.
·
Wednesday, 09 March 2016 16:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Donald,

After investigate comment migration issue, it seems like wordpress updated their xml comment attribute again, you can download my attached file and replace into JoomlaFolder\administrator\components\com_easyblog\includes\migrator\adapters\wordpress_xml.php and see how it goes?

It would be best if you can re-migrate again in your live site, but you have make sure everything run smoothly in your test site first before process in your live site.

After you replace the file, you have to run these following SQL queries to clear all of your migrated post/category/tag/comment/revision data from your database :


// Run this first
delete from `jos_easyblog_post` where `id` in (select `post_id` from `jos_easyblog_migrate_content` where `component` = 'xml_wordpress' and filename like '%/xmlfiles/understandingcombatptsd.wordpress.2016-02-19.xml');

// second
delete from jos_easyblog_post_category where post_id not in (select id from jos_easyblog_post);

// third
delete from jos_easyblog_post_tag where post_id not in (select id from jos_easyblog_post);

// fourth
delete from jos_easyblog_revisions where post_id not in (select id from jos_easyblog_post);

// fifth
delete from jos_easyblog_migrate_content where component = 'xml_wordpress' and filename like '%/xmlfiles/understandingcombatptsd.wordpress.2016-02-19.xml';



Regarding this value : %/xmlfiles/understandingcombatptsd.wordpress.2016-02-19.xml , you have to follow back which xml file you would like to delete that migrated data first, then change that xml file file manually before run the sql queries.
·
Wednesday, 09 March 2016 17:51
·
0 Likes
·
0 Votes
·
0 Comments
·
And replace your database prefix e.g.

`jos_easyblog_post`

//replace with

`yourDBPrefix_easyblog_post`
·
Wednesday, 09 March 2016 17:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post