GD Library not working | YES -- It's installed

ToddW

Well-Known Member
Jan 3, 2004
103
0
166
General Info:
  • I am the 'owner' of the leased server (SoftLayer)
  • I can make any changes for testing myself.
  • My thought is somewhere in WHM or ConfigServer some setting is limiting the usage of GD via system security restrictions. However, I've yet to find this option/configuration...


Software in use:
  • CENTOS 6.5 x86_64 standard – server1
  • WHM 11.42.1 with ConfigServer Security & Firewall - csf v6.48
  • GD Library
  • VBulletin 3.8.x & 4.x
  • Sites having this issue have disk space available.


Issue:
I was just notified by one of my users that their photos were no longer resizing after the move(server migration) on their VBulletin site. The VB configuration is setup to use GD lib.

I verified GD was installed, and that SafeMode was not enabled.

Server GD Lib Information:
Your GD version is:bundled (2.1.0 compatible)GD Version | bundled (2.1.0 compatible)
FreeType Support | 1
FreeType Linkage | with freetype
T1Lib Support |
GIF Read Support | 1
GIF Create Support | 1
JPEG Support | 1
PNG Support | 1
WBMP Support | 1
XPM Support | 1
XBM Support | 1
JIS-mapped Japanese Font Support |

Safe Mode OFF
I also went into another VBulletin site on the same server and tested and it too says "Cannot Resize".

I went through every option I thought that could be limiting this functionality (in WHM), and even tried SafeMode Option in Vbulletin, and used various /tmp folders (777 permi) out of web-root but still user home directory.
 
Last edited:

ToddW

Well-Known Member
Jan 3, 2004
103
0
166
Howdy,

Are your users possibly requiring imagemagick?

Do you have any error messages from any error logs?
No. If that was the case it would be CHECKED/ENABLED in VBULLETIN. It's not, as I said originally it's configured in Vbulletin to use GD on BOTH sites I tested on. I manage all these sites, my clients do not have admin/configuration option to change these things.

There are no errors relating to this in the users' site error_log file.

However in: /usr/local/apache/logs/error_log I have this:

File does not exist: /home/user/public_html/404.shtml, referer:
/http://www.siteDomain.com/forums/newattachment.php?t=11182&poststarttime=1398103322&posthash=dd2485aa9253d59fe01681e146c98196

Which I believe is just causing the 404 call because the attachment upload wasn't there as it should have been.
 
Last edited:

ToddW

Well-Known Member
Jan 3, 2004
103
0
166
I also checked libJPEG Version and I currently have: 6b

(I mention this because someone-else had the same problem and fixed it by going back to 6 from 8)

I think the biggest RED FLAG we're all thinking about is that the error_log doesn't contain errors for missing functions or library... for some other reason it's simply not working.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

Is it possible that these accounts are using a custom php.ini file within their accounts that does not enable GD?

Thank you.
 

ToddW

Well-Known Member
Jan 3, 2004
103
0
166
Hello :)

Is it possible that these accounts are using a custom php.ini file within their accounts that does not enable GD?

Thank you.
/home/* has 0 php.ini files. So, no.

I'm not sure if this helps or not, but I installed ImageMagick (CP command line script), and then configured the Forum to use ImageMagick -- and this works. However, I'd still like to solve the issue with GD.

GD still not working.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thanks.