[DEV] Problem sending quotation with PDF when using PHP 5.4.*

When you are unable to send quotations with PDF and are using PHP 5.4.* Please read on.

One of the PHP Errors occuring is: PHP Fatal error:  Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct()

The Zend Framework has a problem parsing a font with a path in combination with PHP Version 5.4.* (Please see 

http://framework.zend.com/issues/browse/ZF-12093)

Please note that this is a general Zend Framework Bug and not a Cart2Quote Bug

To fix:

Read this article on the MAgento Forum:

http://www.magentocommerce.com/boards/viewthread/279601/

(answer #7 gives the solution)

Alternative:

Update lib/Zend/Pdf/FileParserDataSource.php with the attached file

The construct function and destruct function are commented out in the attached file.

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk