[pmwiki-users] Hiding/Correcting Warning Message

Petko Yotov 5ko at free.fr
Sat Sep 8 16:42:29 CDT 2007


On Saturday 08 September 2007, David Bruce Murray wrote:
> Warning: Division by zero in
> /homepages/29/d121628979/htdocs/pmwiki/pmwiki.php on line 1070
>
> That is repeated about ten times, and then I get:
>
> Warning: Cannot modify header information - headers already sent by (output
> started at /homepages/29/d121628979/htdocs/pmwiki/pmwiki.php:1070) in
> /homepages/29/d121628979/htdocs/pmwiki/pmwiki.php on line 870
>

Yes, this bug appears in some versions of PHP (probably your hosting provider 
upgraded). The most probable case can be fixed by :

* either upgrade to the latest PmWiki stable or beta version,
* or set in local/config.php or local/farmconfig.php the line:

    $TableRowIndexMax = 1;

Taken from http://pmwiki.org/wiki/PmWiki/Troubleshooting

Thanks,
Petko




More information about the pmwiki-users mailing list