Hallo !

Ich möchte das Template: http://www.iyosis.com/joomla-templates/iyosisj1 verwenden und kurz bevor sich die Seite grafisch aufbaut erscheint folgende Fehlermeldung:

Warning: Division by zero in .../iyosisj1/helper.php on line 14
Warning: Division by zero in .../iyosisj1/helper.php on line 18
Warning: Division by zero in .../iyosisj1/helper.php on line 22

Die Zeilen 1-22 in helper.php lauten:
01 -<?php
02 - $left_column=$this->params->get('left-column');
03 - $right_column=$this->params->get('right-column');
04 - $specified_width=$this->params->get('specified-width');
05 - if (!$this->countModules('left')) $left_column=-40;
06 - if (!$this->countModules('right')) $right_column=-40;
07 - $main_column=$specified_width-$left_column-$right_column-80;
08 - if ($this->countModules('user1')) $user123+=1;
09 - if ($this->countModules('user2')) $user123+=1;
10 - if ($this->countModules('user3')) $user123+=1;
11 - $user123=($specified_width-$user123*20)/$user123;
12 - if ($this->countModules('user4')) $user45+=1;
13 - if ($this->countModules('user5')) $user45+=1;
14 - $user45=($main_column-$user45*20)/$user45;
15 - if ($this->countModules('user6')) $user678+=1;
16 - if ($this->countModules('user7')) $user678+=1;
17 - if ($this->countModules('user8')) $user678+=1;
18 - $user678=($specified_width-$user678*20)/$user678;
19 - if ($this->countModules('user9')) $user91011+=1;
20 - if ($this->countModules('user10')) $user91011+=1;
21 - if ($this->countModules('user11')) $user91011+=1;
22 - $user91011=($specified_width-40-$user91011*20)/$user91011;
Mit ist klar, dass es keine Division durch 0 geben kann, aber leider kenn ich mich bei der Programmierung nicht gut aus, hat vielleicht jemand von Euch Ahnung, wie ich diese Fehlermeldungen beseitigen könnte ?

Vielen Dank für Eure Bemühungen
Wolfgang