MyBB Community Forums

Full Version: Avatar Issues for the whole forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
It seems that every time I try to change the avatar for a user in ACP it shows blank square like this:
[Image: ZxLDHnW.png]

If I try to upload an avatar on my forum even for my self as admin, I get this message: 'The file upload failed. Please choose a valid file anrd try again.' Also, when I try to post a URL to the avatar instead, it gives me this message: 'The URL you entered for your avatar does not appear to be valid. Please ensure you enter a valid URL.'

CHMOD is 777 for the uploads and uploads/avatars folder.

I have not touched any folders inside the ftp I do see the tmp folder there as well.

Could anybody help me with this? Thanks a lot!

Edit - In the postbit I see like this
[Image: iinwIav.png]

So I tried highlighting the profile and viewing the source and matching with the other profile.

Here is what it is showing and missing

Profile with pic - <img src="./uploads/avatars/avatar_23.jpg?dateline=1419058731" alt="" height="88" width="88">

Profile with missing pic - <img src="?dateline=1426657102" alt="">

Please HELP. Thanks
which MyBB version exactly you are using ? can you add attachments with the posts and do they work normal ?
Thanks for the quick reply as always m.
I am using Mybb 1.6.16 as for the attachments I have set it to closed as I do not need it.

Edit - Nope cannot add attachments too tested it now
can you check for temporary folder (eg. upload_tmp_dir) in php info available at tools & maintenance section of admin panel
IT says this:
upload_tmp_dir no value no value
user_dir no value no value

Edit - Also under CHMOD Files and Directories
Avatar Uploads Directory ./uploads/avatars Writable
assuming that you are using shared web hosting you have to contact the web host to fix the temporary directory (upload_tmp_dir)
Shall do so, but I got 3 questions. After doing it can this be fine?

Also if the hosting refuses then or gives reasons or excuses then?

Lastly what if I move the hosting to a new host and then just import my sql database with public html then?

Thanks
web host cannot refuse it. temporary directory must exist for smooth running of any web site.
m
This issue is caused by a plugin UserID in postbit and profile.
It gave me errors and then automatically deleted my folders in ftp.

Now i somehow had a month back backup so i reinstalled it all.
So its a month old public html.

And fresh mysql

In this month I did change my avatar but now upon adding the old public html the forum shows my old avatar.

And when I try to upload or change a new I get the error above.

Anything wrong with this?

Or the last point u mentioned will fix it all.
I understand that the plugin should have no affect on ftp folders.
if you need direct help then you can PM me temporary access to forum admin panel & files (FTP)

the temporary directory I was referring exists at above level of public_html and it is set through php settings.
Pages: 1 2