[pmwiki-users] pmwiki.php and PHP 5.2.0 'Division by zero' warning
Patrick R. Michaud
pmichaud at pobox.com
Fri Nov 10 11:19:02 CST 2006
On Fri, Nov 10, 2006 at 12:04:35PM -0500, IchBin wrote:
> 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
This is being fixed in 2.2.0-beta16 (about to be released).
For a workaround, try setting the following in local/config.php:
$TableRowIndexMax = 1;
Pm
More information about the pmwiki-users
mailing list