Invoice Print internal error

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:

Attachment 35246

help please

2 answers

Profile photo of Alexandru Gorbenco 240.00 $tone March 29, 2014
Public

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();
#2

Please login or Register to Submit Answer

Written By

Comments