[pmwiki-users] error showing in PHP 5.2.1

Henrik henrik.bechmann at sympatico.ca
Tue Apr 3 14:38:35 CDT 2007


Patrick,

Using PmWiki 2.1.26 with PHP 5.2.1 when loading 
http://parkcommons.ca/wiki/wiki.php?n=PmWiki.WikiStyles I get

Warning: Division by zero in 
/var/vhosts2/henrik/public_html/bechmann/applications/wiki/app/pmwiki.php 
on line 1100

1100 is the middle of the following (to give some context).

  $FmtV['$TableRowCount'] = $rowcount + 1;
  $FmtV['$TableRowIndex'] = ($rowcount % $TableRowIndexMax) + 1;
  $trattr = FmtPageName($TableRowAttrFmt, '');

Any quick ideas? ($TableRowIndexMax == 0 ??) Would you like me to trace 
back further?

- Henrik

-- 

Henrik Bechmann
www.bechmann.ca
Webmaster, www.dufferinpark.ca




More information about the pmwiki-users mailing list