vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Profile pictures / avatars aren't working (https://vborg.vbsupport.ru/showthread.php?t=309423)

Webdevkirk 03-11-2014 06:20 PM

Profile pictures / avatars aren't working
 
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

Quote:

Originally Posted by ozzy47 (Post 2486502)
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

Quote:

Originally Posted by ozzy47 (Post 2486506)
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

Quote:

Originally Posted by ozzy47 (Post 2486508)
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?...671&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

Quote:

Originally Posted by Zachery (Post 2486517)
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

Quote:

Originally Posted by Zachery (Post 2486522)
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

Quote:

Originally Posted by Zachery (Post 2486541)
Link to your site would be a huge help.

http://habbtunesforum.net
@Zachery

Quote:

Originally Posted by ozzy47 (Post 2486534)
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 [DATE]1394734825[/DATE] at [TIME]1394734825[/TIME] ---------------

It seems you have some kind of image mod...etc
Here's the profile pic url http://habbtunesforum.net/image.php?...ine=1394572858
Here's another image url http://www.habbo.com/habbo-imaging/a...ead_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

Quote:

Originally Posted by Simon Lloyd (Post 2487001)
Is your images/avatar folder writable? did the images actually upload? can the image file be read?

--------------- Added [DATE]1394734825[/DATE] at [TIME]1394734825[/TIME] ---------------

It seems you have some kind of image mod...etc
Here's the profile pic url http://habbtunesforum.net/image.php?...ine=1394572858
Here's another image url http://www.habbo.com/habbo-imaging/a...ead_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

Quote:

Originally Posted by ozzy47 (Post 2487091)
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

Quote:

Originally Posted by ozzy47 (Post 2487094)
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

Quote:

Originally Posted by Webdevkirk (Post 2487090)
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?


All times are GMT. The time now is 12:41 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01225 seconds
  • Memory Usage 1,767KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete