Hi, I have been receiving this error for quite some time:-
Division by zero system/library/pagination.php on line 32 which is $num_pages = ceil($total / $limit);
I did make mention of it in a previous post http://forum.opencart.com/viewtopic.php ... 89#p221689
When I did a google search on the error, a number of sites came up.
https://www.google.com.au/search?q=Divi ... iQfhr5CeCg
Any ideas for a solution, or what could be causing this?
It's OC 1.5.1.3
I was just checking the revisions and noticed line 25 has changed if (!(int)$this->limit) {
http://code.google.com/p/opencart/sourc ... hp&old=778
I'll backup the error log, clear it and see if it re-occurs.
http://code.google.com/p/opencart/sourc ... hp&old=778
I'll backup the error log, clear it and see if it re-occurs.
Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/
It's been nearly 2 days so far, and the error has yet to return. :-)
Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/
Hi, I just followed the link, and yes it is now blank. Sorry.
Original (Line 25-26)
if (!$this->limit) {
$limit = 15;
Revised (which is working for me)
if (!(int)$this->limit) {
$limit = 10;
Original (Line 25-26)
if (!$this->limit) {
$limit = 15;
Revised (which is working for me)
if (!(int)$this->limit) {
$limit = 10;
Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/
Who is online
Users browsing this forum: No registered users and 34 guests