Support is offline. We are back Monday 7 December, 09:00.

Oops something went wrong. #6456

Open sanjiovani opened this topic Tuesday, 27 August 2013 · 12 replies
Author

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

Support

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

Author

here you go

Author

extra fields are not being imported - I have to do it manually

Support

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

Author

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

Support

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

Author

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

Author

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

Author

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

Support

Have looked into this and there were a number of issues to fix [ol][li]The Autodetect delimiters was on but the import file was not consistent in it's use, so this is turned off[/li][li]The fields were not in sequential order[/li][li]The link fields were not in the expected format[/li][/ol] 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

Author

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

Support

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

Log in to reply to this topic.