• Resolved sleeneys

    (@sleeneys)


    Hello! I’m loading photos and just received this message for some photos:
    “DSC_0767.jpg” has failed to upload due to an error
    File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.”

    What does this mean? I am going through HostGator. When I signed up, I told them that I would be loading a lot of photos for my jewelry/products, so I think they gave me enough…
    Please let me know what I need to do when you get a chance.
    Thank you so much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    Have a look in your php.ini file and make sure that:

    file_uploads = on
    upload_max_filesize = 128m (appropriate value)
    post_max_size = 130M (appropriate value)

    Thanks,

    Thread Starter sleeneys

    (@sleeneys)

    I am so sorry to be so ignorant, but where do I find that file? I created a child theme (using a plug-in that created it for me) for Virtue…

    Hi,

    You would find php.ini file under public_html folder. You can access public_html folder either through cPanel or FTP.

    You can also ask your web hosting provider for the php.ini options I mentioned in previous reply.

    Thanks,

    Thread Starter sleeneys

    (@sleeneys)

    Thank you VERY much!!!

    Thread Starter sleeneys

    (@sleeneys)

    Me again. Ok, so I just spoke to HostGator. They’re telling me that I need to upgrade to an $80/month package, which I cannot afford.
    I don’t have that many pics loaded. Why have I hit my limit? Do you have any advice?
    I am at my wit’s end….

    There is a default upload limit (for an individual file) set in PHP.ini by HostGator. Your some of the images may be exceeding that one.

    I believe that HostGator might have suggested you to go for VPS hosting. If you’ve a small website, you don’t need to go for such a big package. You can just ask HostGaotr what is the max upload limit for an individual file? Downsize all your files that are exceeding HostGator permissible limit and you’re done with this.

    [Moderated]

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @accuwebhosting, Thanks for the support, but can you avoid advertising your services? Also, if you talk about which hosting providers are better than others then you’ll soon find this thread closed.

    Thread Starter sleeneys

    (@sleeneys)

    Thanks so much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘loading photos’ is closed to new replies.