Discussion in 'Troubleshooting and Problems' started by Wesker, Sep 19, 2013.
Permissions are set to 777 with uploading avatars, yet for every avatar uploaded, they give an error
Just curious, are you using a LiteSpeed webserver?
Are you using GD or Imagick? Animated or non animated avatars or both?
Simple .gif. Just a regular 192 x 192 icon.
It has to be one or the other. You should check in your XF settings whether you're using GD or Imagick for image manipulation.
Where do I find this?
Note that it's just the thumbnails that aren't displaying.
If you view the image directly in your browser, what does it show? Better yet, can we see the URL in question?
Basically the thumbnails aren't working but if you click on the users profile you can see the avatar or if you view their thread, you can see it. It's specifically though when you view the forums with all the threads that the thumbnails are broken.
I'm not sure if it's imagick or GD, not sure where I can view this. Imagick isn't installed on this server and I need to migrate to upgrade as I'm using an outdated version of Red Hat. Can I switch this to GD. Not familiar with this so need some pointers.
ACP -> Options -> Attachments ->
The Default Image Processor near the bottom of the list.
The questions in my previous post still stand -- notably, being able to see this directly would be the most useful method of debugging.
Great. It's GD then.
Mike, Im going to PM you a link to the website right now. Thank you.
So you have a medium and a large version of that avatar, but not the small version. The small version returns a 404. This indicates that the resizing is fine, as you wouldn't get a medium version otherwise.
This basically just points to permission issues (or a server move and content not being moved correctly, but I'm assuming it's not that). You should make sure the permissions on the data/ and internal_data/ and all directories and files within (recursively) are correct -- that usually means 0777.
Here is what someone said who analyzed the server:
Doing some quick digging the issue simply appears that your class from "Xenforo" has an undefined method it is trying to use.
PHP Fatal error: Call to undefined method XenForo_Image_Gd::thumbnailFixedLongerSide() in /library/Waindigo/Avatar/Extend/XenForo/Model/Avatar.php on line 278.
This means your script library is missing the function/method called "thumbnailFixedLongerSide()" which looking at the actual documentation for this function/methods appears this one actually doesn't exist.
It does appear the method thumbnailFixedShorterSide() does exist though. I would have your developer of this script/module make sure this isn't a mistake.
All permissions are set to 777 including sub directories/files. Still not working.
There's the problem - a Waindigo add-on. You'll need to contact him.
Looks like Ill have to uninstall it then. Disabling it didn't work which is what we tried initially.
I uninstalled and removed the files from the server for this Waindigo add-on yet the error still is there.
You've uploaded a new avatar and you're still receiving the fatal error?
Separate names with a comma.