sounds like cake cannot write in the tmp folder. try to chmod it.

olivvv

Tony wrote:
> Hey guys,
>
> I'm using CakePHP and I'm getting a few errors. I'm going through the
> blog tutorial and this is what is happening:
>
>
> Warning:
> file_put_contents(/www/mydomainname.com/mysite/app/tmp/cache/models/default_scribble_list)
> [function.file-put-contents]: failed to open stream: Permission denied
> in /www/mydomainname.com/mysite/cake/basics.php on line 826
>
> Warning:
> file_put_contents(/www/mydomainname.com/mysite/app/tmp/cache/models/default_posts)
> [function.file-put-contents]: failed to open stream: Permission denied
> in /www/mydomainname.com/mysite/cake/basics.php on line 826
>
> Warning: session_start() [function.session-start]: Cannot send session
> cookie - headers already sent by (output started at
> /www/mydomainname.com/mysite/cake/basics.php:826) in
> /www/mydomainname.com/mysite/cake/libs/session.php on line 131
>
> Warning: session_start() [function.session-start]: Cannot send session
> cache limiter - headers already sent (output started at
> /www/mydomainname.com/mysite/cake/basics.php:826) in
> /www/mydomainname.com/mysite/cake/libs/session.php on line 131
>
>
> I had to uncomment the line:
>  define ('BASE_URL', env('SCRIPT_NAME'));
> in the folder /app/config/core.php
>
> Am I missing something here? I'm also using the development setup and
> mysite is the webroot as you can see from above.
>
> The funny thing is that everything seems to be working but I'm getting
> those errors.
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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