SQL Erro message with File Upload

Hey there,

We are getting an SQL error after saving a record when uploading a 'file upload' element in a form.

I've tried to remove the element and re-add it and checked a few other things but the error persists.

If you don't upload a file, specifically it would seem a PDF file, images work fine, then the form saves without issue.

Thank you

Screen Shot 2017-08-29 at 5.01.32 am.png
 
Hey Hugh,

This was for the Ajax upload. However I just tested with a normal upload and the same sort of thing happens (Warning: Failed to move file:).

Message says that the record has been saved, but there isn't any record added.

Should also add that the error occurs with images as well, not just defined to PDF documents.

Thankyou
 
You didn't mention "Warning: Failed to move file" in the original post.

Are you sure you don't have file / folder permission issues?

-- hugh
 
Hey Hugh,

I had only used an Ajax upload form and only put a normal upload field in to test, hence not being on the original post.

It seems fine now. Not sure what changed but all the uploads are working correctly now.

Odd


Sent from my iPhone using Tapatalk
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top