<HTML>
<HEAD>
<TITLE>Re: [pmwiki-users] I don &#8217; t get it with Farms</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Thanks for the reply<BR>
<BR>
So, let me see ...<BR>
<BR>
I should have an index.php that has only ... <BR>
<BR>
&lt;?php include ('../itgswiki/pmwiki.php'); stored in the route wiki, pmwiki.php is removed<BR>
<BR>
Then in the wiki to become a farm I have in the local directory the farmconfig.php and config.php files<BR>
<BR>
Delete scripts, cookbook, and pub directories from the wiki that will join the farm<BR>
<BR>
In farmconfig.php have the other wikis point to the directories of cookbook, scripts and pub in the farm wiki<BR>
<BR>
Is that right?<BR>
<BR>
And <BR>
<BR>
What would the syntax be for all of that. It really doesn&#8217;t look that hard but for some reason its not happening<BR>
<BR>
Thanks<BR>
<BR>
Mark<BR>
<BR>
<BR>
On 13/5/07 4:23 PM, &quot;Tegan Dowling&quot; &lt;tmdowling@gmail.com&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>On 5/13/07, <B>Mark Trumpold</B> &lt;mark@ruthtrumpold.id.au&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Thanks<BR>
<BR>
It was the closing ?&gt; missing.<BR>
<BR>
Now I get get another set or errors<BR>
<BR>
<BR>
Warning: Cannot modify header information - headers already sent by (output<BR>
started at /... /recipes/index.php:9) in .../itgswiki/pmwiki.php on line 933 <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
Adding a closing ?&gt; may have solved your other problem, but it probably created this one -- or more exactly, a space or line-break following it may have. &nbsp;From <a href="http://pmwiki.org/wiki/PmWiki/Troubleshooting">http://pmwiki.org/wiki/PmWiki/Troubleshooting</a> :<BR>
<BR>
<BR>
&nbsp;Why am I seeing &quot;</SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Comic Sans MS, Verdana, Helvetica, Arial">Warning: Cannot modify header information - headers already sent ...</FONT><FONT FACE="Verdana, Helvetica, Arial">&quot; messages at the top of my page. <BR>
<BR>
&nbsp;If this is the first or only error message you're seeing, it's usually an indication that there are blank lines or spaces before the </FONT><FONT FACE="Comic Sans MS, Verdana, Helvetica, Arial">&lt;?php</FONT><FONT FACE="Verdana, Helvetica, Arial"> or after the </FONT><FONT FACE="Comic Sans MS, Verdana, Helvetica, Arial">?&gt;</FONT><FONT FACE="Verdana, Helvetica, Arial"> in a local customization <a href="http://pmwiki.org/wiki/PmWiki/LocalCustomizations">&lt;http://pmwiki.org/wiki/PmWiki/LocalCustomizations&gt;</a> &nbsp;file. &nbsp;Double-check the file and make sure there aren't any blank lines or spaces before the initial </FONT><FONT FACE="Comic Sans MS, Verdana, Helvetica, Arial">&lt;?php</FONT><FONT FACE="Verdana, Helvetica, Arial">. &nbsp;It's often easiest and safest to eliminate any closing </FONT><FONT FACE="Comic Sans MS, Verdana, Helvetica, Arial">?&gt;</FONT><FONT FACE="Verdana, Helvetica, Arial"> altogether. <BR>
<BR>
&nbsp;If the warning is appearing after some other warning or error message, then resolve the other error and this warning may go away. <BR>
<BR>
<BR>
<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT></SPAN>
</BODY>
</HTML>