[pmwiki-devel] ZAP problem...

Crisses crisses at kinhost.org
Sat Nov 11 07:42:17 CST 2006


On Nov 10, 2006, at 2:55 PM, The Editor wrote:

> Working on a fairly simple ZAP snippet--and get this error on my
> server, but not on my home machine.  Any ideas?
>
> Warning: session_start() [function.session-start]: Cannot send session
> cookie - headers already sent by (output started at
> /home/fastst/public_html/zap/pmwiki.php:951) in
> /home/fastst/public_html/zap/cookbook/zap.php on line 452
>
> Warning: session_start() [function.session-start]: Cannot send session
> cache limiter - headers already sent (output started at
> /home/fastst/public_html/zap/pmwiki.php:951) in
> /home/fastst/public_html/zap/cookbook/zap.php on line 452
>
> Line 452 in zap is the place that sets the session variables that
> secures the form from forged headers. Never noticed this problem
> before.

Can you show us the section of code?

If you even put a space outside the "?> <?php" it would ruin the  
header output for PHP.  So it could be something really simple.

Crisses
----
If we defend ourselves against the reality of our eventual death,  
life becomes insipid and meaningless.  But if we realize that we are  
mortal, we know that we do not have an eternity to complete our  
projects and that each present moment is crucial.  Our awareness of  
death is the source of zest for life and creativity.  Death and life  
are interdependent, and although physical death destroys us, the idea  
of death saves us.
  -- Gerald Corey re: Yalom (existentialism), Theory and Practice of  
Counseling and Psychotherapy, 2001





More information about the pmwiki-devel mailing list