At the time of last testing it wasn't, now it IS User and I'm getting
all kids of errors.

Without a $uses var, I get "Error: Database table homepages for model
Homepage was not found." which is to be expected since there is no
related MODEL for the homepages controller.

With an empty $uses ( var $uses = array(); ) I get: Notice (8):
Undefined property: HomepagesController::$User [APP/controllers/
homepages_controller.php, line 7]

With a full $uses ( var $uses = array('User'); ) it works fine, as I
stated previously.

So it is apparent to me that $uses is required first if there is no
related MODEL, and second if you want to access an unrelated MODEL.

On Nov 14, 11:17 pm, Amit Badkas <amit.sanis...@gmail.com> wrote:
> Hi,
>
> It seems that the controller is not Users controller but anything else. Am I
> right?
>
> Amit Badkas
>
> PHP Applications for E-Biz:http://www.sanisoft.com

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to