- Posts: 6
COMMUNITY FORUM
Tool for importing / exporting items to / from K2
- Individual IT
-
- Offline
- New Member
what version of k2,Joomla and the extension are you using?
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
It will fix some problems of the previous version!
Please check your download link to see if its still valid. If yes you will be able to download the update free of cost.
Please Log in or Create an account to join the conversation.
- Michaël FRIPPIAT
-
- Offline
- New Member
- Posts: 4
I have an issue when I try to import a CVS file in K2import.
Here are the logs:
AH01071: Got error 'PHP message: PHP Warning: require_once(/XXXX/httpdocs/administrator/components/com_k2/lib/JSON.php): failed to open stream: No such file or directory in /XXXX/httpdocs/administrator/components/com_k2import/controller.php on line 154
Any idea where it could comes from?
Many thanks for your help!
Michaël
Please Log in or Create an account to join the conversation.
- craig kennedy
-
- Offline
- New Member
- Posts: 9
I have some key categories and one product setup in K2.
I go to the import tool, and without selecting any items click export
I then get the following message
exporting items, please stand by
14 items were successfully exported
memory peak: 8.5 MB
exporting items, please stand by
undefined items were exported, but with some problems:
illegal value for $items_to_do
#0 /var/www/vhosts/*********/************/************/three/administrator/components/com_k2import/controller.php(1135): K2importModelK2import->export(Array, 14, -13) #1 /var/www/vhosts/*********/************/************/three/libraries/legacy/controller/legacy.php(702): K2importController->export() #2 /var/www/vhosts/*********/************/************/three/administrator/components/com_k2import/k2import.php(44): JControllerLegacy->execute('export') #3 /var/www/vhosts/*********/************/************/three/libraries/cms/component/helper.php(405): require_once('/var/www/vhosts...') #4 /var/www/vhosts/*********/************/************/three/libraries/cms/component/helper.php(380): JComponentHelper::executeComponent('/var/www/vhosts...') #5 /var/www/vhosts/*********/************/************/three/libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent('com_k2import') #6 /var/www/vhosts/*********/************/************/three/libraries/cms/application/administrator.php(152): JApplicationAdministrator->dispatch() #7 /var/www/vhosts/*********/************/************/three/libraries/cms/application/cms.php(261): JApplicationAdministrator->doExecute() #8 /var/www/vhosts/*********/************/************/three/administrator/index.php(51): JApplicationCms->execute() #9 {main}
memory peak: undefined
Export finished. Click here to download data
The link at the bottom simply displays
An error has occurred.
0 illegal filename
Return to Control Panel
Please Log in or Create an account to join the conversation.
- Individual IT
-
- Offline
- New Member
- Posts: 6
They have deleted one file in that version of K2. That's why you have to use the version 2.5 of my tool
Please Log in or Create an account to join the conversation.
- Individual IT
-
- Offline
- New Member
- Posts: 6
Please Log in or Create an account to join the conversation.
- Individual IT
-
- Offline
- New Member
- Posts: 6
In the meantime you could try to create some more items before exporting and see if it works
Please Log in or Create an account to join the conversation.
- Individual IT
-
- Offline
- New Member
- Posts: 6
In the meantime you could try to create some more items before exporting and see if it works
Please Log in or Create an account to join the conversation.
- Michaël FRIPPIAT
-
- Offline
- New Member
- Posts: 4
However, my version seems to be the last one: 2.5.ALPHA.4
What should I check else?
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.
- craig kennedy
-
- Offline
- New Member
- Posts: 9
Please Log in or Create an account to join the conversation.
- Dean
-
- Offline
- New Member
- Posts: 15
K2 V 2.7.1
K2Import Tool com_k2import_2.5.BETA.2
Never mind I figured it out. Things have changed since K2 v2.7...I just needed to add the path for a windows server.
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.
- Dean
-
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- Rodolfo Ferro Casagrande
-
- Offline
- New Member
- Posts: 9
I'm trying to move K2 items from a Joomla! 2.5.7 to a Joomla 3.6.5 (current stable version).
I have installed:
Joomla! 2.5: K2 Import 1.4.1
Joomla 3.6: K2 Import 2.5 Beta 2
I have problems importing the gallery images. Now I exported just 1 category with 1 article associated to make some tests and the error is always the same: "Could not copy the file image.jpg"
I even get a lot of "Strict standards" and "Notice' but I know they are not errors.
The "tmp" path folder is correct and writable on both sites, but the "k2_import" folder that is supposed to be inside, is never created.
I gave chmod 777 to both sites. I'm running them on a MAMP server locally on my machine.
Here I have a screenshot of the errors. uploadme.me/img/Ly8
If someone could help me, that would be great.
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 first change the Error Reporting as suggested in the error message in your screen shot
And also it would be great to see your CSV file.
I have also never tested the import on a Mac as I don't own one, so that might be a problem too.
Please Log in or Create an account to join the conversation.
- Rodolfo Ferro Casagrande
-
- Offline
- New Member
- Posts: 9
Here you have the CSV: marrone.altervista.org/export.csv
Here the new screenshot with the error, after have set the error reporting to "simple": marrone.altervista.org/error.jpg
Important: during the first and the second step, in the new Joomla site, after have uploaded the CSV file, I didn't change any default setting. So for example "Root of files (images/attachments)" is set to "/"... This is why, the new Joomla is totally fresh with no items.
Thanks 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 Log in or Create an account to join the conversation.
- Rodolfo Ferro Casagrande
-
- Offline
- New Member
- Posts: 9
In the "Root of files (images/attachments)" I tried:
- /
- path to new site
- path to old site
- no path at all
Nothing worked
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
In the CSV file please try to use the full path /Applications/MAMP/htdocs/snipetoday.org/.......
Please Log in or Create an account to join the conversation.