Page 1 of 1

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

PostPosted: 06 May 2017, 23:18
by Batman93
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

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

PostPosted: 06 Aug 2017, 03:39
by Batman93
Same issue with the PRO version ...

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

PostPosted: 07 Aug 2017, 12:10
by Foton
Н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

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

PostPosted: 08 Aug 2017, 23:13
by Batman93
WORKED FINE !!!!
Thanks !