Skip to content
Grav 2.0 is officially stable. Read the announcement →
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 · 1438 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 Vladimir Novak, 2 weeks ago
3 291 2 weeks ago
Plugins · by Mathieu Lecouturier, 3 weeks ago
3 277 3 weeks ago
Plugins · by Slebeig, 2 months ago
1 403 2 months ago
Plugins · by Rene, 2 months ago
2 574 2 months ago
Plugins · by Xavier, 3 months ago
2 490 3 months ago