Fixed avatar issue

Kippykip

CEO of cancelled
cringge
Since the server change, there was a small bug where avatars would error out when uploading new ones.
The error spit on my XenForo server log:
Code:
Failed to save image to temporary file; image may be corrupt or check internal_data/data permissions

If you encounter the issue, the fix may be similar than you would think.
For me, the script would error out when XenForo attempted to make resized versions of the avatar.
In XenForo attachments, it can either use the PHP GD library or Imagemagik.

In my case, neither were enabled. Since Imagemagik is a bitch to setup. The fix for me was to simply uncomment this in my servers php\php.ini:
From:
Code:
;extension=gd
To:
Code:
extension=gd
 
Top