Jump to content
bdamage

php7 and GD graphics

Recommended Posts

After upgrading the Ubuntu Revive server to PHP7 I see "Sorry, you cannot see this graph because the GD graphics extension is missing from your PHP installation." on the front page dashboard where the weeks stats used to be.

I did "apt-get install php7.0-gd", which showed it wasn't already there, and it installed fine but after restarting apache still see the error message. 

Share this post


Link to post
Share on other sites

This problem is (still) happening for me, Revive 4.0.1 on Ubuntu 16.04:

apache2  - 2.4.18-2ubuntu3.1

php7.0  - 7.0.15-0ubuntu0.16.04.4

php7.0-gd  - 7.0.15-0ubuntu0.16.04.4

phpinfo reports GD Support enabled, headers == library version == 2.1.1

On the Home page, in the Statistics box:

"Sorry, you cannot see this graph because the GD graphics extension is missing from your PHP installation. ..."

 

The rest of the install seems to be working fine. Any thoughts? Is there a specific libgd version callout someplace in the code?

 

best,


Brian

Share this post


Link to post
Share on other sites

That "dashboard" page isn't extremely useful, and not at all critical to the working of the ad server. I would recommend just disabling it altogether and you won't see that message anymore.

To disable it:

  • log in as an administrator, and switch to "working as administrator"
  • go to the Configuration tab, and then "User interface settings" menu item on the left
  • at the very end of that page, uncheck the "Enable dashboard" checkbox
  • don't forget to save the changes

Problem solved.

Share this post


Link to post
Share on other sites
12 hours ago, Brian Bilbrey said:

Well, sure ... but that doesn't fix any other issues that can turn up with GD not being found by Revive.

The dashboard is the only place that uses it, so it won't affect anything else.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×