It's nothing to do with php version - the problem is CentOS (or RHEL) - cake's built-in 'alphaNumeric' rule uses unicode matching in its regex, which is not supported by the PCRE library that comes with those flavours of Linux. If you know what you're doing you could try to compile the library with unicode support, but probably the easiest solution is write your own custom validation rule - just copy what is in the cake core & replace the unicode stuff (in the curly braces) with plain old ASCII regex
cheers, Conrad. On Aug 23, 1:09 pm, Howard Lince <[email protected]> wrote: > I am having a problem with alphaNumeric validation on my application, > we redid the server (changed the os from opensuse to centos), and > while alphaNumeric validation worked before, it constantly returns > false now. I was told earlier it's the php 5.1.x so I upgraded to > 5.2.6, which was said to resolve this issue and it's still doing it, > what can I do about this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
