Here are the errors from a controller named RegenerationTypes
with model RegenerationType and db table regeneration_types


Notice: Trying to get property of non-object in C:\Inetpub\wwwroot\***
\cake\libs\controller\controller.php on line 666

Notice: Trying to get property of non-object in C:\Inetpub\wwwroot\***
\cake\libs\controller\controller.php on line 666

Warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot
\***\cake\libs\controller\controller.php on line 666

Notice: Trying to get property of non-object in C:\Inetpub\wwwroot\***
\cake\libs\controller\controller.php on line 801

Warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot
\***\cake\libs\controller\controller.php on line 801

(*** instead of my domain)

thank you again

On Feb 15, 8:29 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> Can you post the complete error messages?
>
> On Fri, Feb 15, 2008 at 10:20 AM, blain57 <[EMAIL PROTECTED]> wrote:
>
> >  Is it possible to give me an example based on a table named
> >  ticket_activities?
>
> >  I opened the inflection file.. and was shocked ! :P
>
> >  thanx
>
> >  On Feb 15, 1:48 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> >  > Try setting it on config/inflections.php
>
> > > On Thu, Feb 14, 2008 at 2:30 PM, blain57 <[EMAIL PROTECTED]> wrote:
>
> >  > >  Hi all,
>
> >  > >  simple example:
>
> >  > >  i make a ticket_activities table
> >  > >  i make a ticket_activity.php file model with:
>
> >  > >  class TicketActivity extends AppModel
> >  > >  {
> >  > >     var $name = 'TicketActivity';
> >  > >  }
>
> >  > >  and a ticket_activities_controller.php with:
>
> >  > >  class TicketActivitiesController extends AppController
> >  > >  {
> >  > >     var $scaffold;
> >  > >  }
>
> >  > >  and i get the following errors:
>
> >  > >  Notice: Trying to get property of non-object
> >  > >  Warning: Invalid argument supplied for foreach()
>
> >  > >  Scaffolding works with tables without underscores tho....
>
> >  > >  I am running cake on a windows 2003 server with iis6 and php5 but
> >  > >  without rewrite.
>
> >  > >  Thanx in advance.
--~--~---------~--~----~------------~-------~--~----~
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