1. sanjiovani
  2. RO CSVI
  3. Tuesday, 27 August 2013
  4.  Subscribe via email
Hello getting the following error

Oops something went wrong.

Let me try to show the warning below here. If nothing shows up then I didn't get any data, sometimes this is caused by faulty plugins.

Cancel the import and check if all settings are correct and try the import again. Status error: 200 Status message: OK
Warning: Invalid argument supplied for foreach() in /home/ilovef/public_html/administrator/components/com_csvi/models/com_k2/import/itemimport.php on line 451

Please advise
Accepted Answer Pending Moderation
Hello,

How does the file, that you are importing, look like? Please post a sample.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
here you go
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
extra fields are not being imported - I have to do it manually
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
The extra fields are not yet supported on the Item import. There is a patch available to add this feature. The instructions can be found here and the updated patch here. The new release coming out this weekend will include this patch.

Did you already install a patch file? Line 451 is not available in the file on the 5.11 release. Try the patch I linked here and give it a go. If it doesn't go, post your debug log for me to check.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
the patch is installed -

I continue to get the follow msg

Cancel the import and check if all settings are correct and try the import again. Status error: 200 Status message: OK
Warning: Invalid argument supplied for foreach() in /home/ilovef/public_html/administrator/components/com_csvi/models/com_k2/import/itemimport.php on line 451
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
I think the patch is not installed correctly or you have the wrong file because there is no foreach on line 451 in the patch I linked in my previous post.

The file itemimport.php in the folder administrator/components/com_csvi/models/com_k2/import should have 483 lines. Line 451 says:
if (!empty($value))
Check if you have the correct file.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
I have installed the the latest version but continue to get the following error

Let me try to show the warning below here. If nothing shows up then I didn't get any data, sometimes this is caused by faulty plugins.

Cancel the import and check if all settings are correct and try the import again. Status error: 200 Status message: OK
Warning: implode() [function.implode]: Invalid arguments passed in/home/ilovef/public_html/administrator/components/com_csvi/models/com_k2/import/itemimport.php on line 447

nothing is uploading
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
added cat id and now getting the following error

Oops something went wrong.

Let me try to show the warning below here. If nothing shows up then I didn't get any data, sometimes this is caused by faulty plugins.

Cancel the import and check if all settings are correct and try the import again. Status error: 500 Status message: Internal Server Error
I Love Film
System
Users
Menus
Content
Components
Extensions
Help
admin
I Love Film
Error
An error has occurred.
1054 Unknown column 'ZfYMlSN1aTc' in 'where clause' SQL=SELECT id FROM `jos_k2_items` WHERE `alias`='Beneath the Harvest Sky' AND `catid`=ZfYMlSN1aTc
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Importing k2 extra fields does not work - I have tried almost everything.
it's one error after another - I have spent approx 4 hours trying to get it to work

I finally removed all of the extra fields and I was able to upload with no problems
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Have looked into this and there were a number of issues to fix
  1. The Autodetect delimiters was on but the import file was not consistent in it's use, so this is turned off
  2. The fields were not in sequential order
  3. The link fields were not in the expected format
After those changes the file could be imported.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
Thanks Roland - that was very helpful :)

Still getting an error on my site with the imported k2 content


Fatal error: Call to undefined method K2ViewItemlist::buildAliasBasedExtraFields() in /home/ilovef/public_html/components/com_k2/models/item.php on line 1517
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
Do you have a link where I can see this error? This looks more like a K2 error than a CSVI error because K2 is calling one of it's own functions but can't find it.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 12
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!