[pmwiki-users] Re: pmwiki-users Digest, Vol 6, Issue 35
Jan Peters
mail at jan-peters.net
Wed Jul 6 12:06:31 CDT 2005
I am trying to integrate some friends code into my wiki
which I want to change as little as possible.
However, I get strange errors similar to
search string :)(:groupfooter
Warning: Cannot modify header information - headers already sent by
(output started at /private/Network/Servers/monet/Volumes/monet/
jrpeters/Sites/clmc/local/mypublications.php:6) in /private/Network/
Servers/monet/Volumes/monet/jrpeters/Sites/clmc/pmwiki.php on line 706
I pruned the code down to
<?php if (!defined('PmWiki')) exit();
Markup('search','_begin','/\(:search *(.+):\)/e',"search('\$1')");
function search($searchstring) {
echo $searchstring;
return $searchstring;
}
?>
with no blanks at the end or beginning!!! If I comment
out the
// echo $searchstring;
it works ... but I need printf's as I don't want to change
the whole code!!! Can anybody help me here?
Thanks a lot!
Best wishes,
-Jan Peters
=======================================================
Jan Peters, Graduate Research Assistant, Dipl.Inf., Dipl.Ing., M.Sc.
University of Southern California (USC)
Computational Learning and Motor Control Laboratories (CLMC)
3461 Watt Way, Los Angeles, CA 90089
Phone: +1-213-740-6717, Fax: +1-213-740-1510
email: jrpeters at usc.edu, web: www.jan-peters.net
=======================================================
"If you invent a breakthrough in artificial intelligence, so machines
can learn," Mr. Gates responded, "that is worth 10
Microsofts." (Quoted in NY Times, Monday March 3, 2004)
=======================================================
More information about the pmwiki-users
mailing list