[Gllug] phpGroupware

Simon Stewart sms at lateral.net
Wed May 22 10:59:16 UTC 2002


On Wed, May 22, 2002 at 10:29:13AM +0100, Axel Segebrecht wrote:
>
> PPS: Here are the errors:
> 
> Parse error: parse error in /var/www/groupware.gardeneden.net/header.inc.php
> on line 38
> 
> Warning: Cannot add header information - headers already sent by (output
> started at /var/www/groupware.gardeneden.net/header.inc.php:38) in
> /var/www/groupware.gardeneden.net/setup/index.php on line 24

Turn on output buffering in your php.ini, or check rigourously that no
white space has been included at the head of one of your display pages
before the include, or (worse) that there's no white space after the
closing php tag in any include files. PHP is a stickler for things
like that.

Basically, the error message says it all: before you've finished
sending your headers, you've sent some content. Output buffering does
just that, allowing you to insert random calls to "header()"
throughout the body of your page. 

Cheers,

Simon

-- 
"Wit is educated insolence. " - Aristotle (284-322 B.C.)


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list