Cake Errors I'm getting with
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 -~--~~~~--~~--~--~---
Re: Cake Errors I'm getting with
chmod /app/tmp to 755 or 777 should fix it. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Cake Errors I'm getting with
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 -~--~~~~--~~--~--~---
Re: Cake Errors I'm getting with
I just figured that out and came back to post that. I didn't see anything with the documentation for that. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Cake Errors I'm getting with
Modifying your directory permissions will greatly depend on what operating system your hosting is running on and how your account on that server is setup.I am not attacking you here, but in general that is something that you should be aware about your hosting environment. So providing directions for each hosting environment is not practical, but in general it is not to difficult to figure out.That being said, it is mentioned in the documentation. http://manual.cakephp.org/chapter/installingSee section 4, there is a comment about the app/tmp directory.Glad you got it working and happy baking.On 9/6/06, Tony [EMAIL PROTECTED] wrote: I just figured that out and came back to post that. I didn't seeanything with the documentation for that. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---