I work an a Sylius project.
In the sylius_shop_ajax_cart_add_item
form I added a custom input of type hidden
where I send a base64 image.
The problem is that if the input is big the POST data is lost.
The ajax call is made via Semantic UI js API.
Here is the request with some small input data. The field to pay attention is image_base64
.
And here is the expected result on the server, debugger stopped at the first line of the controller.
Here is the image of the html with image_base64
input
And here is the debugger right on the first line of the controller.
I use the built in server from Symfony.
My php config for max_post_size
is 8mb.
Please someone any suggestion where is the problem?