Well the first error is probably the cause of the others.
It seems you do not have the write permission to the tmp directory.
Change the permission with chmod -R 755  on the tmp directory
hth

On Jun 3, 10:28 am, Margarittka <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I wrote site on cakephp (really on bakesale).
> On local computer all is ok. But i have lots of problem with this site
> on real server (masterhost). I see lots of messages about errors (like
> this:
>
> Warning: file_put_contents(/var/www/vhosts/uspex-tools.com/httpdocs/
> bakesale2/app/tmp/cache/models/default_specials) [function.file-put-
> contents]: failed to open stream: Permission denied in /var/www/vhosts/
> uspex-tools.com/httpdocs/bakesale2/cake/basics.php on line 931
>
> and
>
> Warning: session_start() [function.session-start]: Cannot send session
> cookie - headers already sent by (output started at /var/www/vhosts/
> uspex-tools.com/httpdocs/bakesale2/cake/basics.php:931) in /var/www/
> vhosts/uspex-tools.com/httpdocs/bakesale2/cake/libs/session.php on
> line 154
>
> and
>
> Warning: Cannot modify header information - headers already sent by
> (output started at /var/www/vhosts/uspex-tools.com/httpdocs/bakesale2/
> cake/basics.php:931) in /var/www/vhosts/uspex-tools.com/httpdocs/
> bakesale2/cake/libs/session.php on line 155
> ).
> Can anyboby write me, what is the cause of these errors?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to