Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ошибка Division by zero in

Recommended Posts

Привет всем! Я в opencart только начинаю изучать и не могу разобраться с ошибкой (деление на нуль):

Warning: Division by zero in /home/a/website.ru/public_html/catalog/controller/product/octestimonial.php on line 69

А страница сайта в иероглифах каких-то...

$data['results'] = sprintf($this->language->get('text_pagination'), ($testimonial_total) ? (($page - 1) * $limit) + 1 : 0, ((($page - 1) * $limit) > ($testimonial_total - $limit)) ? $testimonial_total : ((($page - 1) * $limit) + $limit), $testimonial_total, ceil($testimonial_total / $limit));
Link to comment
Share on other sites

  • Tom locked this topic
This topic is now closed to further replies.

  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.