0

I am running 2.9.3 using Channel Forms, the issue is if I try and upload a excel or .xlsx file it never uploads, even though eventually the form submits (it's considerable slower submit), no upload happens.

If I try .txt or an image file, it's fine. I have the enctype="multipart/form-data" in the tag, so not sure what might be occurring here. Any ideas, I have been at it for a while and not sure what it might be.

3
  • Try uploading the same file into the same folder via the file manager to confirm the file type is allowed & folder is writable. – stuartmcd69 May 31 '15 at 10:30
  • I tried that and it's totally fine through the ACP, it's only via channel form it goes wonky. – Vin Jun 1 '15 at 7:01
  • Post up the relevant code then. – stuartmcd69 Jun 1 '15 at 7:02
1

I had the same issue. You can solve it by disabling XSS filtering:

Admin -> Security and Privacy -> Security and Sessions. Than select "No" for "Apply XSS Filtering to uploaded files"

1
  • Excellent, that worked :) Thank you, very grateful! – Vin Jun 1 '15 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.