View Full Version : Avatars and attachments not showing up
CaptainAwesome
11-06-2014, 11:31 PM
I seem to be getting broken image links for avatars and attachments.
I did hire someone who said i didn't have GD installed. I gave them access to my cpanel but they said they couldn't install it with the login i gave them.
I contacted the host, who said i did have GD installed. I asked for their opinion as to why the images were not showing up and they suggested "the most likely being old versions of your site software or a mismatch in required versions of the GD library for your software."
The details of the GD i have is attached. Is it the right version?
I am currently running 4.2.2 patch level 1.
php 5.4.8
Server Type Linux
Web Server Apache (cgi-fcgi)
Any suggestions?
CaptainAwesome
11-06-2014, 11:32 PM
And just to add, all this was working at one point.
HM666
11-06-2014, 11:37 PM
Maybe upgrade to the latest version of GD its apparently 2.1.0. Your host might do that for you for free, some do some don't.
CaptainAwesome
11-06-2014, 11:47 PM
Is there any reason the current version wouldn't work?
HM666
11-07-2014, 12:10 AM
Is there any reason the current version wouldn't work?
There is no telling. Have they recently updated PHP or some other software on your hosting server? Sometimes an upgrade pf PHP will do funky things.
ForceHSS
11-07-2014, 01:07 AM
Whoever you hired does not seem to have a clue
HM666
11-07-2014, 01:22 AM
Whoever you hired does not seem to have a clue
LOL yeah was thinking the same thing but just thought I'd leave it out there. I think he figured that out by now :)
Lynne
11-07-2014, 04:31 PM
Your GD should be fine.
Did you make sure to add this line to your config.php file under the <?php line:
define('SKIP_DS_ERRORS', true);
See if that helps.
If not, then when you try to add an avatar, are you getting an error message? Is there something in your error_logs (if you don't know where they are, ask your host) at that same time?
CaptainAwesome
11-07-2014, 06:24 PM
I opened up the config file, and the first line is the <?php part.
Am i suppose to put that under that? I've posted a screen shot of what i am seeing when i open the file.
So should it look like:
<?php
define('SKIP_DS_ERRORS', true);
/*=========================================*\
|| ##################################### ||
|| # vBulletin 4.2.2 Patch Level 1
I did finally hear back from the person who is suppose to work on it and when i told them about what the host said, their response was:
This is an odd issue, because VB doesn?t see GD yet, as they show GD is installed, but I have never seen an issue where GD was installed and VB didn?t cough on it.
I'm throwing that out there in case it helps identify the problem.
CaptainAwesome
11-07-2014, 06:26 PM
Maybe upgrade to the latest version of GD its apparently 2.1.0. Your host might do that for you for free, some do some don't.
I contacted the host and they said they can't do it because its a shared server. They also mentioned no updates to the software had been done recently.
Can you PM your forum url (if you don't want to post it)?
CaptainAwesome
11-07-2014, 07:33 PM
bargain forum dot com
One of your php files has a "byte order mark" (BOM) at the beginning. That happens sometimes when certain programs are used to edit the file. A lot of times it's config.php that has the problem. You should use a programming editor (such as notepad++, which is free), and edit a new copy. If you use notepad++, you can also use the "Encoding" menu to fix the problem in the current file so you don't have to start over.
CaptainAwesome
11-07-2014, 08:14 PM
Thanks for the info.
So exactly what changes do i need to make? Please keep in mind i am a newbie to all this stuff.
Well, assuming that the problem is config.php (and that you're using a Windows computer at home or wherever you are). You would want to:
1) Download and install notepad++ (http://notepad-plus-plus.org)
2) Download config.php from your forum
3) open config.php in notepad++, and under the Encoding menu, choose "Encode in UTF-8 without BOM".
4) Save the file and upload it to your forum, overwriting the original.
You won't see the BOM because the editor hides it, so you won't really be making any changes, just open it in the editor, change the encoding, and save it again.
CaptainAwesome
11-07-2014, 09:05 PM
You, sir, are a superstar.
That fixed the problem right up. Thank you!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.