Codoforum related discussions
Notice: Undefined index

Notice: Undefined index: CSRF_token in /web/htdocs/www.mywebsite/home/inforum/admin/modules/ui/blocks.php on line 253 Notice: Undefined variable: content in /web/htdocs/www.mywebsite.com/home/inforum/admin/Lib.php on line 45

hello

i'm trying to delete a block but can't delete and appear this text line on the top of the page

Paolo

Notice: Undefined index: CSRF_token in /web/htdocs/www.mywebsite/home/inforum/admin/modules/ui/blocks.php on line 253 Notice: Undefined variable: content in /web/htdocs/www.mywebsite.com/home/inforum/admin/Lib.php on line 45 hello i'm trying to delete a block but can't delete and appear this text line on the top of the page Paolo
edited Dec 10 '14 at 11:37 am

Yes, it is a bug in the latest version of Codoforum.

For a quick fix, go to admin/modules/ui/blocks.php

Around line 253, replace

    } elseif ($_GET['action'] == 'delete' && CODOF\Access\CSRF::valid($_POST['CSRF_token'])) {

with

    } elseif ($_GET['action'] == 'delete' && CODOF\Access\CSRF::valid($_GET['CSRF_token'])) {
Yes, it is a bug in the latest version of Codoforum. For a quick fix, go to admin/modules/ui/blocks.php Around line 253, replace ``` } elseif ($_GET['action'] == 'delete' && CODOF\Access\CSRF::valid($_POST['CSRF_token'])) { ``` with ``` } elseif ($_GET['action'] == 'delete' && CODOF\Access\CSRF::valid($_GET['CSRF_token'])) { ```

i did but still the same,

same error, same place,..
it ok, I can wait till the next uploding

many thanks

Paolo

i did but still the same, same error, same place,.. it ok, I can wait till the next uploding many thanks Paolo
468
2
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft