Beauford.2005 wrote:

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....

At what point are you including the .inc file, though? You must be including it outside of the output buffering function in order to get this error.


Either move the inclusion of this file within the output buffering or fix whatever is causing output on line 24 of 2004server.inc.

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

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



Reply via email to