Make sure your form paths are posting to the right action.

On Oct 15, 1:05 pm, Patrick Talmadge <ptalma...@gmail.com> wrote:
> Once I added the call to the add method in the controller everything
> started working as expected. Does my register method end up calling
> the add method when saving? I ask because if the input validation
> fails the user is redirects from the register page to the add page.
>
> I was planning to remove the add method and page, will this break everything?
>
> Patrick
>
> On Wed, Oct 14, 2009 at 8:07 PM, Brett Wilton <bdwil...@gmail.com> wrote:
>
> > I haven't tried getClientIP() but I'd check that you have the field
> > name correct etc, try putting something known in.  As an alternative
> > I've used  $_SERVER['REMOTE_ADDR'] in the past which does work.
>
> > ----
> >http://wiltonsoftware.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to