VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: maestroc on July 11, 2020, 02:12:50 AM

Title: Invalid Token error when saving lots of children item
Post by: maestroc on July 11, 2020, 02:12:50 AM
We have a few items with lots of children.  This one in particular has 119 children connected to it.  When we try to change the price on it it does not save and we get:

Invalid Token, in view=product task=apply

Please see the video below for a run through of the process including error message and debug info.  I installed Token Interceptor and turned on debug but am not seeing anything useful.

https://drive.google.com/file/d/1JPmN0bzKtNnAdWkofuHtc7JmD0HFNbwP/view
Title: Re: Invalid Token error when saving lots of children item
Post by: pinochico on July 11, 2020, 02:38:59 AM
I think that all products when saved are embedded in the URL and it is longer than it can be.
Try fewer products
Title: Re: Invalid Token error when saving lots of children item
Post by: GJC Web Design on July 11, 2020, 08:53:55 AM
try increasing your php max_input_vars & max_execution_time settings
Title: Re: Invalid Token error when saving lots of children item
Post by: maestroc on July 15, 2020, 02:21:14 AM
Thank you!  increasing those variables in my php.ini fixed it!