Export PDF/Excel Internal Server Error

This public forum is for user-to-user discussions of PHP Report Maker. Note that this is not support forum.

Export PDF/Excel Internal Server Error

Postby Ono-Sendai » Mon Sep 04, 2017 8:22 pm

I have an issue when I try to export to PDF/Excel with PHPReportMaker10, always I show Internal Server Error, executing console the error is:

"no decode delegate for this image format `SVG' @ error/blob.c/BlobToImage/361" caused in fcexporter10.php

I try to solve this setting file format after calling blob function:
$img->magick("SVG"); --- my code
$img->setImageBackgroundColor(new ImagickPixel("transparent"));

and it works well for tables, but charts are not rendered.

Can help me about this, please? Any other solution?
Posts: 1
Joined: Tue May 17, 2016 7:10 pm

Re: Export PDF/Excel Internal Server Error

Postby Webmaster » Tue Sep 05, 2017 5:04 pm

You probably have not enabled the Imagick extension properly for PHP on your server. Run "php info" on your server to make sure that the module is installed properly and supported formats contain SVG.

Google for "PHP install Imagick" for steps to install Imagick for PHP.
Posts: 10734
Joined: Fri Aug 06, 2004 5:59 pm

Return to General Discussion (PHP Report Maker)