Hallo@all
Ich habe gerade gesehn das mein cron von lose ads probleme macht !!
und zwar wenn ich den cron laufen kommt folgende fehlermeldung
In der cron datei ist zeile 30-38 das hierPHP-Code:
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Warning: Division by zero in /home/www/web103/html/crons/lose-ads.int.php on line 37
Wo kann da das problem liegen?!PHP-Code:
$part = 7;
$separate = (count($ausgabe)/$part)-1;
$pos = 0;
for ($zaehler=0;$zaehler <= $separate;$zaehler++) {
$tan_code = '';
$kamp_id = (int)$ausgabe[$pos];
$kamp_name = $ausgabe[$pos+1];
$pay_user = round(($ausgabe[$pos+2]*$ifdata['umrechnung']) - (($ausgabe[$pos+2]*$ifdata['umrechnung']) / 100 * $ifdata['eigen']),2);
$pay_betreiber = round($ausgabe[$pos+2]*$ifdata['umrechnung'],2);
Mfg