View Single Post
Old 07-08-2007   #1 (permalink)
Erro
Registered User
 
Join Date: Jul 2007
Posts: 1

Fatal Error Message

Does anyone know what cause this error mess in Autorank PHP (2.02):

Error Division by zero
From /home/bgm/public_html/php/autorank/arphp.php line 302

Line 302 looks like this in the arphp.php:
if( $tpl['OVERALL_RANK'] % $GLOBALS['COMPACT_BREAK'] == 0 && $tpl['OVERALL_RANK'] != $GLOBALS['COMPACT_SITES'] )

It all started when my host upgrade the PHP software on the server to 4.47.

The toplist it self works if I disable the compactlist. So someting is wrong there.

The only thing I could think of was the registrar_globals but its enable and it didnt solve the problem.

It must be some setting in PHP but what?

Thanks in advance
Erro is offline