[pmwiki-users] pmwiki.php and PHP 5.2.0 'Division by zero' warning
Bob Sanders
rsanders at sgi.com
Fri Nov 10 11:18:13 CST 2006
IchBin, mused, then expounded:
> I just installed the new release PHP 5.2.0. After loading my pmWiki
> instance when I select a link to any of my pages I receive the following
> error from Xdebug:
>
> Warning: Division by zero in
> C:\wwwroot\weconsultants.phpnet.us\pmwiki.php on line 1180
>
> You can see the entire Xdebug error output here:
> http://ichbin.9999mb.com/common/pmwiki%20php%205.2.0%20error.htm
>
> It is only a warning but it was not present prior to PHP 5.2.0
>
Try this in your local/config.php -
$TableRowIndexMax = 1;
Bob
-
More information about the pmwiki-users
mailing list