Re: Two alphaNumeric validation on model, but I get a preg_match error on line 187, [CORE/cake/libs/validation.php]

2009-01-14 Thread Louie Miranda
Anyone? :( -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) On Wed, Jan 14, 2009 at 1:34 PM, Louie Miranda lmira...@gmail.com wrote: Hello, I tried two alphaNumeric validation, but I get a preg_match

Re: Two alphaNumeric validation on model, but I get a preg_match error on line 187, [CORE/cake/libs/validation.php]

2009-01-14 Thread Gwoo
try a different key name. 'alpha_numeric'=array( 'rule'='alphaNumeric', --~--~-~--~~~---~--~~ 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

Re: Two alphaNumeric validation on model, but I get a preg_match error on line 187, [CORE/cake/libs/validation.php]

2009-01-14 Thread Louie Miranda
Hi Gwoo, Thanks a lot. I did not knew about that, I think I did not also see that on the manual or it is just me. Anyway, it was solved. -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) On Thu, Jan 15,

Re: Two alphaNumeric validation on model, but I get a preg_match error on line 187, [CORE/cake/libs/validation.php]

2009-01-14 Thread Bernardo Vieira
I stumbled upon this error once as well. As it turns out, some versions of php - most notably the stock centos php package - are compiled without the -enable-unicode-properties. Since the alphaNumeric rule uses preg_match with the /u you get this error. You have two options, either recompile

Two alphaNumeric validation on model, but I get a preg_match error on line 187, [CORE/cake/libs/validation.php]

2009-01-13 Thread Louie Miranda
Hello, I tried two alphaNumeric validation, but I get a preg_match error. *Warning (2): preg_match() [function.preg-match]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 3 [CORE/cake/libs/validation.php, line 847]* My code var $validate = array(