Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Invalid Security Token when saving from admin panel

admin

Solved by ryan pao View solution

Started by ryan pao 8 years ago · 1 replies · 1261 views
8 years ago

Hi all,

I'm getting 'Invalid Security Token' when trying to save a page.

situation:
Custom template tweaked from antimatter: features.
all seems to be working fine, I can gui edit the values and save for a page with less than 150 entries,
but when trying to save the same page with over 180 entries... I get : 'Invalid Security Token' on admin pages.

any pointers?

more info:
Grav v1.4.2 - Admin v1.7.4
front matter structure:

YAML
title: 
sections:
    -
        id: 
        name: 
        title: 
        rubi: 
        email: 
        ext: 
    -

dedicated yaml is set and working fine.
data entities are single quoted ie. id: '012345'
and utf-8 Japanese text is used.

able to save filesize: 4.0 K
unable to save filesize: 28 K

last edited 04/06/18 by ryan pao
8 years ago Solution

SOLVED !!!
PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 47 1 week ago
Plugins · by Xavier, 4 weeks ago
2 56 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1182 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 74 2 months ago