- Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in image_gd_load() (line 232 in C:\UniServerZ\www\uniautonoma\modules\system\image.gd.inc).
- Warning: imagecreatefromjpeg(): pez.jpg is not a valid JPEG file en line 232 in C:\UniServerZ\www\uniautonoma\modules\system\image.gd.inc).
I'm in Windows. Switching to WAMP or XAMP solves the issue. Uploading my website to my webhosting (linux) solves the issue.
I realized this after spending many hours trying to fix the problem, and I found forums where it was discussed that the jpeglib should be compiled with php, matching the configured version somewhere (something along the lines of "new jpeglib was not compiled correctly").
Even though I'm a big fan of UniServer, I'll have to switch to another option until this is solved .