Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Avatars not working
joshribakoff
New
All of the sudden my forums show a broken image for my avatar http://vehiclefits.com/forums/
I went to re-upload an avatar and selected 50KB jpeg, it says: "You cannot save images of this type (2)."
Where would I start to debug this?
0
Comments
Welcome to the Community.
read the tutorial on
http://vanillaforums.org/discussion/22666/how-to-upload-music-sound-and-movie-files
and read this at some point - it will be helpful
http://vanillaforums.org/discussion/23130/forum-post-ettikett-etiquette
it is all related to your problem.
and post the config statements you have related to uploads
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
So I removed the following nginx rule designed to stop hotlinking:
location ~*.(jpg|jpeg|gif|png)$ {
That rule did not break any images anywhere on my site, except Vanilla forums. It worked exactly as intended otherwise. It also only blocked the image avatar & not the theme files.
However the image still appears broken on my profile edit page, and it still doesn't let users upload a new avatar, instead saying "cannot save images of this type (2)" - what is the significance of the (2)? That is not a very friendly error message. Are jpegs in fact blocked? If so what formats are allowed? etc..
@joshribakoff
in addition to this
http://vanillaforums.org/discussion/comment/194484/#Comment_194484
check your phpinfo.
this plugin allows you to view phpinfo in dashboard
http://vanillaforums.org/addon/versioncheck-plugin
look at the settings for gd - check if everything is enabled correctly for jpeg support.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.