<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I keep getting error messages when using 
mailform.php.&nbsp; Notice... this is way over my head.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks&nbsp;&nbsp; -- John Morris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>At no time am I ever getting to the "markup" -this 
error shows on site first page.</FONT></DIV>
<DIV><FONT face=Arial size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Arial size=2>When run mailform&nbsp;from a "Field" I get the 
following:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><!--StartFragment --></DIV>
<DIV>&nbsp;<B>Warning</B>: Cannot modify header information - headers already 
sent by (output started at 
/home/virtual/site4/fst/var/www/html/pmwiki/cookbook/mailform.php:79) in 
<B>/home/virtual/site1/fst/var/www/html/storywiki/pmwiki.php</B> on line 
<B>658</B> </DIV>
<DIV>&nbsp;</DIV>
<DIV>It didn't seem to matter if I put the mailform local to the field or left 
it on the "Farm", I tried both of these "includes" in the Field 
config.php------</DIV>
<DIV><FONT face=Arial 
size=2>include_once('http://www.evnsong.com/storywiki/cookbook/mailform.php');&nbsp; 
# from 
Farm<BR>include_once('cookbook/mailform.php');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# put mailform in a cookbook dir in the "Field" wiki</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Arial size=2>Got essentially the same error when trying to 
include the mailform.php&nbsp; in the Farm and include it in that local 
config.php file.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><!--StartFragment -->&nbsp;<B>Warning</B>: Cannot modify header information 
- headers already sent by (output started at 
/home/virtual/site1/fst/var/www/html/storywiki/cookbook/mailform.php:79) in 
<B>/home/virtual/site1/fst/var/www/html/storywiki/pmwiki.php</B> on line 
<B>658</B> </DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>include_once('cookbook/mailform.php');<BR>$MailFormAddresses['test'] = <A 
href="mailto:'johnwmorris@peak.org'">'johnwmorris@peak.org'</A>;<BR>$MailFormDefaultSender 
= <A href="mailto:'someone@evnsong.com'">'someone@evnsong.com'</A>;</FONT></DIV>
<DIV><FONT face=Arial size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Arial size=2>Line 658 in the pmwiki.php file is in 
red</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>function PrintFmt($pagename,$fmt) {<BR>&nbsp; 
global $HTTPHeaders,$FmtV;<BR>&nbsp; if (is_array($fmt)) <BR>&nbsp;&nbsp;&nbsp; 
{ foreach($fmt as $f) PrintFmt($pagename,$f); return; }<BR>&nbsp; if ($fmt == 
'headers:') {<BR>&nbsp;&nbsp;&nbsp;<STRONG><U><FONT color=#ff0000> 
foreach($HTTPHeaders as $h) (@$sent++) ? @header($h) : 
header($h);</FONT></U></STRONG><BR>&nbsp;&nbsp;&nbsp; return;<BR>&nbsp; 
}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>