Kimsesiz Hello, It seems I can upload GIF and PNG avatars, but not JPG: "500 Internal Server Error POST http://---/api/users/4/avatar null" Since it's "null"... I don't know where to look...
jordanjay29 Need more info... (redact sensitive stuff) Website URL if available, screenshots of the error Ensure debug is set to true in config.php What webserver software are you using - does it match the requirements? Php version? (in command line - php -v) Are you using a VPS or Shared Hosting? Relevant server error logs What have you tried so far? For better readability of code, please place backticks ``` above and below.
Kimsesiz jordanjay29 Thank you. I fixed the problem. It was due to lack of PHP GD's JPG support. I recompiled PHP with --with-gd --with-jpeg-dir=/usr/lib64 and now JPG uploads works, too.