This one has me completely stumped!
The validation rule I've pasted below works fine on my local machine, but when I test a user registration on my server, it kicks the "Letters and numbers only" error message, even if the input is valid. Both local and server are running Cake 1.2.0.7692 RC3 and PHP 5.2.6. 'username' => array( 'alphanumeric' => array( 'rule' => 'alphaNumeric', 'message' => 'Letters and numbers only', ), 'unique' => array( 'rule' => 'isUnique', 'message' => 'This username is taken' ), 'between' => array( 'rule' => array('between', 3, 15), 'message' => 'Between 3-15 characters', 'required' => true, 'allowEmpty' => false ) ) Any ideas? Thanks. -- View this message in context: http://n2.nabble.com/validation-rule-works-locally%2C-but-not-on-server-tp1669513p1669513.html Sent from the CakePHP mailing list archive at Nabble.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 -~----------~----~----~----~------~----~------~--~---