Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Invalid Security Token when saving from admin panel

admin

Solved by ryan pao View solution

Started by ryan pao 9 years ago · 1 replies · 1546 views
9 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
9 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 renedebaaij, 6 hours ago
0 10 6 hours ago
Plugins · by complanar, 2 weeks ago
6 377 2 weeks ago
Plugins · by BenLaKnet, 2 weeks ago
1 194 2 weeks ago
Plugins · by complanar, 1 month ago
2 471 4 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 749 2 months ago