[pmwiki-users] pmwiki.php and PHP 5.2.0 'Division by zero' warning

Bob Sanders rsanders at sgi.com
Fri Nov 10 11:42:49 CST 2006


IchBin, mused, then expounded:
> Patrick R. Michaud wrote:
> > 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
> 
> Thanks Patrick and Bob...
>

No, Thanks to Patrick.  He's the one that came up with the fix. 

Bob
-  




More information about the pmwiki-users mailing list