Thanks Grant, i do this but it still gives me that error.
It wants me to have Portfolio model

And if i do

var $uses = array();

it works but i don't have access to other models



On Sep 25, 4:54 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> http://manual.cakephp.org/chapter/controllers
>
> var $uses = array('Gallery', 'Image');
> in the top of your controller.
>
> On Sep 25, 10:42 am, xaio <[EMAIL PROTECTED]> wrote:
>
> > I want to have a controller 'Portfolio' which shows my works, but i
> > don't have have a model associated with it. My tables are 'galleries'
> > and 'images'. And i get the folowing error:
>
> > Missing Database Table
> > No Database table for model Portfolio (expected portfolios), create it
> > first.
> > Notice: If you want to customize this error message, create app\views/
> > errors/missing_table.ctp
>
> > Is it possible to have such a controller that don't have any db table?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to