On Jan 25, 2007, at 12:11 PM, Dustin wrote:

>
> Hey,
>
> Cake noob here, but I'm very excited by everything I've seen so far  
> and
> think it's far superior to any of the other PHP frameworks I've tried
> so far.
>
> With that being said, I've had a frustrating pair of error messages at
> the top of every page I've built in Cake (from various tutorials).  I
> have followed the tutorials and help docs to the literal "T" and still
> can't seem to get rid of these errors:
>
> Warning:
> file_put_contents(C:\xampp\htdocs\app\tmp\cache\models 
> \default_cake_list)
> [function.file-put-contents]: failed to open stream: No such file or
> directory in C:\xampp\htdocs\cake\basics.php on line 868
>
> Warning:
> file_put_contents(C:\xampp\htdocs\app\tmp\cache\models\default_users)
> [function.file-put-contents]: failed to open stream: No such file or
> directory in C:\xampp\htdocs\cake\basics.php on line 868
>
> The odd thing is that the messages don't seem to affect any of my code
> in a functional way.  I'm thinking it must not be related to a Cake
> problem, but some sort of a config problem.
>
> Running XAMP on Windows with Mod_ReWrite enabled (properly I think).
> The start page of each project doesn't give the errors (the one that
> tells you whether or not your DB connection exists).  But the moment I
> start coding my own stuff, the errors show up.

Just make sure your app/tmp directory is writable by the webserver[1].

Cake keeps caches of models and things in there.

-- John

[1] - http://manual.cakephp.org/chapter/installing (Section 4)

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to