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

Invalid security token!

Started by Muut Archive 10 years ago · 6 replies · 453 views
10 years ago

An error occurred while trying to upload the file "example.jpg"

Any help will be appreciated :) Untitled

10 years ago

Strange error, is this happening on a fresh Admin session, can you recreate it with any page or any file uploaded?

10 years ago

I was getting this as well and cleared by browser cache. Seemed to fix the issue.

10 years ago

Check to make sure your PHP configuration can handle a file of that size.

Also be aware that uploading very large images, is going to cause problems for the GD library if you try to resize the image. This is because the PHP GD functions essentially manipulate the image as a bitmap, taking up much more memory than the original file. So you could get very bad performance, and use up lots and lots of memory.

10 years ago

Recreated this with large files. Will soon have a more meaningful error message. Solution: increase post_max_size in your php.ini setup to allow larger files.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1359 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2956 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago