News:

Support the VirtueMart project and become a member

Main Menu

Division by zero in default_categories.php

Started by sentiao, March 06, 2012, 16:41:12 PM

Previous topic - Next topic

sentiao

Hi, I get the following 2 errors after adding a product to the shoppingcart.

Warning: Division by zero in /.../components/com_virtuemart/views/virtuemart/tmpl/default_categories.php on line 11

Warning: Division by zero in /.../components/com_virtuemart/views/virtuemart/tmpl/default_categories.php on line 40

PRO

u have the categories per row empty or something.

Go to vmart configuration, and hit save

sentiao

I do not wish to sound rude, but I don't understand your reply. I have no empty categories, I don't know what you mean by "categories per row".
There's no save-button in the Virtuemart configuration page itself, where do you want me to hit save?

:-\

PRO

what do you have set for "default categories per row"

ND the save is the normal joomla save button at the top

sentiao

Where do I find this setting "default categories per row" ?


PRO

Quote from: sentiao on March 13, 2012, 12:56:25 PM
Where do I find this setting "default categories per row" ?

in your vmart configuration.

"templates tab"