8000 Cannot generate PDF reports on 1.8.3 (Imagick) · Issue #3322 · matomo-org/matomo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cannot generate PDF reports on 1.8.3 (Imagick) #3322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
oparoz opened this issue Aug 15, 2012 · 5 comments
Closed

Cannot generate PDF reports on 1.8.3 (Imagick) #3322

oparoz opened this issue Aug 15, 2012 · 5 comments
8000
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@oparoz
Copy link
oparoz commented Aug 15, 2012

When trying to download a PDF report, I get this:

Strict Notice: Imagick::clone method is deprecated and it's use should be avoided in www/libs/tcpdf/tcpdf.php on line 7880

Backtrace -->
#0 Piwik_ErrorHandler(...) called at [Imagick->clone(...) called at www/libs/tcpdf/tcpdf.php:7880#2 TCPDF->ImagePngAlpha(...) called at [TCPDF->Image(...) called at www/core/ReportRenderer/Pdf.php:158#4 Piwik_ReportRenderer_Pdf->renderFrontPage(...) called at [Piwik_PDFReports_API->generateReport(...) called at :#6 call_user_func_array(...) called at [Piwik_API_Proxy->call(...) called at www/core/API/Request.php:128#8 Piwik_API_Request->process(...) called at [Piwik_API_Controller->index(...) called at :#10 call_user_func_array(...) called at [Piwik_FrontController->dispatch(...) called at www/index.php:53

Keywords: pdf

@oparoz
Copy link
Author
oparoz commented Aug 15, 2012

This is on PHP 5.4.5 with Imagick 3.1.0RC1

@oparoz
Copy link
Author
oparoz commented Aug 15, 2012

If I email the report, then I do not have the problem, although the logo is in black and white.

@robocoder
Copy link
Contributor

We have another ticket to update the tcpdf library. This is probably fixed upstream.

@oparoz
Copy link
Author
oparoz commented Aug 16, 2012

You're right, it has been fixed upstream. I've replaced the library with the latest version and it worked, although the logo was still B&W.

@mattab
Copy link
Member
mattab commented Aug 16, 2012

(In [6786]) Fixes #3322 hopefully that was the only notice

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Development

No branches or pull requests

3 participants
0