Cakephp security component error -


the error is:

'_token' not found in request data.

it happens on redirect @ end of action

i went through debug , can see coming function called _validtoken()

i've no idea why particular controller doing though have others similar actions , working perfectly

the action triggers it's supposed right redirect @ end

the problem not evident until implemented ssl have been there whole time waiting pounce!

i've started using security component , few pointers, if out there nudge me in right direction i'd appreciate it.

cheers

so figured out eventually

it such simple problem

i had @ end of form:

<?=    $this->form->button(__('submit'));   $this->form->end() ; ?> 

it works. works when turn on auth. stops working load security component

change this:

<?= $this->form->button(__('submit')) ?> <?= $this->form->end() ?> 

and works security component

silly mistake suppose hard find because worked fine if development process , broke when added security component!


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -