Thursday, November 3, 2011

Re: Problem with separate Model folder in 2.0.x

found it..

On 3 Nov., 10:52, Marco B <beinbrec...@gmail.com> wrote:
> Hi,
>
> I try to upgrade to Cake2.0.2 from 1.3 and I have a problem with a
> seperate Model folder
> i initialized in the bootstrap with
> App::build(array('Model' =>  array(ROOT.DS.'CommonModels')));
>
> a var_dump(App::objects('Model')); finds all models, but if I use a
> special function inside a model i get a sql error message.
>  it seams like it finds my models, but still only loads models located
> in the standard Model Folder

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate