pagination error

  • Posts: 6
  • Thank you received: 0
11 years 5 months ago #109770

The following error message is showing in a catagory.

Notice: Undefined property: hikashopPaginationHelper::$viewall in /var/www/vhosts/aquaria-shop.nl/httpdocs/administrator/components/com_hikashop/helpers/pagination.php on line 171

?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 5 months ago #109791

Hi,

Which version of HikaShop and Joomla are you using ?
HikashopPaginationHelper is an extend of the Joomla Pagination class (JPagination) which should contain by definition the "viewall" variable.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 6
  • Thank you received: 0
11 years 5 months ago #109885

Hi,

Joomla 3 and Hikashop Essential 2.1.3
www.aquaria-shop.nl

I just know some basics of programming. Hope you can help me out.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #109984

Hi,

As Jerome said, you should have the "viewall" variable from the Joomla JPagination class.
You can replace:

$viewall = $this->viewall;
By:
$viewall = (isset($this->viewall))?$this->viewall:0;

In the file "administrator/components/com_hikashop/helpers/pagination.php" l.171, in order to set a default value if the variable is not defined.

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

  • Posts: 6
  • Thank you received: 0
11 years 5 months ago #110115

Thanks for the help.

Regards,
Patrick

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

Time to create page: 0.069 seconds
Powered by Kunena Forum