Post by SavSiteDesign » Wed Oct 22, 2014 4:37 am

Division by zero in /admin/controller/user/user.php on line 253

I am getting this error after resolving several other errors on an upgrade from 1.5.6 to 2.0

Code: Select all

		$data['pagination'] = $pagination->render();

(Line 253)		$data['results'] = sprintf($this->language->get('text_pagination'), ($user_total) ? (($page - 1) * $this->config->get('config_limit_admin')) + 1 : 0, ((($page - 1) * $this->config->get('config_limit_admin')) > ($user_total - $this->config->get('config_limit_admin'))) ? $user_total : ((($page - 1) * $this->config->get('config_limit_admin')) + $this->config->get('config_limit_admin')), $user_total, ceil($user_total / $this->config->get('config_limit_admin')));

		$data['sort'] = $sort;
	
Anyone have a solution, please let me know - I haven't seen a division by zero error since working with VB6 - Thanks

Newbie

Posts

Joined
Tue Apr 17, 2012 6:32 pm

Post by SavSiteDesign » Wed Oct 22, 2014 8:32 am

I have fixed the issue - ran the sql manually

Newbie

Posts

Joined
Tue Apr 17, 2012 6:32 pm
Who is online

Users browsing this forum: Google [Bot] and 10 guests