0

I wonder why resizing a jpeg image fails in Wordpress without throwing a PHP Error with memory_limit error or Filesize Error.

The image is 2MB big jpeg with RGB colorspace. Dimensions 4496x4496 (16Megapixel Camera)

A user uploaded it in his profile and since then the user doesn't appear in the Users section anymore. The HTML output just stops at the point the user would come next.

The server runs only with GD and not Imagick.

Server throws a 500 Error Code on upload in Medialibrary, but in the Userprofile the page just goes blank white. Menu still there but Userprofile is unusable.

Does anybody have a clue?

  • 1
    you checked logs for error? debug is on? you don't always see an error if one is thrown, can sometimes quietly occur. – GhostToast Jan 23 '14 at 18:09
  • @GhostToast is right. In wp-config.php find the line that says define('WP_DEBUG', false); and change it to true. It's most likely that your server hit its memory limit trying to crunch that file and now you're seeing the repercussions of that issue. – MikeNGarrett Jan 24 '14 at 4:35
  • @MikeNGarrett I'll try that and report – spankmaster79 Jan 24 '14 at 9:48
  • @MikeNGarrett that didn't help as no Error Message appears. Only some Notices and Warnings from the Wordpress core. Funny that Wordpress doesn't recommend some functions since Version 2.0 but still uses them in 3.7.1 :D – spankmaster79 Jan 24 '14 at 15:36
  • If you're not getting an error that means it's getting what it's expecting while you're still seeing nothing. I would recommend trying to remove that account and image and see if you can't recreate everything at this point. – MikeNGarrett Jan 24 '14 at 18:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.