RE: [PHP] Ob_start question
| From: | Ford, Mike [LSS] | Date: | Wed, 03 Sep 2003 09:20:11 +0000 |
| Subject: | RE: [PHP] Ob_start question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161525@lists.php.net to get a copy of this message | ||
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: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211