@mattab opened this issue on July 20th 2011

See report in http://forum.piwik.org/read.php?2,79483

When generating PDF reports, if GD is not installed, the error is returned. Instead, we should show to the user a proper error message that suggests to install GD.

If this happens in the cron, we can make sure that the error returned as part of #2440

@robocoder commented on July 31st 2011

(In [5054]) refs #2577

@robocoder commented on July 31st 2011

tcpdf/tcpdf.php already has checks in some places for function_exists( some_gd_function ). This can probably be fixed upstream.

@robocoder commented on July 31st 2011

We already have an installation system check for gd, and warn when it's not present.

@mattab commented on September 27th 2011

I disabled GD but pdf reports still worked.. works for me

@robocoder commented on October 2nd 2011

Matt, I think you still have the 'imagick' extension. Looking at the code path, 'gd is the fallback if the 'imagick' extension isn't available.

@robocoder commented on October 10th 2011

Can we defer to 1.7 and update libs/tcpdf at the same time?

@mattab commented on January 26th 2012

It works now, graphs are not displayed when no GD (but icons still display in the report which is nice)

This issue was closed on January 26th 2012
Powered by GitHub Issue Mirror