View Full Version : Profile pictures / avatars aren't working
Webdevkirk
03-11-2014, 06:20 PM
Hello.
Whenever I try to upload a profile picture to my forum, it's not working... It shows as a broken image: http://prntscr.com/2zxjti
This is for all .png/.jpg/.jpeg/.gif images..
Yes, the usergroups are set to "yes can upload profile picture" or "yes can upload an avatar" but the images aren't working..
can someone fix this please?
I've tried contacting vBulletin support, but the support technician I was assigned, isn't replying at all. It's been about 4 days.
Thank you,
Steve
ozzy47
03-11-2014, 06:32 PM
Is this in all browsers?
Have you tried on a unmodified default style?
Have you tried with all mods disabled?
What vB version and PHP version are you running?
Webdevkirk
03-11-2014, 06:58 PM
Is this in all browsers?
Have you tried on a unmodified default style?
Have you tried with all mods disabled?
What vB version and PHP version are you running?
Yes its in all browsers
Yes I've tried on a unmodified default style.
Yes I've tried with all mods disabled.
vB 3.8.7
ozzy47
03-11-2014, 07:03 PM
Was this working before and suddenly stopped working?
Webdevkirk
03-11-2014, 07:05 PM
Was this working before and suddenly stopped working?
Yes, it was working then it suddenly stopped. I tried uploading it via admincp sometimes they work, sometimes they don't.
I'm not sure why this is actually.
ozzy47
03-11-2014, 07:08 PM
What exactly happens when you try to upload an avatar?
Are you trying to upload it via the profile page?
What exactly are you doing and what is the exact problem?
What is in your error_logs (if you don't know where they are, ask your host) at the same time you try to upload the image?
What is the result of Maintenance > Diagnostics > Upload?
Are these stored in the database or filesystem?
Webdevkirk
03-11-2014, 07:17 PM
What exactly happens when you try to upload an avatar?
Are you trying to upload it via the profile page?
What exactly are you doing and what is the exact problem?
What is in your error_logs (if you don't know where they are, ask your host) at the same time you try to upload the image?
What is the result of Maintenance > Diagnostics > Upload?
Are these stored in the database or filesystem?
When I try to upload an avatar, it says "Choose from file" or "upload from url", I've tried both, they show broken.
I'm trying to upload it via usercp (settings)
I'm exactly trying to upload an avatar image/profile picture so I can have a custom avatar, but it shows broken.
These are the results of Maintenance > Diagnostics > Upload:
http://prntscr.com/2zy65s
They are storred in a filesystem, this is the link it's leading to: http://habbtunesforum.net/image.php?u=2&dateline=1394562671&type=thumb
and thats very odd
ozzy47
03-11-2014, 07:51 PM
Hmmm, I never came across this issue before, but hopefully there is enough info in the thread now, that someone may have a idea.
Zachery
03-11-2014, 08:10 PM
Open your config.php file, in something like notepad, or notepad++ make sure there are no characters, or spaces before <?php
White space, or a UTF8 bom (because someone saved it as a UTF8 file, instead of plaintext) causes massive issues.
Webdevkirk
03-11-2014, 08:31 PM
Open your config.php file, in something like notepad, or notepad++ make sure there are no characters, or spaces before <?php
White space, or a UTF8 bom (because someone saved it as a UTF8 file, instead of plaintext) causes massive issues.
No, there is none.
Zachery
03-11-2014, 08:34 PM
When you save the file, did you try saving it as ASCII, and then opening it again?
Webdevkirk
03-11-2014, 08:47 PM
When you save the file, did you try saving it as ASCII, and then opening it again?
Yes, I have.
ozzy47
03-11-2014, 09:27 PM
Hmmm, do they show correctly if you store them in the DB, instead of the filesystem?
Zachery
03-11-2014, 09:45 PM
Link to your site would be a huge help.
Webdevkirk
03-13-2014, 04:24 PM
Link to your site would be a huge help.
http://habbtunesforum.net
@Zachery
Hmmm, do they show correctly if you store them in the DB, instead of the filesystem?
Yes.. I think
Simon Lloyd
03-13-2014, 06:17 PM
Is your images/avatar folder writable? did the images actually upload? can the image file be read?
--------------- Added 1394734825 at 1394734825 ---------------
It seems you have some kind of image mod...etc
Here's the profile pic url http://habbtunesforum.net/image.php?u=6&dateline=1394572858
Here's another image url http://www.habbo.com/habbo-imaging/avatarimage?hb=img&user=kanomical&direction=3&head_direction=
Its one of your mods or add-ons that not allowing it (maybe even cloudflare or a misconfigured cdn if you use one)
Webdevkirk
03-14-2014, 12:41 AM
Is your images/avatar folder writable? did the images actually upload? can the image file be read?
--------------- Added 1394734825 at 1394734825 ---------------
It seems you have some kind of image mod...etc
Here's the profile pic url http://habbtunesforum.net/image.php?u=6&dateline=1394572858
Here's another image url http://www.habbo.com/habbo-imaging/avatarimage?hb=img&user=kanomical&direction=3&head_direction=
Its one of your mods or add-ons that not allowing it (maybe even cloudflare or a misconfigured cdn if you use one)
Yes, the image / fild folder is readable.. Yeah you can upload pictures from admincp..
Also, do you know what mod it could be? I'm not too sure.. why its doing this.. its not cloudflare, because ive disabled it.
ozzy47
03-14-2014, 12:43 AM
Webdevkirk, I replied to your PM.
Webdevkirk
03-14-2014, 12:47 AM
Webdevkirk, I replied to your PM.
Hello,
I've replied to your PM aswell.
ozzy47
03-14-2014, 12:49 AM
Replied back. :)
Webdevkirk
03-14-2014, 12:52 AM
Replied back. :)
and replied again to you ;)
ozzy47
03-14-2014, 01:42 AM
Update to all following.
It seems it is a issue with GD and ImageMagick not working properly. This could be due to them being installed improperly on the server, or running vB3.8.7 in PHP 5.4.26
Simon Lloyd
03-14-2014, 06:59 AM
I'm not too sure.. why its doing this.. its not cloudflare, because ive disabled it.When accessing your site you are met with a redirection page stating "Ddos protection from CloudFlare" are you sure it's disabled?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.