Now I used the Code from
http://book.cakephp.org/view/1250/Authentication

but every time I get an Error:

Warning (2): Cannot modify header information - headers already sent
by (output started at C:\xampp\xampplite\htdocs\cakephp\cake\libs
\debugger.php:673) [CORE\cake\libs\controller\controller.php, line
742]
Code | Context

$status =       "Location: http://localhost/cakephp/";

header - [internal], line ??
Controller::header() - CORE\cake\libs\controller\controller.php, line
742
Controller::redirect() - CORE\cake\libs\controller\controller.php,
line 721
AuthComponent::startup() - CORE\cake\libs\controller\components
\auth.php, line 375
Component::triggerCallback() - CORE\cake\libs\controller
\component.php, line 186
Controller::startupProcess() - CORE\cake\libs\controller
\controller.php, line 523
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 187
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
[main] - APP\webroot\index.php, line 83





On 1 Mrz., 16:11, Ryan Schmidt <google-2...@ryandesign.com> wrote:
> 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...

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to