Skip to content

Can't render PDF #2

@MoemenMostafa

Description

@MoemenMostafa

when I render PDF i got the following error in the generated PDF file (when opening it with text editor)


Fatal error: Uncaught exception 'PHPExcel_Writer_Exception' with message 'PDF Rendering library has not been defined.' in D:\xampp\htdocs\php_report\PHPExcel-develop\Classes\PHPExcel\Writer\PDF.php:51 Stack trace: #0 D:\xampp\htdocs\php_report\PHPExcel-develop\Classes\PHPExcel\IOFactory.php(141): PHPExcel_Writer_PDF->__construct(Object(PHPExcel)) #1 D:\xampp\htdocs\php_report\PHPReport.php(980): PHPExcel_IOFactory::createWriter(Object(PHPExcel), 'PDF') #2 D:\xampp\htdocs\php_report\PHPReport.php(906): PHPReport->renderPdf('Report 2012-12-...') #3 D:\xampp\htdocs\php_report\examples\example_9.php(58): PHPReport->render('pdf') #4 {main}

thrown in D:\xampp\htdocs\php_report\PHPExcel-develop\Classes\PHPExcel\Writer\PDF.php on line 51

Could you please help me in this issue?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions