Tuesday, March 1, 2011

Re: Auth Problems

On Mar 1, 2011, at 03:02, Dreknor wrote:

> Notice (8): Use of undefined constant VALID_NOT_EMPTY - assumed
> 'VALID_NOT_EMPTY' [CORE\cake\libs\class_registry.php, line 141]
>
> Notice (8): Use of undefined constant VALID_EMAIL - assumed
> 'VALID_EMAIL' [CORE\cake\libs\class_registry.php, line 141]

You must've been following an old CakePHP 1.2.x tutorial; these were removed in CakePHP 1.3.

Instead of VALID_NOT_EMPTY, read about notEmpty:

http://book.cakephp.org/view/740/notEmpty

Instead of VALID_EMAIL, read about email:

http://book.cakephp.org/view/1161/email


> Notice (1024): Please change the value of 'Security.salt' in app/
> config/core.php to a salt value specific to your application [CORE\cake
> \libs\debugger.php, line 684]
>
> Notice (1024): Please change the value of 'Security.cipherSeed' in app/
> config/core.php to a numeric (digits only) seed value specific to your
> application [CORE\cake\libs\debugger.php, line 688]

Please do those things that the error messages say to do. See also:

http://book.cakephp.org/view/924/The-Configuration-Class#CakePHP-Core-Configuration-Variables-931

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: