- Posts: 9
COMMUNITY FORUM
Tool for importing / exporting items to / from K2
- Sunny
- Offline
- New Member
I am using J!3.3.3 K2 v2.6.8. Import 2.1
I did an export of my data, then reimport.
When the import runs, it returns an error.
items were imported, but with some problems:
row: 1 - save item -
"2014-09-27 15:38:14" is not a valid date in the "created" column. Will set to 2014-10-01 06:04:16
"2014-09-27 15:38:14" is not a valid date in the "Publish Up" column. Will set to 2014-10-01 06:04:16
"0000-00-00 00:00:00" is not a valid date in the "Publish Down" column. Will set to 0000-00-00 00:00:00 what means "never"
Now I am not sure why it does not like the date format, as it seems to be exactly the same format.
My export file, if opened in text editor shows for example a publish date of "2014-09-27 15:38:14"
When viewed in excel, the column formats the data to 27-09-2014 15:38:14, so I change the date format for the columns to be yy-mm-dd, save and import, still the same error.
Can you help please.
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
Could you please post that file, so I can try to import it on my computer.
P.S. might be useful to know what version of PHP you are using.
Please Log in or Create an account to join the conversation.
- Sunny
- Offline
- New Member
- Posts: 9
I have committed the fix and retested, but it still fails, so I attach a csv which was just exported and has not been edited.
PHP Version is 5.3.29
Please Log in or Create an account to join the conversation.
- Sunny
- Offline
- New Member
- Posts: 9
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.2 for Joomla 3.x and 1.4 for Joomla 1.5 - 2.x
Please use the link you got after payment to download the new version. For most people that one should still work. For every EUR you pay you get 10 days of update-service.
www.individual-it.net/en/Joomla/#27
Please Log in or Create an account to join the conversation.
- Sunny
- Offline
- New Member
- Posts: 9
I have tested 2.2 and that appears to have resolved the date issue.
Next, click on the Import, but do not select a file first.
It returns error: An error has occurred. 0 The file could not be uploaded.
Personally, it should be better to have the import button disabled until a file has been selected or, provide feedback that no file has been selected.
Please Log in or Create an account to join the conversation.
- Alan Coyne
- Offline
- New Member
- Posts: 4
When I export items , I get a CSV files with just the column names. No items listed.
Joomla version : 1.5
OS version : Windows
K2 version : 2.1
K2 Import / Export tool version : 1.4
Any reason for this?
Thanks
Alan
Please Log in or Create an account to join the conversation.
- René Bresson
- Offline
- New Member
- Posts: 4
422 Found an unescaped quote in quoted field 31 of csv line 0 (text line 1). The first 50 chars from the start of the field are '"catItemTitle=\n'.
Can anyone help me? Thanks in advance!
Please Log in or Create an account to join the conversation.
- René Bresson
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Martin
- Offline
- New Member
- Posts: 14
Please Log in or Create an account to join the conversation.