This is line 5...... 

$email_error = "<BR>If the problem persists email <A
HREF=mailto:[EMAIL PROTECTED]>Webmaster</A>";

but I believe the error message refers to line 5 of restricted.in, not
2004server.inc.

This is line 5 of restricted.inc .... session_start();


-----Original Message-----
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] 
Sent: September 3, 2003 5:20 AM
To: 'Beauford.2005'; PHP
Subject: RE: [PHP] Ob_start question


On 03 September 2003 03:11, Beauford.2005 contributed these pearls of
wisdom:

> I am getting this error:
> 
> Warning: session_start() [function.session-start]: Cannot send session

> cache limiter - headers already sent (output started at
> /usr/local/apache/php/includes/2004server.inc:24) in 
> /usr/local/apache/php/includes/restricted.inc on line 5
> 
> I have ob_start(); and ob_end_flush(); at the beginning and end of 
> restricted.inc. Like the following. Could someone explain why
> I am still
> getting the above error. 2004server.inc is just the mysql
> server info.... 

... but, according to the error message, output is started in
2004server.inc, nonetheless -- on line 5, to be precise.  What is on
line 5 of 2004server.inc?

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services, JG125, James
Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS,
LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to