Jump to content

[PS 1.6.1.x] "large" Post request gives 404


Recommended Posts

Hello dear community,

My module is photoshooting throu webcam, everything works fine until the picture become to big

What i presume too big is not that big.. like 1.3mB

Server is configured with post_max_size 512mB... which is far more than needed

Data is given throu post request into a textaera filed (or input text which also leads to same 404)

Also i dont see any error even with debug mode on.. it leads to frontoffice 404 page.. while keeping a backoffice URL..

Also i tried differents versions of php..

Also i crawled search engines..

Any tips ? Any clue ?

Link to comment
Share on other sites

Module is running only in backoffice, but when picture seems to big, it leads to a 404 error in frontoffice BUT still the url is a backoffice url (wierd)

Image captured is base64 jpeg that is given with post request, then php decode it and save it

Edit : i'm using Webcam.js, I have changed the capture quality from 100 to 90 and can get even larger files... So problem "solved" even if not really.. that is still fine for my usage. This kind of thing makes me crazy

 

prestashop webcam.js php 404

Edited by LauraPresta (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...