Seems like there is something wrong with the preg libraries on your setup. I just ran the validation test and didn't get any errors for the Validation test.
-Mark On Oct 10, 12:50 am, Huen <[EMAIL PROTECTED]> wrote: > Hi, > I downloaded the 1.2 RC3, and I began to try the tutorial > ofhttp://book.cakephp.org/view/219/Blog > > Now I have a problem on validation > athttp://book.cakephp.org/view/338/Data-Validation > > The article says "our validation error messages will be shown > automatically", > but I can't see any messages and the save() method is executed with > empty title and/or body. > > So, I installed Simple Test and ran the Core Test Cases of "libs / > Validation". > > The results of the test says : > "Unexpected PHP error [preg_match() [<a href='http://php.net/ > function.preg-match'>function.preg-match</a>]: Compilation failed: > support for \P, \p, and \X has not been compiled at offset 14] " > > Could you help me? Is this a bug? > > I run the CakePHP on : > > * PHP 5.1.6 > * Mysql 5.0.45 > * CentOS release 5.2 / kernel 2.6.18-92.1.13.e15 on an i686 > > Thank you in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
