PDA

View Full Version : Help Me ! !


Djidane Tribal
05-31-2003, 04:14 PM
<a href="http://foros.animeko.com.mx/" target="_blank">http://foros.animeko.com.mx/</a>

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Warning: Division by zero in /home2/animeko/public_html/foros/forumdisplay.php on line 562

Xenon
05-31-2003, 04:15 PM
looks like you divide a value by zero in your code....

filburt1
05-31-2003, 04:17 PM
Upload a fresh copy of your forumdisplay.php. You have a hack gone wrong (on line 562 :D).

Djidane Tribal
05-31-2003, 04:17 PM
if (($thread[replycount]+1)>$maxposts and $linktopages) {

562-> $totalpages=($thread[replycount]+1)/$maxposts;
if ($totalpages!=intval($totalpages)) {
$totalpages=intval($totalpages)+1;
}

Xenon
05-31-2003, 04:18 PM
make sure $maxposts isn't 0

Djidane Tribal
05-31-2003, 04:28 PM
$totalpages=($thread[replycount]+1)/$maxposts+0; ??

filburt1
05-31-2003, 04:37 PM
$maxposts is 0 at some point, so you're getting a division by 0. Don't let $maxposts equal 0. If it's a hack you installed, it wasn't very well written considering that 0 often means unlimited in vBulletin.

Djidane Tribal
05-31-2003, 08:44 PM
Help me.... i don't know... what happen...

don't attach full vB files!

Xenon
06-01-2003, 02:36 PM
use an unhacked backup of your file and start hacking again!