Output get_class($this->MyModelThatDontValidate) or call custom model
method to check that models are really loaded. Also check that you
approach save() or validates() call in controller and don't get error
before that abandon save/validation. Be sure that debug > 0. In most
of cases such errors have true silly reason and 0.1% is for buggy
software combination on target server.

On Sep 17, 12:33 am, Jeremy Burns | Class Outfit
<[email protected]> wrote:
> Nope, not correct. All models named correctly - and don't forget exactly this 
> same code works on my Mac. If your theory was right then I'd be getting all 
> sorts of errors and the forms wouldn't pull any data at all. In my case, 
> $this->validationErrors is empty.
>
> Jeremy Burns
> Class Outfit
>
> [email protected]
> (t) +44 (0) 208 123 3822
> (m) +44 (0) 7973 481949
> Skype: jeremy_burnshttp://www.classoutfit.com
>
> On 16 Sep 2010, at 18:30, Dr. Loboto wrote:
>
>
>
> > 99.9% - your models are not loaded at all because you named them not
> > in lowercase.
>
> > On 16 сен, 20:52, Jeremy Burns <[email protected]> wrote:
> >> I'm a bit stumped. I've developed some code on my local machine (MAMP)
> >> and when a form fails validation I get the right error messages
> >> displayed in the right places. I have used the form helper to create
> >> the form and the inputs, but have not used any code to produce the
> >> error messages - I am leaving that to Cake's magic.
>
> >> I have moved the site lock, stock and barrel to a remote test server,
> >> and - boom - no error messages.
>
> >> Anyone got any pointers about why this might happen, and what are the
> >> golden rules to ensure that Cake waves its magic wand appropriately?
>
> > 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

Reply via email to