Page 1 of 2

Charts Not Showig When Using HTTPS

Posted: 14 Feb 2010, 22:19
by alaoa
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?

Re: Charts Not Showig When Using HTTPS

Posted: 20 Feb 2010, 00:12
by alaoa
PLEASE HELP!!!!!!!!!

Re: Charts Not Showig When Using HTTPS

Posted: 20 Feb 2010, 16:20
by alaoa
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?!??!?!?

Re: Charts Not Showig When Using HTTPS

Posted: 21 Jan 2015, 10:21
by Mishima01
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!!!




______________________________

Re: Charts Not Showig When Using HTTPS

Posted: 08 Oct 2018, 07:46
by ritikajain7
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.

Re: Charts Not Showig When Using HTTPS

Posted: 08 Oct 2018, 17:45
by RussH
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

Re: Charts Not Showig When Using HTTPS

Posted: 08 Feb 2023, 10:13
by anilherath
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

Re: Charts Not Showig When Using HTTPS

Posted: 08 Feb 2023, 16:47
by RussH
Hi,

did you follow the thread linked above, and check the packages and fixes from there?

Re: Charts Not Showig When Using HTTPS

Posted: 09 Feb 2023, 07:51
by anilherath
Ofcource I checked the mentioned amenments and they are already merged in opencats 0.9.4.
Then I didn't have anything to change in the code.

Re: Charts Not Showig When Using HTTPS

Posted: 09 Feb 2023, 12:17
by RussH
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 ?