[pmwiki-users] Division by zero on Site.Search
Carlos A. Bonamigo
carlos.ab at gmail.com
Fri Nov 3 08:34:56 CST 2006
Em Sexta 03 Novembro 2006 11:01, você escreveu:
> On Fri, Nov 03, 2006 at 12:48:11AM -0200, Carlos A. Bonamigo wrote:
> > Now I have no recipe in my config.php and the error message still shows up
> > every time I look at Site/Search .
> >
> > I'm using:
> >
> > * gentoo
> > * apache-1.3.34-r14:
> > * php-5.1.6-r6
> > * pmwiki-2.2.0-beta15
> >
> > The error message looks like this:
> >
> > Warning: Division by zero in /home/me/htdocs/pmwiki.php on line 1180
>
> This appears to be a recent change to PHP that is causing
> the bug to appear (where it didn't appear in previous versions
> of PHP).
>
> Try adding the following setting to local/config.php:
>
> $TableRowIndexMax = 1;
>
> Pm
>
The error message also appears with other versions of php, the last one I have used is
php-4.4.4, but that variable fixed the problem.
Thank you,
CarlosAB
More information about the pmwiki-users
mailing list