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. May 31, 2015 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, 2015 at 7:01
  • Post up the relevant code then. Jun 1, 2015 at 7:02

1 Answer 1

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, 2015 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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