<!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. Notice... this is way over my head.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks -- John Morris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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 from a "Field" I get the
following:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><!--StartFragment --></DIV>
<DIV> <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> </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');
# from
Farm<BR>include_once('cookbook/mailform.php');
# put mailform in a cookbook dir in the "Field" wiki</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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 in the Farm and include it in that local
config.php file.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><!--StartFragment --> <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> </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> </DIV>
<DIV><FONT face=Arial size=2>function PrintFmt($pagename,$fmt) {<BR>
global $HTTPHeaders,$FmtV;<BR> if (is_array($fmt)) <BR>
{ foreach($fmt as $f) PrintFmt($pagename,$f); return; }<BR> if ($fmt ==
'headers:') {<BR> <STRONG><U><FONT color=#ff0000>
foreach($HTTPHeaders as $h) (@$sent++) ? @header($h) :
header($h);</FONT></U></STRONG><BR> return;<BR>
}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>