I have set the following file permissions for the upload in the upload settings under data: jpg, jpeg, png, gif, pdf, xls, doc, txt
I’ve always had requests where PDF files were uploaded. That also worked perfectly. Now I have received a request with .jpg upload and I get the following error message when opening the file:
File does not exist or is outside restricted basedir
I have not changed the path under which the uploaded files should be saved. This is:
quform/{form_id}/{year}/{month}/
However, the .jpg files are available in FTP and are displayed correctly after downloading. I only get this error mentioned above via the form backend.
Why do .jpg files produce this error message, but pdf files do not?