-
AuthorPosts
-
trevorellis Friend
trevorellis
- Join date:
- August 2016
- Posts:
- 83
- Downloads:
- 61
- Uploads:
- 9
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
November 30, 2016 at 11:22 am #991257When I import into K2 all of my items had JSON errors. I had to delete the content in the MetaData column in the Joomla content table ({"robots":"","author":"","rights":"","xreference":""}) which was causing the problem.
Once I had done this I had to delete all the K2 Content and Reimport successfully. I am not sure what effect this will have to future searchability of my site?
Has the issue now been fixed in K2 2.7.1 ?
I am using Uber with K2.
Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
December 1, 2016 at 9:59 am #991539Hi,
Correct me if I’m wrong but JA K2 Data migration extension helps to import K2 items to com_content. While you import com_content to K2 and face that issue, is that correct?
Regards
trevorellis Friendtrevorellis
- Join date:
- August 2016
- Posts:
- 83
- Downloads:
- 61
- Uploads:
- 9
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
January 29, 2017 at 12:24 pm #1006539Just imported Data into K2 in another site and got the same problem. I cannot open any of the Items I imported as I get a JSON error: "0 Error decoding JSON data: Syntax error "
I have deleted the content in the Metatable as before, deleted the Items and then re-imported successfully.I am still not sure what effect this will have to future searchability of my site?
Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
February 2, 2017 at 1:35 am #1007452Hi,
The JA K2 Data Migration plugin only imports data from k2 to Joomla content. Which component you open when you get the error JSON…. Please provide URL and admin login info.
I’ll take a look
Regards
March 13, 2017 at 4:05 am #1017587Hi,
Did you guys ever figure this out.
Just to be clear, this happens when you import from joomla content to K2. (from K2)
Thanks
Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
March 15, 2017 at 3:14 am #1018398Hi,
Pls note that JA K2 Dat Migration plugin import data from K2 content to Joomla content only, NOT from Joomla to K2.
If you experience any issue, you can provide the URL and admin login info so I will take a look.
alainperron Friendalainperron
- Join date:
- April 2017
- Posts:
- 5
- Downloads:
- 4
- Uploads:
- 5
- Thanked:
- 1 times in 1 posts
April 12, 2017 at 3:20 am #1025873This reply has been marked as private.Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
April 12, 2017 at 3:38 am #1025880Hi,
You probably assign the same tag more than once into 1 item. For example, you have tag called: movie, sport… and you add ‘movie’ tag twice into 1 item.
If possible, put your site online and share me the credentials so I will check.
If not, you can take a backup of your site (use Akeeba backup) and send me the backup file, I will investigate in my local.
Regards
alainperron Friendalainperron
- Join date:
- April 2017
- Posts:
- 5
- Downloads:
- 4
- Uploads:
- 5
- Thanked:
- 1 times in 1 posts
April 12, 2017 at 2:20 pm #1026035This reply has been marked as private.Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
April 14, 2017 at 3:00 am #1026366You can try to run this sql query in phpmyadmin to find out duplicate tag.
select distinct id, tagID, itemID from prefix_k2_tags_xref t1 where exists (select * from jfe18d_k2_tags_xref t2 where t2.id <> t1.id and t2.tagID = t1.tagID and t2.itemID = t1.itemID )
And you can run this query to delete all the duplicate row (will remain 1 row)
DELETE x FROM prefix_k2_tags_xref x JOIN prefix_k2_tags_xref y ON y.tagID= x.tagID AND y.itemID = x.itemID AND y.id > x.id;
Change the "prefix" to your table prefix.
REMEMBER : BACKUP BEFORE HAND.alainperron Friendalainperron
- Join date:
- April 2017
- Posts:
- 5
- Downloads:
- 4
- Uploads:
- 5
- Thanked:
- 1 times in 1 posts
April 15, 2017 at 8:32 pm #1026611I work with your sql and the result is no record.
I try also the sql for delete and no surprise, no record was deleted.
I remove the sh404 extension and try to merge tags with an external extension from joomla works "merge tags" but does not work at all.
So I delete all tags without any exception.
After that I use your extension and import the k2 elements in content and all the categories and elements were imported. All works fine and I deinstall all k2 elements. I must reorganise my menus but that’s ok.
I work on my local test with a backup of the production site. Backup made with akeebabackup.
Thank you for your help. I can do that on the production site later at the mid june. -
AuthorPosts
This topic contains 10 replies, has 4 voices, and was last updated by alainperron 7 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum