Thank you.
after set I call this method:
$this->Cookie->read('mycookie');
and it return this error:
Warning (512): You cannot use an empty key for
Security::cipher()
if I call with debug function so:
debug($this->Cookie->read('mycookie'));
doesn't return anything...
Thank you
On Mar 10, 8:20 pm, cricket <[email protected]> wrote:
> On Thu, Mar 10, 2011 at 11:46 AM, Carachi <[email protected]> wrote:
> > thank you rethab
> > I try with debug function but I didn't understand the problem.
> > Cakephp give this error:
>
> > Warning (512): You cannot use an empty key for Security::cipher()
> > [CORE/cake/libs/security.php, line 173]
> > Code | Context
> > function cipher($text, $key) {
> > if (empty($key)) {
> > trigger_error(__('You cannot use an empty key for
> > Security::cipher()', true), E_USER_WARNING);
>
> > I don't understand how solve this problem!
>
> Did you debug the parameter? It's not clear that you did.
>
> debug($name);
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php