Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: Division by zero


gty

Recommended Posts

I keep getting this error on product listing and on reviews.I have checked the max config values in admin...none are set to 0 anybody have any clues?

here is the error

Warning: Division by zero in /home/***/public_html/catalog/includes/classes/split_page_results.php on line 101

 

Warning: Division by zero in /home/***/public_html/catalog/includes/classes/split_page_results.php on line 104

 

here is lines 101 and 104

 

if ($this->current_page_number % $max_page_links) $cur_window_num++;

 

if ($this->number_of_pages % $max_page_links) $max_window_num++;

 

thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...