[pmwiki-devel] Warning: Division by zero in /htdocs/pmwiki/pmwiki.php on line 1057
Patrick R. Michaud
pmichaud at pobox.com
Fri Jun 8 10:13:14 CDT 2007
On Fri, Jun 08, 2007 at 07:49:27AM -0400, Ryan R. Varick wrote:
> On 6/8/07, hellmaster at slived.net <hellmaster at slived.net> wrote:
> > i have a bug in my pmwiki and found this bug (Warning: Division
> > by zero in /htdocs/pmwiki/pmwiki.php on line 1057) on several other pages,
> > please help me.
>
> I've been getting that too, on line 1100, but only on my "login" page
> though. I run 2.1.11. Since it's confined to one page, I haven't
> investigated it in any detail yet.
This bug occurs with recent versions of PHP and PmWiki versions
prior to 2.1.27 . The fix is to either upgrade to 2.1.27 or to
set the following in local/config.php:
$TableRowIndexMax = 1;
See http://www.pmwiki.org/wiki/PmWiki/Troubleshooting#divisionbyzero
Pm
More information about the pmwiki-devel
mailing list