Support is online

Import Joomla content in J3.3 from J2.5 #7173

Open ctrouillas opened this topic Thursday, 26 February 2015 · 13 replies
Author

Hi,

I try this time to import my content ; but for some reason it only imports the first article.
Enclosed the document.

Thanks for your support,

C

Support

Hello,

Where is the debug log?

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

here !-)

Support

You are not including all necessary fields. Have a look at the document at the Import Joomla content tutorial.Now nothing is being processed.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Hi Roland,

Right, I could not find the support doc; I have now the articles inserted but not the categories.
What should be done?

Chris

Support

Hey Chris,

Right, I could not find the support doc;

I wonder why, is the name Import Joomla content not specific enough?

; I have now the articles inserted but not the categories.
What should be done?

You do a category import, I guess you can't find the Import Joomla categories documentation for that either ;)

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

I wonder why, is the name Import Joomla content not specific enough?

There is no CAT on this page just a link and I thought the doc was not ready...
http://www.csvimproved.com/en/support/import/207-joomla-content

I managed to import the categories now ;-) but the articles are not assigned to the right categories; everything is uncategorized;

No ancient category is in the trash.
Enclosed the articles content and categories.

Thanks

Support

but the articles are not assigned to the right categories; everything is uncategorized;

Which is weird because when I look at the debug log you posted I see that article 4 is assigned to category ID 49 and article 5 is assigned to category ID 2. The category ID 2 is your uncategorised category. This happens when CSVI can't find the category specified in the category path.

The query looking for the category in article 5 is

select id from X_categories where extension = 'com_content' and path = 'conseils/soins/soins-visage-corps/problemes-solutions';

where X is your Joomla prefix. This most likely returns no results because when the result is empty, it sets a category to Uncategorised. Can you check if that query returns any result? If not then the path is not correct.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Re-Hi,

Actually it returns the correct Id : 74 :blink:

Support

Chris,

I have sent you a PM, have you seen that?

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Thanks for the follwing ; I have resent it ;

Support

Hello Chris,

This issue has been solved and you can now import articles with their categories.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Thanks!
What was wrong?
Do I need to check something in the DB to avoid this next time or in CSVI?

Support

The problem was CSVI checking the category path twice and the second iteration caused the Uncategorised to be returned, hence all your articles are in the Uncategorised category.

No need to do anything. The next CSVI release will contain the fix I applied on your site.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Log in to reply to this topic.