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.

Error when attaching pdf to post

May 09, 2012 9:59am

Subscribe [2]
  • #1 / May 09, 2012 9:59am

    Justapen

    12 posts

    Good morning,

    I’m using EE 1.6 on IIS 7.  we recently moved to an in-house server and are now unable to load pdf’s to our website.  I keep getting “something happened while trying to upload XXXX.pdf please try again” as an error message.

    I’ve checked the paths, permissions, turned off Xss filtering and checked where php was writing the temp files and still no dice.  Any suggestions?

    Thanks

  • #2 / May 10, 2012 11:51am

    Shane Eckert

    7174 posts

    Hello Justapen,

    I am sorry to hear you are running into this problem.

    Seems like you have covered the basics. Nice work.

    What do the php settings look like? If this is a big file, are you seeing anything in the logs about execution time?

    Can you go through adding a new upload destination? I am curious how that will go. Once you have that setup again, can you try uploading there? That will rule out a few things.

    Were you on IIS before? If not, is there a reason you moved to IIS?

    I will be on the lookout for your reply.

    Cheers,

  • #3 / May 11, 2012 3:26pm

    Justapen

    12 posts

    Thanks Shane,

    Creating the new upload location and double checking the IIS settings made me realize that all my slashes were going the wrong way (IIS standard is inetpub\wwwroot not inetpub/wwwroot). 

    This is what I get for switching from Apache to IIS right?

    Thanks for making me double check.  You can go ahead and close this thread.

  • #4 / May 11, 2012 4:02pm

    Shane Eckert

    7174 posts

    Hi Justapen,

    I am glad to help!

    I am not going to say anything about your move to IIS. 😊

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases