[pmwiki-users] mailto causes divide by zero

Bob Sanders rsanders at sgi.com
Tue Oct 31 17:39:58 CST 2006


On pmwiki 2.1.x and 2.2.x, as near as I can determine,
pages containing a - mailto:, cause the following
errors - 


Warning: Division by zero in /var/www/localhost/htdocs/pmwiki-2.1.26/pmwiki.php on line 1100

Warning: Division by zero in /var/www/localhost/htdocs/pmwiki-2.1.26/pmwiki.php on line 1100

Warning: Division by zero in /var/www/localhost/htdocs/pmwiki-2.1.26/pmwiki.php on line 1100

Warning: Division by zero in /var/www/localhost/htdocs/pmwiki-2.1.26/pmwiki.php on line 1100

Warning: Division by zero in /var/www/localhost/htdocs/pmwiki-2.1.26/pmwiki.php on line 1100

Warning: Division by zero in /var/www/localhost/htdocs/pmwiki-2.1.26/pmwiki.php on line 1100

Warning: Cannot modify header information - headers already sent by (output started at /var/www/localhost/htdocs/pmwiki-2.1.26/pmwiki.php:1100) in /var/www/localhost/htdocs/pmwiki-2.1.26/pmwiki.php on line 884
Quality Engineering
Main /


The mailto line is formatted as -

   mailto:rsanders at sgi.com

The errors don't occur in pmwiki 1.0.2, which is what I'm attempting the conversion
from.

As to the conversion, I've followed the upgrade guide as well as creating pages
from scratch, but the errors remain, regardless of the method.

Normal url content/links do not cause the issue.

And I've tried this on different systems, though with the same software -

[ I] dev-lang/php (5.1.6-r6):  The PHP language runtime engine: CLI, CGI and Apache SAPIs.
[ I] www-servers/lighttpd (1.4.11):  Lightweight high-performance web server

And the skin is - lean, updated to 0.16.

Though, one system is 32-bit and the other has the 64-bit implementations.

I've looked through latest PITS issues (well, I think I've looked through them) as
well as the documentation, but do not see what I'm doing incorrectly.

Any insight to this would be gratly appreciated.

Thanks,

Bob
-  




More information about the pmwiki-users mailing list