Hi, I have the exactly same problem when I use $uses = array('Book', 'Question'); Index.thtml display the resulst, but not edit.thtml and view.thtml. For example function view($id){ $this->Question->question_id = $id; $question = $this->Question->read(); $this->set('question', $question);
} in my view.thtml, <h1><?php print $question['Question']['question_name']; ?></h1> <p>Title: <?php print $question['Question']['question_title']; ?></p> Can anyone help this? If I don't use $uses, everything is fine. Best Regards Lynda On Dec 28 2006, 2:11 am, "sawa" <[EMAIL PROTECTED]> wrote: > Hi, > I noticed that with latest php (5.2) scaffold is not workign well if I > put var $uses= array('testmodel1','testmodel2') in my controller. > View and Edit actions display pages only with field titles but without > title values > When removed, it works as expected. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---