Error 400 Lite: The CSRF token could not be verified.

Write about issues that you have found.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Error 400 Lite: The CSRF token could not be verified.

Postby Batman93 » 06 May 2017, 23:18

Hi,

As I try to delete an entry, I have this on the Free version.
Error 400

Lite: The CSRF token could not be verified.



I also cannot delete selected announces. The page seems to hang...

Thanks !

Marc
Batman93
Stranger
 
Posts: 19
Joined: 06 May 2017, 23:13
Reputation point: 0

Re: Error 400 Lite: The CSRF token could not be verified.

Postby Batman93 » 06 Aug 2017, 03:39

Same issue with the PRO version ...
Batman93
Stranger
 
Posts: 19
Joined: 06 May 2017, 23:13
Reputation point: 0

Re: Error 400 Lite: The CSRF token could not be verified.

Postby Foton » 07 Aug 2017, 12:10

Нou can fix it by changing
Code: Select all
AdminLteHelper::getDeleteMenuLink(tt('Delete apartment'), '#', array(
        'linkOptions' => array(
            'submit' => array('delete','id'=>$model->id),'confirm'=>tc('Are you sure you want to delete this item?')
        )
    )),

into
Code: Select all
AdminLteHelper::getDeleteMenuLink(tt('Delete apartment'), '#', array(
        'linkOptions' => array(
            'submit' => array('delete','id'=>$model->id),
            'confirm'=>tc('Are you sure you want to delete this item?'),
            'csrf' => true,
        )
    )),

in file protected\modules\apartments\views\backend\update.php
Foton
Web Developer
Web Developer
 
Posts: 117
Joined: 26 Jan 2012, 14:58
Reputation point: 1

Re: Error 400 Lite: The CSRF token could not be verified.

Postby Batman93 » 08 Aug 2017, 23:13

WORKED FINE !!!!
Thanks !
Batman93
Stranger
 
Posts: 19
Joined: 06 May 2017, 23:13
Reputation point: 0


Return to Issues

Who is online

Users browsing this forum: No registered users and 6 guests

cron