Forums

[resolved] Other media uploads, but not 11x17 PDF (3.5MB) (30 posts)

  1. brisus
    Member
    Posted 1 year ago #

    Hi,
    I have a site developed for a client and they have a newsletter made in Publisher that they save as a PDF, which happens to by 11x17", 3.5MB file size. Everytime I try to upload this file, I get the "HTTP error" and the status bar stuck on "Crunching".

    However, I have uploaded other PDFs (letter sized), .jpgs, and other files.

    Does WordPress have a limit on the dimesions of a file? Can someone help please?

  2. Please don't bump your post.

    Try using the Browser uploader, not the flash one. It could be a problem with your computer.

    These wp.com directions may help: http://en.support.wordpress.com/media/uploader/

  3. brisus
    Member
    Posted 1 year ago #

    Sorry about that.

    When I tried the browser upload, I get "Not Found
    The requested document was not found on this server.

  4. You click on browser loader and it says not found?

  5. brisus
    Member
    Posted 1 year ago #

    No, when I select teh file and click upload... it'll show the status bar up to 100% and then load a blank page that says that.

  6. What browser are you using? I had a similar problem with Safari on my Mac for a while (had to use Chrome for any file over 1mb).

  7. brisus
    Member
    Posted 1 year ago #

    Well, the client is using IE with Windows 7 and I'm using a Mac with Chrome. On her computer there, we tried Chrome and Firefox as well with no luck.

    Weird thing is... some of the other PDF files uploaded that were about letter-size, but when we try to upload this 4pg, 11x17 PDF that is only 3.5MB... I get an error either way (flash or browser upload).

    I don't have a clue and this isn't making a good impression on the client. :/

  8. What is the file size of the other files? If they're under 3megs, you may need to up your file-size limit in PHP for the server.

  9. brisus
    Member
    Posted 1 year ago #

    About a MB or so.

    How would I go about uping that limit? Would I need to log into the host and access their webpanel and php databases? or is this something entirely different?

  10. I think the default php upload limit is something like 2MB (which is stupid in 2011, but there you are).

    First let's see if we can do it via .htaccess :) Put this in your .htaccess, up at the top:
    php_value upload_max_filesize 10M

    If that doesn't work, you'll need to edit the php.ini file on the server. If you don't have access, you'll have to ask the webhost.

  11. brisus
    Member
    Posted 1 year ago #

    Okay, I just went in the .htaccess file and this is what it currently has:

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
    
    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value memory_limit 20M

    I tried to upload the file again and the broswer upload still fails to that previous error and the flash upload still gives me the red "HTTP error.".

  12. Then you need to edit it in your php.ini file for sure. Though....

    Make a phpinfo page (if you don't know how, read this http://kb.mediatemple.net/questions/764/How+can+I+create+a+phpinfo.php+page%3F#gs ) and check for the max_file_uploads and upload_max_filesize values.

  13. brisus
    Member
    Posted 1 year ago #

    according to that page:
    max_file_uploads = 20
    upload_max_filesize = 128 MB

  14. Huh. Well that's a weird mis-match.

    Comment out/delete the php value lines from your .htaccess?

  15. brisus
    Member
    Posted 1 year ago #

    Did that now and still have the error. I just don't have a clue!

    I don't believe I have access to the PHP.ini file, so I'll maybe have to get in touch with thehost. I couldn't see an .htaccess file int here, but when I created one - it appears there now. LOL

  16. Chip Bennett
    Member
    Posted 1 year ago #

    Does your host throttle those values, by chance? The default limit is usually 2MB; what is the maximum that your host allows?

  17. brisus
    Member
    Posted 1 year ago #

    Well, they got the host before I ever managed the site. I'm not quite sure honestly.

    I tried some tricks above with phpinfo(); command and left my values there.

  18. The host should be contactable, though, I mean it's not like you can't get in touch with them :) You may have to ask, but you can tell your client 'There seems to be a conflict with the server configuration and I can expedite fixing it if you let me talk to the host directly.'

  19. brisus
    Member
    Posted 1 year ago #

    I do have the contact info for their host, so I will have to do just that. :)

    I appreciate all the suggestions and advice. :)

  20. brisus
    Member
    Posted 1 year ago #

    When I contact the host, Ipstenu, what do I need them to change in the php.ini file or look for? I just want to be sure.

  21. Tell them

    "I'm having issues uploading files over 2megs using a PHP form. I think the problem is that the upload_max_filesize isn't being honored correctly (a phpinfo() page shows it SHOULD be 20megs). Can you verify that the settings are correct in php.ini and are set to 20megs?"

  22. brisus
    Member
    Posted 1 year ago #

    Thank you for contacting ***.
    In reviewing your PHP Settings the size limit appears to be set to 128MB.
    Are you receiving a specific error?

    Please let us know if you have any additional questions or concerns.
    _______________

    So, they are saying it is set to 128MB, so now I'm not sure what to do about this error. I wrote the error in the email, but I guess he didn't read it. LOL

  23. brisus
    Member
    Posted 1 year ago #

    Replied to him and we'll see what he says from there. LOL

  24. brisus
    Member
    Posted 1 year ago #

    Okay, here's the updated info:

    CONSULTANT: It does look as if the ASP Upload size may have been the issue. I updated it from 4MB to 120MB. Please give it another try and let us know if the problem persists.

    ME: Problem persists.

    CONSULTANT: Does it work with the browser uploader?

    ME: No, document could not be found on requested server.

    ...the search continues! Will keep you all updated.

  25. ASP Upload size?

    Tell me he meant PHP cause ... ASP is something else! (Sidebar: Ask him if you're using SuPHP or some other sort of PHP install?)

  26. brisus
    Member
    Posted 1 year ago #

    I just copied word for word. I told him that it was WordPress and even showed screenshots and everything. I dunno what he's thinking. Since all this, he hasn't replied. I got to find a solution! lol

  27. brisus
    Member
    Posted 1 year ago #

    CONSULTANT:
    Brianne,

    The Windows IIS File upload settings appear to be correct as well.

    I have escalated the issue on our end and should have an update load today. Please let us know if you get a response from WordPress.

  28. brisus
    Member
    Posted 1 year ago #

    Okay, this is what he said to me:

    Brianne,
    It appears the issue is now resolved.
    The problem was due to ASP.NET settings on the server.
    Here is the article which lead to the resolution:
    http://franthomas.com/wordpress-http-error
    Please let us know if you have any additional questions or concerns.
    _______________

    I told him twice php, so not sure where he's getting the asp.net stuff from. I told him it didn't work. SO...then I just got this response:

    ________________

    Brianne,

    I apologize. We installed a test version of wordpress and we were able to resolve the issue in the wptest subdirectory.

    We have now applied the fix to your main directory.
    ____________________

    I just tried it and it now works... SO, I'm assuming the fix is in the article link they posted above. Thanks for all the help. Hopefully this will help many of you too.

  29. Windows IIS servers! Augh!

    Now that we know you're on IIS, make a note, cause IIS servers are ... rarer in the WP world.

    Funny that the link they gave you says PHP too, but hey, whatever works!

  30. brisus
    Member
    Posted 1 year ago #

    Yea, I guess so! At least it is fixed!
    Thanks for dealing with my posts--I appreciate your help! Have a great day.

Topic Closed

This topic has been closed to new replies.

About this Topic