Keyword

Tool for importing / exporting items to / from K2

More
8 years 6 months ago #158782 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
Hi Marietto,
what version of k2,Joomla and the extension are you using?

Please Log in or Create an account to join the conversation.

  • Individual IT
  • Individual IT's Avatar Topic Author
  • Offline
  • Elite Member
  • Developer of the K2 Import / Export Tool
More
8 years 6 months ago #158862 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
A bug-fix version (2.5.BETA.1) is online!
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.

More
8 years 3 months ago #160069 by Michaël FRIPPIAT
Replied by Michaël FRIPPIAT on topic Tool for importing / exporting items to / from K2
Hi,

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.

More
8 years 3 months ago #160080 by craig kennedy
Replied by craig kennedy on topic Tool for importing / exporting items to / from K2
Just installed, tried 2.2, 2.4 and then the Beta 1 2.5, 2.5 is better but I still cannot get it working right.

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.

More
8 years 3 months ago #160083 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
@Michaël could it be that you are using the version 2.4 of the tool together with K2 2.7.1
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.

More
8 years 3 months ago #160084 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
@Michaël could it be that you are using the version 2.4 of the tool together with K2 2.7.1They 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.

More
8 years 3 months ago #160085 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
@Craig this looks like a bug. I will investigate it and come back to you.
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.

More
8 years 3 months ago #160086 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
@Craig this looks like a bug. I will investigate it and come back to you.
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.

More
8 years 3 months ago #160087 by Michaël FRIPPIAT
Replied by Michaël FRIPPIAT on topic Tool for importing / exporting items to / from K2
Thank you for your reply.

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
  • Individual IT's Avatar Topic Author
  • Offline
  • Elite Member
  • Developer of the K2 Import / Export Tool
More
8 years 3 months ago #160088 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
The latest version is 2.5.BETA.1 www.individual-it.net/en/Joomla/#27

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #160094 by craig kennedy
Replied by craig kennedy on topic Tool for importing / exporting items to / from K2
The bug fix wrked perfect, I no longer have any issues at all, super speedy response back on this, and perfect fix.

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago - 8 years 2 months ago #160771 by Dean
I am having issues getting the images to import. I have tried using the direct URL to each image with no luck.

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.
Last edit: 8 years 2 months ago by Dean. Reason: figured it out

Please Log in or Create an account to join the conversation.

  • Individual IT
  • Individual IT's Avatar Topic Author
  • Offline
  • Elite Member
  • Developer of the K2 Import / Export Tool
More
8 years 2 months ago #160779 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
@Dean can you tell me what the problem was?

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #160911 by Dean
Yes sir it was me not reading how the images import now. I was not doing it like it was telling me to on the page after I import the csv.

Please Log in or Create an account to join the conversation.

  • Rodolfo Ferro Casagrande
  • Rodolfo Ferro Casagrande's Avatar
  • Offline
  • New Member
More
8 years 1 month ago #161051 by Rodolfo Ferro Casagrande
Replied by Rodolfo Ferro Casagrande on topic Tool for importing / exporting items to / from K2
Hello,

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
  • Individual IT's Avatar Topic Author
  • Offline
  • Elite Member
  • Developer of the K2 Import / Export Tool
More
8 years 1 month ago #161062 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
Hi,
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
  • Rodolfo Ferro Casagrande's Avatar
  • Offline
  • New Member
More
8 years 1 month ago - 8 years 1 month ago #161064 by Rodolfo Ferro Casagrande
Replied by Rodolfo Ferro Casagrande on topic Tool for importing / exporting items to / from K2
Hello,

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
Last edit: 8 years 1 month ago by Rodolfo Ferro Casagrande.

Please Log in or Create an account to join the conversation.

  • Individual IT
  • Individual IT's Avatar Topic Author
  • Offline
  • Elite Member
  • Developer of the K2 Import / Export Tool
More
8 years 1 month ago #161089 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
Please try full path for the gallery images, same as in the Item image

Please Log in or Create an account to join the conversation.

  • Rodolfo Ferro Casagrande
  • Rodolfo Ferro Casagrande's Avatar
  • Offline
  • New Member
More
8 years 1 month ago #161113 by Rodolfo Ferro Casagrande
Replied by Rodolfo Ferro Casagrande on topic Tool for importing / exporting items to / from K2
What do you mean?

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
  • Individual IT's Avatar Topic Author
  • Offline
  • Elite Member
  • Developer of the K2 Import / Export Tool
More
8 years 1 month ago #161173 by Individual IT
Replied by Individual IT on topic Tool for importing / exporting items to / from K2
I'm talking about the CSV file.
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.


Powered by Kunena Forum