• CinziaT

    (@cinziat)


    Hi all,
    I have a problem with image upload on my production environment.
    When I upload a small image the file won’t show, giving me the 500 error.

    I’ve made a few test, if my thumbnail size is set to 100×100 and i Upload an image that is 150 x 100 i can see the thumbnail image and the imgedit-preview but not the real size image.
    If the image is less than 100×100 I can only open the imgedit-preview.

    If the image is bigger than the Large size settings i can see all the image.

    The strange is that in my development I can’t replicate the issue.

    Can you help me please?
    Thankyou
    Cinzia

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fourteen theme to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via FTP or SFTP and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your FTP or SFTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

Viewing 1 replies (of 1 total)

The topic ‘500 – Internal server error For Small Image Upload’ is closed to new replies.