Jump to content

PHP5 & GD Graphics Extension Missing

Recommended Posts

EDIT: As clarification, I am running Ubuntu 14.04.4 LTS.


Hello everyone!
New to the forum.

I have been digging around the code to find a solution to this problem:


looking on Github link, I see the message is originally displayed based on the following condition: $extensionLoaded


If we follow the use of this variable, it leads us to the file linked below, specifically where the following variable is declared: $gdAvailable


Inspecting the following leads me to believe that GD installation is being detected via the following line:
$gdAvailable = extension_loaded('gd');

I performed an echo test with the following snippet:
echo extension_loaded('gd');

As expected, the result output is a simple: "1".


Having installed GD via the command line below, shows me that I have everything I need:

sudo apt-get install php5-gd


I have validated in many ways that I do indeed have GD functioning properly.
Example output for command: $ php -i | grep -i --color gd
GD Support => enabled
GD Version => 2.1.1-dev
gd.jpeg_ignore_warning => 0 => 0


Any thoughts?

Link to comment
Share on other sites

Problem solved.

Turns out that the widget is not functional when logged in as "Administrator Account".

Looks like you need to log in as a standard non-admin account in order for it to kick in.

Logged in with the "Default Manager" account, and the widget was working fine.

Link to comment
Share on other sites

There is no reason why that widget wouldn't work for you as an administrator. However, in my personal opinion, that entire dashboard isn't all that useful anyway, and I always disable it right after installation.

To disable it, log in and switch to Working as Administrator.

Then go to "Configuration" and next "Global Settings - User interface setting".

Scroll to the bottom of that page and uncheck the "Enable Dashboard" checkbox:

disable dashboard.jpg

Afterwards, don't forget to save the changes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...