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

Invalid security token when saving page with a lot of data

Started by Muut Archive 10 years ago · 5 replies · 412 views
10 years ago

Hi guys. Recently I have faced with the following issue.

Given a page has some blueprint which consists of a list of countries, and every country has a list of items inside. So it's like nested lists. And it worked great.

But now, when I am trying to add one of that items to some country, I am getting 'Invalid security token' error. In spite of this, I am able to add new countries, which is like first-level list. Page file is about 50 KB now already. Also need to mention, that manual editing through markdown is working fine.

Is there any way I can fix this? Thanks in advance!

10 years ago

Problem solved. It was all about the following parameter in php.ini:

TXT
; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 1000

I have increased it and it worked perfectly.

10 years ago

You would set this in your php.ini, then restart your webserver.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1362 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2959 9 years ago
Archive · by Muut Archive, 9 years ago
3 1124 9 years ago