• Resolved shellwe

    (@shellwe)


    This is a fresh install of 4.0, not an upgrade, I loaded some plugins and themes, but right now it is using the Twenty Fourteen theme and all plugins have been turned off. I tried to upload in both Firefox and Chrome.
    I load a small 640×480 photo and it loads fine, as you will see in the screenshot, but then I tried to load various different 2 MB files, it just gives me an error, I was hoping it loaded it anyway, so I reloaded and I see some document icons, labeled here as 019.jpg, 004.jpg, and 042.jpg.

    https://imgur.com/BAz6EkL

    To explain this screen I had previously attempted to upload some images, refreshed, and then uploaded another one, so that you can see what it looks like after I refresh and when I try to upload an image, any assistance I can get would be great.

    So again, new install of 4.0, all plugins have been turned off, and I am using the generic, unedited twenty fourteen theme.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hey there,

    In your case, since you have no plugins active and using the basic 2014 theme, I would reach out to your hosting company. It could be an issue on their servers and possibly imagemagik not set up or something.

    See for reference the following:

    https://stackoverflow.com/questions/21726630/an-error-occurred-in-the-upload-please-try-again-later-in-wordpress-when-uplo

    https://www.ads-software.com/support/topic/solution-an-error-occurred-in-the-upload-please-try-again-later-1?replies=4

    Thread Starter shellwe

    (@shellwe)

    I am not sure about imagemagik, I looked it up some, does that come native with wordpress? Good idea about the host, I was actually e-mailing them as I got this message from you, it is possible I was set to an old version of PHP or something. It didn’t tell me what it was currently set to but I changed to 5.6 and have to wait an unknown period of time for that to kick in.
    Would you know, if I installed this version of wordpress while on an old version of php, would I have any issues down the road or if I haven’t gotten errors yet I am safe or would installing it on an old version of wordpress be causing part of this?
    Shawn

    Hey Shawn

    Imagemagik is something your host would have to have set up properly on the servers. Your host would be able to better answer the issues with PHP version as well. I am not totally knowledgeable on it and wouldn’t want to provide you with a wrong answer.

    Thread Starter shellwe

    (@shellwe)

    New development; we did put in the php.ini file to wp_admin that contained
    memory_limit = 64M;
    upload_max_filesize = 64M;
    post_max_size = 64M;
    I tried to upload a 3 MB jpg file and it failed, but then I tried to upload a 24 MB BMP file and that worked, so I am wondering if that Imagemagik that you (Mike) mentioned does something to scale down jpg files or create thumbnails if they are at a certain resolution and that is the part that is messing up.
    I need to figure out what to tell my host.
    Also, I just tried a 16 mb png and that failed too.
    But the fact that a 24 MB file can upload tells me it is not a file upload capacity issue.

    Thread Starter shellwe

    (@shellwe)

    I got an e-mail back from my hosting:
    “The issue seems to be related to the resolution of the images. The memory runs out before the image attachment metadata is generated and saved. This happens during the crop of the image to smaller sizes. Every pixel that needs to be generated takes memory, and when the memory runs out the process breaks and the thumbnail is not generated. The only solution to this error is to optimize the images for web by lowering their resolution and size and then perform the upload. The resolution on those images is very big, some of them have a resolution of 4900×2880, which is not recommended for web. This is a know issue with WordPress downloading big image files, if the memory is not enough the thumbnail is not generated.”
    Apparently 1&1 shared servers don’t allow enough memory to properly upload the file. Guess it means I will have to try an alternative host and wish for better luck. I believe both dreamhost and godaddy have money back guarantees, so I will check them out.

    Whatever you do please stay AWAY from Godaddy hosting. You will be severely depressed and constantly in the forums with questions. If you are choosing between those two, go with DreamHost. You could also try WP Engine.

    However, you may end up running into the same issues if the images are ridiculously huge. Not saying you do, but you might end up needing VPS or dedicated server. Also, take note of your current host’s response as they said this is a known issue with WordPress and large files. Good luck though on your site!

    Thread Starter shellwe

    (@shellwe)

    Thanks for the heads up about godaddy, my friend says he has had heard nothing bad about them and loves them, but when googling best website a couple said they were the worst. I never heard much about dreamhost before but some sites said they were the best, so I guess… the trouble is whenever you type “best [anything}” on the web you run into sponsored content where they are paid to put a certain one at top and then max out the SEO.

    With dreamhost they give you a 90 day money back guarantee. I plan to open an account, install a test on whatever free sub domain they give me, and then see if a 4-8 meg image works.

    What bugs me is it was set at 8 MB before I call them, then their support said bump it to 64 MB, then they tell me their servers can’t handle more than 2 MB photos, I am frustrated by 1and1’s service.

    This tech has a great point, when my client loads the pages on the site, we don’t want them to be 4900×2880, he said it fails in scaling down, what does it scale down to? Is there a good plugin that would create smaller versions still, like one with max width of 400px and one with max width of 900px or something? I know that google had one that was discontinued that many people warned me to stay away from as it injects several vulnerabilities, that is my biggest concern.

    Yes, go with DreamHost in this case. DreamHost has a WordPress expert as well as specialized WordPress hosting. As far as scaling down images, check out the plugins below that might help:

    https://www.ads-software.com/plugins/enable-image-scaling-option-on-upload/

    https://www.ads-software.com/plugins/wp-smushit/

    Good luck!

    Sorry to hear about the problems you are having with 1&1. We do have enough memory to handle image uploads but the default limit we set could be increased. I will address it when I’m back from holiday.

    About Imagemagick, we do have that already installed but WordPress will not use it yet. We are currently working on updating our platform and will look if we can install

    Thread Starter shellwe

    (@shellwe)

    Mariko, do I understand you are from 1&1? If so that would be great, I have had horrible service with some techs there but switching domains and emails attached to the domain to another company can be a pain and I don’t want to risk the downtime for my client. I guess I was just frustrated by that response because re-sizing a 4000×3000 image to 1600×1200 or whatever it changes to. My client really has no interest in resizing photos (as easy as it may be) so it is nice wordpress can do that for him.
    And Mike, thanks for the URL links, I know I can just google myself, but I am really afraid of finding the wrong plugin that creates vulnerabilities, asking more experienced people such as yourself gives me more confidence it is a safe plugin.
    I will start a trial with dreamhost to see if they are a valid alternative. I did see their dreampress option but don’t know if automatic back ups and automatically updated core is worth twice the price since there are plugins can do that anyway. Also I plan to have other content hosted there. I will contact their support to get those questions answered.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘issues uploading medium size files’ is closed to new replies.