COMMUNITY FORUM
Tool for importing / exporting items to / from K2
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
Please Log in or Create an account to join the conversation.
- gerald sisimayi
-
- Offline
- Senior Member
- Posts: 44
Please Log in or Create an account to join the conversation.
- Ralf Longwitz
-
- Offline
- Junior Member
- Posts: 35
importing items, please stand by
items were imported, but with some problems:
row: 2 - save item -
could not copy the file 002611.jpg
Row: 2 / memory peak: 22 MB
When the link to the images is wrong I get the expected "not found" message, so the path should be ok.
What else could be wrong?
Thank you!
---
J! 2.5.7
K2 2.6.1
K2Import 0.9a
php5.3 (XAMPP)
Please Log in or Create an account to join the conversation.
- Ralf Longwitz
-
- Offline
- Junior Member
- Posts: 35
There's still another problem:
After importing the 25 items of my test file, the importer keeps importing infinitely.
The item title will be like this:
Imported Item - 2012-10-22 09:45:57
Any idea?
(This is now K2Import v. 0.9stable)
Please Log in or Create an account to join the conversation.
- Brian Gislason
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
For importing images you need to give the whole path of the image. e.g. you can put them in the tmp directory. see the example file on my page: www.individual-it.net/Instructions-for-K2-Import-Component.html
Please Log in or Create an account to join the conversation.
- Sunil Sinha
-
- Offline
- New Member
- Posts: 19
Thanks.
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
sorry I cannot watch the complete forum but I try to answer the questions in this thread.
Here is the Instructions for the K2 import/export component.
Its imports and exports K2 items. So you eather could create a CSV based on my example or you just create some K2 items and hit the export button, then you get a nice example file.
P.S. In my experience LibreOffice handles the CSV files better than Excel.
Hope that helps, if not ask again.
Please Log in or Create an account to join the conversation.
- Stéphane Lumbroso
-
- Offline
- New Member
- Posts: 15
I buy com_k2import_0.9a
I want to export in k2 in joomla 3
it is possible ??
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
Please Log in or Create an account to join the conversation.
- Stéphane Lumbroso
-
- Offline
- New Member
- Posts: 15
Do you know how can i do ?
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
2. Check the documentation of Joomla 3.0
3. change the code
If you are seriously interested in changing the extension I can send you it for free.
Please Log in or Create an account to join the conversation.
- wintercorn
-
- Offline
- New Member
- Posts: 13
All items uploaded have a Created date of 30/11/1999 - 00:00 despite the csv containing a date of 22/01/2013 13:47:00 which is the same format as the export I did.
Also, when uploaded they don't appear on the frontend even though published. It requires me to unpublish and then publish them to appear correctly.
Any ideas?
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
Check the file with a text editor. Exel & Calc & Co. often change the date format.
About the publish. What version of K2 and Joomla do you use?
Please Log in or Create an account to join the conversation.
- Claude
-
- Offline
- New Member
- Posts: 3
I used your component to import data from an LibreOffice file.
Everything is working fine and items are created in K2 (v2.6.1) ... but they are not automatically saved so I have to open and save each item individually, and I cannot do that with more than 1600 items loaded this way.
My dates have the corret format you are mentionning (I use LibreOffice and I checked with a text editor) and they are well recorded in K2.
So, do you have any other way to auto-save these item when importing ?
Thanks in anticipation for a swift reply ....
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
the extension is made and tested for K2 2.4.x and 2.5.x
check the K2 MySQL table what happends when you save an item manually and maybe we can figure out how to automate the saving.
Please Log in or Create an account to join the conversation.
- Catherine van Dyk
-
- Offline
- New Member
- Posts: 2
Import is working fine, but when i try to open an imported item, I have this error message:
DateTime::__construct() [datetime.--construct]: Failed to parse time string (30-11--0001 00:00:00) at position 0 (3): Unexpected character
and I can not open the item.
The same thing happen with the example csv file.
Can you help ?
Joomla 2.5.8 / K2 2.6.2 / K2Import 0.9a / French
Thks!
Please Log in or Create an account to join the conversation.
- Claude
-
- Offline
- New Member
- Posts: 3
Looking at the data base I found where is the problem that blocks auto-saving for new imported items (using K2 v2.6.1).
This is the "Language" value that is missing. Your tool needs to manage this value. I am using the site with 'multilanguage' and the value in this case is " * " .
Hope you can fix this problem swiftly !
Thanks in anticipation for your help :) !
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
please see my post a week ago.
The date format has to be YYYY-MM-DD hh:mm:ss e.g. 2011-03-02 11:25:00
P.S. at the moment the extension is just tested for K2 2.4.x and 2.5.x
Please Log in or Create an account to join the conversation.
- Claude
-
- Offline
- New Member
- Posts: 3
Whatever,mMy personal problem is not dates format (because it is OK with this), but in spite of that auto-saving of imported items is not working.
Obviously for the recent version of K2 (v 2.6.1) you also need to manage the "Language" parameter.
So the key is to attribute the value "*" to this parameter. i did it in the data base and my items were saved without any other actions.
So, you need to add this to your tool for being able to use it properly with current version of K2.
hope you will fix the problem soon because I have 1600 items to load !
Thanks in anticipation !
Please Log in or Create an account to join the conversation.