A long time ago i spent hours trying to figure out why i was getting 
this only to find out the i had a space outside of the php tags (space 
here <? ?>). This is the first thing i look for now when i get a session 
error like that. You may want to check to see if you have this too. :-p

Brian French

zipman wrote:
> I am on a project and all this time I was developing
> using php 5.1.4. I haven't used any php 4.x.x incompatible code.
> The problem is that I recently learned that the hosted enviroment
> provided only php 4.x.x and I tried to switch ,as I know cakephp is
> compatible with both php 4 and 5.
> The problem is that I keep getting the above warnings with php PHP
> 4.4.3
> even on the main page where it says if the connection to the database
> was successfull or not.
>
> Warning: session_start(): Cannot send session cache limiter - headers
> already sent (output started at /opt/cake/app_model.php:1) in
> /opt/cake/libs/session.php on line 131
>
> Warning: session_start(): Cannot send session cookie - headers already
> sent by (output started at /opt/cake/app_model.php:1) in
> /opt/cake/libs/session.php on line 131
>
> Warning: session_start(): Cannot send session cache limiter - headers
> already sent (output started at /opt/cake/app_model.php:1) in
> /opt/cake/libs/session.php on line 131
>
> (The core files are in /opt as obvious).
>
> This is  a major problem for me, because I am using sessions.
>
> Does anybody know, how I can fix ths problem?
>
>
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to