ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PDF upload issue on 2.1.3

February 06, 2011 7:45am

Subscribe [4]
  • #1 / Feb 06, 2011 7:45am

    James Hurst

    48 posts

    This question may be related to a resolved thread.

    We are trying to use the file manager to manage the process of uploading PDF’s onto a website.

    We are using matrix (pixel and tonic) and one of the cells is file upload.

    It works fine for images; but when we try and upload .pdf files using the file upload - an error message saying “the file could not be written to disk” pops up.

    We can see that there is a bug report here:
    https://support.ellislab.com/bugs/detail/15176/

    Can someone confirm if this bug is the cause of our woes - or if there is anything else we can do to help.

    We have checked that the permissions for the folder are set to 777 (and we can upload images into the folder). And we have tried a variety of PDF’s ranging in size.

    Many thanks
    James

  • #2 / Feb 07, 2011 4:20am

    John Henry Donovan

    12339 posts

    james,

    Try setting Apply XSS Filtering to uploaded files? to no in your Security and Session Preferences

  • #3 / Feb 16, 2011 1:44pm

    Steven Grant

    894 posts

    That should solve that particular issue. Had it myself a few moments ago.

  • #4 / Feb 16, 2011 5:44pm

    Ingmar

    29245 posts

    Thanks for the assist. Does that help?

  • #5 / Feb 21, 2011 4:37am

    moonbeetle

    81 posts

    I had a similar problem uploading PDF’s with EE2.1.4beta (uploading a file from the File Manager popup, no Matrix involved). Disabling XSS filtering did the trick.

  • #6 / Feb 21, 2011 4:19pm

    Ingmar

    29245 posts

    Thanks. Does that work for you as well, James?

  • #7 / Sep 15, 2011 1:14am

    TrevC

    39 posts

    I just bumped in to this issue. I was about to give up before finding this thread. Like many others here, disabling XSS was the fix.

    Edit: Wanted to add it was only PDF files causing the issue. LAMP setup on Firehost.

  • #8 / Sep 15, 2011 4:37am

    John Henry Donovan

    12339 posts

    Thanks TrevC,

    You also now have the option in latest version of EE to add hidden config variables to exclude certain members or groups from XSS clean

    I am going to close this thread out as its pretty old. Feel everyone to to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases