I thought about that. I do have a event_contact.php file in models
with the following in it:
<?php
class Event_contact extends AppModel
{
var $recursive = 1;
var $name = 'Event_contact';
var $belongsTo = array('Event' =>
array('className' => 'Event',
'conditions' => '',
'order' => '',
'foreignKey' => 'event_id'
),
'Event_contact_person' =>
array('className' => 'Event_contact_person',
'conditions' => '',
'order' => '',
'foreignKey' => 'event_contact_person_id'
)
);
var $validate = array(
'name' =>
VALID_NOT_EMPTY,
'email' =>
VALID_EMAIL,
'address' =>
VALID_NOT_EMPTY,
'city' =>
VALID_NOT_EMPTY,
'state' =>
VALID_NOT_EMPTY
);
function beforeDelete()
{
$this->Event_contact_person->del($this-
>field('event_contact_person_id','Event_contact.id='.$this->id));
return true;
}
}
?>
On Aug 18, 12:06 pm, AD7six <[email protected]> wrote:
> On Aug 18, 3:46 pm, RogerM <[email protected]> wrote:
>
> > I am trying to update our cakephp 1.1 app to 1.2 as I think going from
> > 1.1 to 1.3 might be a big jump.
> > I have debug set to 3 and all I get on the screen is this:
>
> > Fatal error: Class 'EventContact' not found in "PATH"/cake/libs/
> > class_registry.php on line 139
>
> > What is going on?
>
> You've got a file in the right place without that class in it.
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 [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