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!
Thank you
Bye
On 10 Mar, 17:18, rethab <[email protected]> wrote:
> Hi you
>
> I meant that one: debug($name);
>
> Because it looks to me as if one of your parameters was empty
>
> cheers
>
> On 10 Mrz., 15:06, Carachi <[email protected]> wrote:
>
>
>
>
>
>
>
> > HI rethab
> > thank you.
> > How can I do function debug??
>
> > Thank you
>
> > On 10 Mar, 13:00, rethab <[email protected]> wrote:
>
> > > have you checked what's the value of the parameters? e.g. by using the
> > > function debug
>
> > > On 10 Mrz., 11:23, Carachi <[email protected]> wrote:
>
> > > > Hello,
> > > > I try to use the Cookie component but I have this problem:
> > > > I write the cookie in controller1 so:
> > > > $this->Cookie->write($name, $value ,true, $time);
> > > > and try to read this cookie from an other controller, controller2, so:
> > > > $this->Cookie->read($name);
>
> > > > but when i call this function, cakephp return this error:
> > > > Warning (512): You cannot use an empty key for
> > > > Security::cipher() [CORE/cake/libs/security.php, line 173]
> > > > and I don't understand why, beacuse I use the same method to read in
> > > > the controller1 and works!!
>
> > > > Thank you
> > > > Bye
--
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