You need to read the manual:

Try the following - it seems you are confusing the $name property with
the $uses property of the controller.

<?php
    class MembersController extends AppController
    {
        $name = "Members";
        $uses = array( "Member", "Myprofile" ); // notice these are
model names - and singular not plural (READ THE MANUAL)
        $helpers = array( "Form", "Session" );
        ....
    }
?>

On May 2, 1:50 pm, Ryan Schmidt <[email protected]> wrote:
> On May 1, 2011, at 12:22, euromark wrote:
>
> > var $name = array('Members','Myprofiles'); ?
> > seriously? where did you get that from?^^
>
> What euromark means is: $name is a string, not an array. It needs to be:
>
> var $name = 'Members';

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to