• Resolved renard-lune

    (@renard-lune)


    Hi everyone!

    I am trying to upload some images to my website, and i have the message “An error has occurred when sending. Please try again later.”.

    Thème : Tweentyfourteen
    Plugins : InPost Gallery, Contact form 7, advanced post slider

    I deactivated all plugins, and my child theme and disabled the plugin directories (renamed as pluginsx).

    I checked my CHMOD directories, they are all 755 and 644 for files.

    I’m out of ideas …
    Could you help me?

    Thank you in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey renard-lune!

    I’ve seen a messed up wp-config.php cause this issue, can you make sure this code is at the bottom:

    # That's It. Pencils down
    if ( ! defined( 'ABSPATH' ) ) {
    	define( 'ABSPATH', dirname(__FILE__) . '/' );
    }
    require_once( ABSPATH . 'wp-settings.php' );

    How large are the images (file size) that you’re trying to upload? In addition to maximum filesize limits that WordPress has, PHP also has limits, and possibly your site host as well….if they are large files that could cause this error.

    Thread Starter renard-lune

    (@renard-lune)

    Hi,
    Thank you for your answer.

    @trisham, my file size is 700 ko, my php limitation is at 20M and my wordpress limitation is at 8MB. But i take a picture of 900ko in the internet and i try to upload it, and it works. But pictures from my camera even after compressing, can’t be uploaded…
    I don’t understand…

    @octaImage, yes, i have this code at the end of my file.

    Thanks for your help,
    If you have any other idea…

    RL

    Thread Starter renard-lune

    (@renard-lune)

    Hi,
    Finaly i found the solution, after finding the real problem.
    My image size was too large, so after resize it, it’s good!
    (4928 * 3259 was my initial size.)

    Thank you very much for your help!!

    RL

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image Upload doesn't work’ is closed to new replies.