00832: Division by zero error

Summary: Division by zero error
Created: 2006-11-13 15:48
Status: Closed - fixed in 2.1.27
Category: Bug
From: Joel?
Assigned:
Priority: 4
Version: 2.1.26
OS: Windows 2000/IIS 5.0/PHP 5.2.0

Description: When using the search function on the site and some of the PmWiki documentation pages, WikiStyles for example, I get this error.

Warning: Division by zero in E:\web\wiki\pmwiki.php on line 1100

Warning: Cannot modify header information - headers already sent by (output started at E:\web\wiki\pmwiki.php:1100) in E:\web\wiki\pmwiki.php on line 884

Installed 2.2.0-beta16 and the problem cleared.

This error is also mentioned in [PITS:00830].