yeah, debug yout $book variable is good point (or just use print_r($book)) even that, i still think problem is Author - Name (acording to the your error log ...)
2010/3/10 WebbedIT <[email protected]>: > Before you move to your view, make sure your controller is sending the > right data to the view. > > In your controller run your find > > $books = $this->Book->find('all'); > > Then debug the results to make sure you are getting your Authors > > echo debug($books); > > If you are not then you need to look at why your find is not pulling > form the associated model as it should if all settings are default. > > Are the associations setup correctly? Does each book have an author? > Do you have recursive set to only find from the main model? Are you > using containable but have not set your containable array? > > HTH > > Paul. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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 > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
