• I’ve been trying unsuccessfully to upload jpegs to my site and I keep getting these “cryptic” messages –

    “” 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.

    I’ve seen just everything but this. How can I get MY images to upload? They’re tiny at 24kb and 3 kb.

    TIA

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dave,

    I’m not sure if this is any help to you, but it may be that you don’t have gd installed. This is the bit in PHP that handles images.

    https://php.net/manual/en/book.image.php

    When you install it, make sure you restart httpd to enable the changes.

    Let us know how you get on ??

    Thread Starter decombs21

    (@decombs21)

    Thank you Trystan. If it were a matter of cigars, I’m sorry to say you can’t have one.

    What was required was to contact my hosting company and ask them to “tinker” with the php.ini file. Eve did so and I was able to upload photos just fine.

    I wanted to post this not to embarrass you but to have this exchange on this site for the next person with the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php.ini & uploading images’ is closed to new replies.