Invalid Token, in view=product task=apply [VM 4.0.12][J3]

Started by hazael, May 11, 2023, 14:03:12 PM

Previous topic - Next topic

hazael

Invalid Token, in view=product task=apply

I can't save/update one product.
I think I found the cause. The product had 23 graphics added. After deleting one graphic, the product can be saved

IN PHP post_max_size=40M solves this problem

Jumbo!

Set "max_input_vars=25000" in php.ini. Then restart the server.

hazael

Yes, you are right - this limit solves this problem.
Virtuemart should have an internal over limit check.
The user should get an understandable error message. Just like Joomla, it informs about the exceeded size of the uploaded file to the server.

Milbo

Just found this topic. It is very unusual, that you add 23 graphics at one time. Did you use the multi image uploader?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/