They are a slightly different format: http://book.cakephp.org/view/134/Core-Validation-Rules
Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 18 Aug 2010, at 21:19, RogerM wrote: > Many of my modules have underscores in them. Is that the main part of > the issue? > > I was not aware their was newer validation rules. > > > > On Aug 18, 3:14 pm, Jeremy Burns | Class Outfit > <[email protected]> wrote: >> I notice that you have var $name = 'Event_contact' too, and other models >> such as Event_contact_person. Have you changed those? It probably doesn't >> make any difference, but the validation rules are old school too - have you >> tried commenting those out, just for good measure? Also - it's probably a >> cut and paste thing - but there appears to be a missing > in $this-field. >> I'd be tempted to strip it down to the bare minimum, see if it still errors >> and then build it back up. >> >> Do you have other models that are related to this one that also refer to it >> as Event_contact (e.g. Event and Event_contact_person)? That'd error too >> (and Event_contact_person should be EventContactPerson). >> >> Jeremy Burns >> Class Outfit >> >> [email protected]http://www.classoutfit.com >> >> On 18 Aug 2010, at 20:54, RogerM wrote: >> >>> I did try changing to class >>> "EventContact extends AppModel" >>> And cleared the /tmp/cache/ files >> >>> Still have the same error >> >>> On Aug 18, 2:40 pm, Sam <[email protected]> wrote: >>>> Shouldn't it be >>>> "class EventContact extends AppModel" >>>> instead of >>>> "class Event_contact extends AppModel" >> >>>> On Aug 18, 2:26 pm, RogerM <[email protected]> wrote: >> >>>>> I notice that it seems the error is coming from /webroot/index.php in: >> >>>>> if (!include(CORE_PATH . 'cake' . DS . 'bootstrap.php')) { >>>>> trigger_error("CakePHP core could not be found. Check >>>>> the value of >>>>> CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to >>>>> the directory containing your " . DS . "cake core directory and your >>>>> " . DS . "vendors root directory.", E_USER_ERROR); >>>>> } >> >>>>> When I try to echo CORE_PATH; I get nothing. Could this be the >>>>> problem? >> >>>>> 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 sitehttp://cakeqs.organd 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 >>> athttp://groups.google.com/group/cake-php?hl=en > > 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 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
