Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
By alaoa
#962
It seems the images for the charts have not been showing up on the home page or anywhere else for that matter. When we moved the site over and used https the images stoped showing up. Is there any fix for this?
By alaoa
#970
I dug a little deeps and found that the image goes to this url

/index.php?m=graphs&a=miniPlacementStatistics&width=495&height=230

which generates this error


Fatal error: Class 'LinearGradient' not found in /var/www/cats/modules/graphs/GraphsUI.php on line 450

I don't see a reference to LinearGradient anywhere in the code. Which is weird because it working on my local but not production.

Is there anything that i have to configre to make this work?!??!?!?
#1927
I didn't want to post the whole error. I think it has to do with the many extra fields that we added. Is there a way to limit the amount of columns it tries to pull. Please point me in the right direction. I'm willing to donate!!!




______________________________
#3869
I am having hte same issue. Charts displaying on local but not on production.
Error- Fatal error: Class 'LinearGradient' not found in /var/www/html/modules/graphs/GraphsUI.php on line 450
Can somebody please help.
User avatar
By RussH
#3871
ritikajain7 wrote: 08 Oct 2018, 07:46 I am having hte same issue. Charts displaying on local but not on production.
Error- Fatal error: Class 'LinearGradient' not found in /var/www/html/modules/graphs/GraphsUI.php on line 450
Can somebody please help.
Sound s like you have some missing dependencies, please check as per this thread;
viewtopic.php?f=4&t=624
#5267
I have the same issue.
Work as expected in localhost ( windows / XAMPP).
The deployed version in linux host prompt the following error. ( PHP 7.2.0 , GD version 2.1.0 )


Fatal error: Uncaught Error: Class 'LinearGradient' not found in /var/www/html/opencats/modules/graphs/GraphsUI.php:450 Stack trace: #0 /var/www/html/opencats/modules/graphs/GraphsUI.php(122): GraphsUI->miniPlacementStatistics() #1 /var/www/html/opencats/lib/ModuleUtility.php(79): GraphsUI->handleRequest() #2 /var/www/html/opencats/index.php(259): ModuleUtility::loadModule('graphs') #3 {main} thrown in /var/www/html/opencats/modules/graphs/GraphsUI.php on line 450
User avatar
By RussH
#5268
Hi,

did you follow the thread linked above, and check the packages and fixes from there?
User avatar
By RussH
#5272
I'll see if I can reproduce this - two quick question first - do you have 'enable ssl' configured in config.php - and what distro are you using ?

It's essential to keep these synchronized to ensur[…]

Export part in Job Order order search

Same problem as mine. Maybe you're right, I'll che[…]

The error message you're encountering indicates th[…]

Errors restoring mysqldump backup

doesnot work for me