I have made a test purchase with Cash on Delivery. Everything went well. Then i enter the order and invoice it. And then when i access the invoice itself and press the PRINT button it gives me the following error:
help please
2 answers
Again this is something related to your server, you could try the solutions submitted here
Thank you Sherlock but It’s not the server in most of the cases… Many people have problem with that. Well out of all possible fixes the best and easy one and it worked for me is:
go to lib/Zend/Pdf/FileParserDataSource.php
find this code
Code:
abstract public function __construct(); /** * Object destructor. Closes the data source. * * May also perform cleanup tasks such as deleting temporary files. */ abstract public function __destruct();
and comment the construct and destruct or replace with the following code:
Code:
// abstract public function __construct(); /** * Object destructor. Closes the data source. * * May also perform cleanup tasks such as deleting temporary files. */ // abstract public function __destruct();