From: Franky V. L. <lie...@te...> - 2008-06-15 12:04:12
|
Hi, On Fri, 13 Jun 2008 15:10:08 +0000 Pete Dempsey <the...@ho...> wrote: > > > Hi all > > I would be grateful if someone could help me resolve these warning > messages. > > Warning: session_start() [function.session-start]: Cannot send > session cookie - headers already sent Warning: session_start() > [function.session-start]: Cannot send session cache limiter - headers > already sent If you don't find any reference to this message, I suggest you try google once :) Anyway, see below for the solution ... > I am running phpESP 2.0.2 on a shared hosting account and I have > followed the instructions from the phpESP management interface. I > have a very simple PHP page which consists of a paragraph tag with 1 > line of text and then I have the PHP include for > public/phpESP.first.php followed by the include for > public/handler.php. You mention the error yourself here: you do a paragraph tag and then you include public/phpESP.first.php. See the example subdir for the solution: you have to include phpESP.first.php before any output happens. So move the include above your paragraph tag and you should be fine. Also: try upgrading to the latest version (svn version contains a small bugfix after the released version). Franky |