Products: Reset number of possible downloads fails

  • Posts: 45
  • Thank you received: 2
12 years 5 months ago #30412

If I click on the left waste bin* when I am editing a single product, I get the error:

Fatal error: Call to a member function setQuery() on a non-object in C:\xampp\htdocs\joomla\administrator\components\com_hikashop\classes\file.php on line 166


* see:

Last edit: 12 years 5 months ago by klimmbimm.

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
12 years 5 months ago #30425

Please change the code:
$this->db->setQuery($query);
return $this->query();

by the code:
$this->database->setQuery($query);
return $this->database->query();

in the file administrator\components\com_hikashop\classes\file.php and that will fix the problem.

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

  • Posts: 45
  • Thank you received: 2
12 years 5 months ago #30610

Thank you!

Indeed this fixes the problem. Will this be fixed in the next Hikashop release?

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
12 years 5 months ago #30651

Yes it will.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum