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
-~----------~----~----~----~------~----~------~--~---