I created a farmconfig.php in /local and entered into it, as suggested in the page about wiki farms the following code: <br><pre><?php if (!defined('PmWiki')) exit();<br> $FarmPubDirUrl = '<a href="http://www.example.com/pmwiki/pub">http://www.example.com/pmwiki/pub</a>';<br>
</pre>Of course, I am using the path to the wiki, <a href="http://www.words2u.net/pmwiki/pub">www.words2u.net/pmwiki/pub</a>, in the farmconfig.php file.<br><br>When I load the home wiki I get the following error above the header page. When I rename the file, the error disappears. The code in line 885 is:<br>
foreach($HTTPHeaders as $h) (@$sent++) ? @header($h) : header($h);<br> return;<br><br><b>Warning</b>: Cannot modify header information - headers already sent
by (output started at /home/words2u/pmwiki/local/farmconfig.php:1) in <b>/home/words2u/pmwiki/pmwiki.php</b> on line <b>885</b><br clear="all"><br>Any idea where I am going wrong? I only have one current wiki, the main wiki, and no other defined. I am using the latest version.<br>
<br>THX.<br><br>-- <br>Check out my web site - <a href="http://www.words2u.net">www.words2u.net</a><br>