That's not really a WTF. It's a case of there bing a File class
already. So trying to bake a model of the same name is going to give
you problems. I'd choose a different name.

-Jonathan

On 7/9/08, benjam <[EMAIL PROTECTED]> wrote:
>
>  Apparently the problem was that I had a table called 'files', which
>  isn't allowed.
>
>  WTF?
>
>
>
>  On Jul 9, 10:05 am, benjam <[EMAIL PROTECTED]> wrote:
>  > While trying to bake a view I received the following error:
>  >
>  > Fatal error: Call to undefined method File::schema() in \cake\cake
>  > \console\libs\tasks\view.php on line 383
>  >
>  > Any suggestions?
>  >
>  > I was also receiving several notices and warnings when baking my
>  > controllers, if this has anything to do with it.
>  >
>

--~--~---------~--~----~------------~-------~--~----~
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