On Dec 23 2010, 9:20 am, monaye <
winmon...@gmail.com> wrote:
> Warning: session_start() [function.session-start]: Cannot send session
> cache limiter - headers already sent (output started at .php:14)
> in .php on line 77
>
> I don't get Warning if I move session_start() to top of the page, but
> If I still get PFBC cofig error and pfbc doesn't load css and js.
>
> Not sure how to troubleshoot..
The remedy is quite simple: put
<?php session-start(); ?>
at the top of your PHP page.
The reason for this warning is that sessions make use of cookies.
Cookies are sent to the browser in the headers. Once you have already
sent html to the browser, the headers are over and the body has
already started.
So, you have to do this before the body starts: in the first PHP
block, and with *not any* html in front of it.
--
Bart.