try commenting out the associations in your model. then try a bake. if
it works, you probably have your associations set up incorrectly.
On 24 Feb, 22:43, "Seb" <[EMAIL PROTECTED]> wrote:
> The only thing I can say... if anyone else runs into that, is have a
> look at the assumptions Bake makes i
The only thing I can say... if anyone else runs into that, is have a
look at the assumptions Bake makes in regards to associations... a guy
on IRC had the same issue, and forced a $belongsTo instead of $hasOne
(as was his data model) and it worked...
hth,
Seb.
On Jan 16, 3:46 am, "lucaspirola"
i got the same issue, i tried in linux and windows with the same
config,
i use the lastest version of xampp and cake
the error i got when i try create a view:
Fatal error: Call to a member function getDisplayField() on a
non-object in C:\xampp\htdocs\cake\cake\scripts\bake.php on line 965
thank
Cake Version: 1.1.12.4205
Bake shows no errors. Whether I choose to build the controller
interactively or not the controller doesn't get baked. Models are being
baked just fine. I can't, of course, bake any views cause there are not
controllers baked yet.
Any thoughts?
--~--~-~--~