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

IchBin weconsul at ptd.net
Fri Nov 10 11:29:15 CST 2006


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...

-- 
Thanks in Advance...                  http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA          http://weconsultants.phpnet.us
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)





More information about the pmwiki-users mailing list