[pmwiki-users] Division by zero error

Petko Yotov 5ko at free.fr
Thu Jul 26 09:26:59 CDT 2007


On Thursday 26 July 2007, Steve wrote:
> *Warning*: Division by zero in */usr/www/users/stevef/wiki/pmwiki.php* on
> line *1100*
>
...
> Any ideas on how it happened and/or how to correct it?   Thanks.

Yes, this bug appears in some versions of PHP (probably your hosting provider 
upgraded). The most probable case can be fixed by:

* either upgrade to the latest PmWiki stable or beta version,
* or set in local/config.php or local/farmconfig.php the line:

    $TableRowIndexMax = 1;

Thanks,
Petko




More information about the pmwiki-users mailing list