I (foolishly, perhaps) installed the latest version of PmWiki on top of my existing install, which was too old to support some of the anti-spam features. Now I get the following error:<br><br>
<b>Fatal error</b>: Cannot redeclare wikilink() (previously declared in /home/textomat/public_html/ecc/index.php:1069) in <b>/home/textomat/public_html/ecc/scripts/wikiwords.php</b> on line <b>57</b><br>
<br><br>Would I be better off just emptying the wiki directory completely, starting over, and then re-importing my existing pages rather than trying to troubleshoot this?<br><br>Thanks. It has been so long since I installed the original (a testament to its reliability) that I have forgotten much of what I am doing.<br>
<br>The code in wikiwords.php is as follows:<br><br>## bare wikilinks<br>Markup('wikilink', '>urllink',<br> "/\\b(?<![#&])($GroupPattern([\\/.]))?($WikiWordPattern)/e",<br> "Keep('<span class=\\'wikiword\\'>'.WikiLink(\$pagename,'$0').'</span>',<br>
'L')");<br><br>function WikiLink($pagename, $word) {<br> global $LinkWikiWords, $WikiWordCount, $SpaceWikiWords, $AsSpacedFunction,<br> $MarkupFrame, $WikiWordCountMax;<br><br>I am not sure where to begin troubleshooting with this--thanks for any nudges in the right direction.<br>
<br><br>