Problems with import CSV

  • Posts: 148
  • Thank you received: 4
12 years 9 months ago #47390

Hi,
When i import items from CSV Hikashop give error:

Fatal error: Call to a member function setQuery() on a non-object in Z:\home\localhost\www\katalog\administrator\components\com_hikashop\helpers\import.php on line 722

Where is problems?

I think, that is may be descriptions of the items, becouse they include commas

I give CSV file for import, look it please

____________________-

That is allright
I make this problem

Attachments:
Last edit: 12 years 9 months ago by tefun.

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

  • Posts: 13201
  • Thank you received: 2322
12 years 9 months ago #47404

Hi tefun,

The problem is not due to the commas in the description. You can put commas.
I think it come from your encoding type, or something like that.

Your file only has special characters.

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #47418

Please replace the two occurrences of the code:
$this->database

to:
$this->db

in the file administrator/components/com_hikashop/helper/import.php and it should then work.

The following user(s) said Thank You: tefun

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

  • Posts: 148
  • Thank you received: 4
12 years 9 months ago #47456

Thanks!
But i did this
My CSV file had not needed fields. I filled in the fields and that is allright! B)

But, thank you for replay

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

Time to create page: 0.073 seconds
Powered by Kunena Forum