Try the Demo

Magento Forum

   
Can not print invoice or shipping lable
 
professionalav
Jr. Member
 
Total Posts:  9
Joined:  2009-05-10
 

Just upgrade from 1.3.2.3 to 1.4.1.1.

After complete the order shipping information, can not print shipping lable or invoice.

It shows:

“There has been an error processing your request
Exception printing is disabled by default for security reasons.

Error log record number: 758313666888”

Any Idea how to fix it?

Thanks in advance.

David

 
Magento Community Magento Community
Magento Community
Magento Community
 
kab8609
Guru
 
Avatar
Total Posts:  708
Joined:  2009-04-07
Cleveland
 

First go to:

[Base URL]/errors

and look for “local.xml.sample” and rename it to “local.xml”.

Once they happens, refresh the page and it should give you a detailed report as to what is causing the errors and repost that error log here.

 Signature 

Kris Brown
Magento Certified Developer

I work at Briteskies, a Magento Solutions Partner.

Magento CE Sites Built to Date for Clients: 26
Magento EE Sites Built to Date for Clients: 5
Magento Extensions Built to Date for Clients: 13

Don’t edit core code...

 
Magento Community Magento Community
Magento Community
Magento Community
 
professionalav
Jr. Member
 
Total Posts:  9
Joined:  2009-05-10
 

Thank you Kris, but where can I find the [Base URL] / errors ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
kab8609
Guru
 
Avatar
Total Posts:  708
Joined:  2009-04-07
Cleveland
 

Base URL = Base Folder = Root = The folder where you installed Magento.

Errors is a folder inside the Base Folder.

 Signature 

Kris Brown
Magento Certified Developer

I work at Briteskies, a Magento Solutions Partner.

Magento CE Sites Built to Date for Clients: 26
Magento EE Sites Built to Date for Clients: 5
Magento Extensions Built to Date for Clients: 13

Don’t edit core code...

 
Magento Community Magento Community
Magento Community
Magento Community
 
professionalav
Jr. Member
 
Total Posts:  9
Joined:  2009-05-10
 

Thank you very much. Here is the report:

- <config>
<skin>default</skin>
- <report>
- <!-- “action” can be set to “print” to show exception on screen and “email”
to send exception on specified email

-->
<action>print</action>
- <!-- in “subject” you can set subject of email

-->
<subject>Store Debug Information</subject>
- <!-- “email_address” admin email address

-->
<email_address />
- <!-- “trash” is handle about trace info
value “leave” is for store on disk
value “delete” is for cleaning

-->
<trash>leave</trash>
</report>
</config>

 
Magento Community Magento Community
Magento Community
Magento Community
 
professionalav
Jr. Member
 
Total Posts:  9
Joined:  2009-05-10
 

Hi, Kris,

After I rename the local.xml.sample” to “local.xml”., and try to print the invoice again, I got the following error messages:

There has been an error processing your requestOnly non-interlaced images are currently supported.
Trace:
#0 /home/avprovi1/public_html/lib/Zend/Pdf/Resource/ImageFactory.php(54): Zend_Pdf_Resource_Image_Png->__construct(’/home/avprovi1/...’)
#1 /home/avprovi1/public_html/lib/Zend/Pdf/Image.php(124): Zend_Pdf_Resource_ImageFactory::factory(’/home/avprovi1/...’)
#2 /home/avprovi1/public_html/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php(136): Zend_Pdf_Image::imageWithPath(’/home/avprovi1/...’)
#3 /home/avprovi1/public_html/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php(57): Mage_Sales_Model_Order_Pdf_Abstract->insertLogo(Object(Zend_Pdf_Page), Object(Mage_Core_Model_Store))
#4 /home/avprovi1/public_html/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(461): Mage_Sales_Model_Order_Pdf_Invoice->getPdf(Object(Mage_Sales_Model_Mysql4_Order_Invoice_Collection))
#5 /home/avprovi1/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_OrderController->pdfinvoicesAction()
#6 /home/avprovi1/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(’pdfinvoices’)
#7 /home/avprovi1/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 /home/avprovi1/public_html/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#9 /home/avprovi1/public_html/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#10 /home/avprovi1/public_html/index.php(80): Mage::run(’’, ‘store’)
#11 {main}

Any idea how to fix it?

Thank you in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
 
adastra
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2010-01-29
Leigh
 

Hi I have exactly the same issue here is the log
Trace:
#0 /var/www/vhosts/domainname/httpdocs/lib/Zend/Pdf/Resource/ImageFactory.php(62): Zend_Pdf_Resource_Image_Jpeg->__construct(’/var/www/vhosts...’)
#1 /var/www/vhosts/domainname/httpdocs/lib/Zend/Pdf/Image.php(124): Zend_Pdf_Resource_ImageFactory::factory(’/var/www/vhosts...’)
#2 /var/www/vhosts/domainname/httpdocs/app/code/local/Ecsso/Sales/Model/Order/Pdf/Abstract.php(114): Zend_Pdf_Image::imageWithPath(’/var/www/vhosts...’)
#3 /var/www/vhosts/domainname/httpdocs/app/code/local/Ecsso/Sales/Model/Order/Pdf/Invoice.php(36): Ecsso_Sales_Model_Order_Pdf_Abstract->insertLogo(Object(Zend_Pdf_Page), Object(Mage_Core_Model_Store))
#4 /var/www/vhosts/domainname/httpdocs/app/code/core/Mage/Adminhtml/Controller/Sales/Invoice.php(116): Ecsso_Sales_Model_Order_Pdf_Invoice->getPdf(Array)
#5 /var/www/vhosts/domainname/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Controller_Sales_Invoice->printAction()
#6 /var/www/vhosts/domainname/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(’print’)
#7 /var/www/vhosts/domainname/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 /var/www/vhosts/domainname/httpdocs/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#9 /var/www/vhosts/domainname/httpdocs/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#10 /var/www/vhosts/domainname/httpdocs/index.php(78): Mage::run(’’, ‘store’)
#11 {main}

 Signature 

Only fools ask questions Idiots can’t answer. seo Think, Test, Measure, Decide.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sonucsergpv
Jr. Member
 
Total Posts:  2
Joined:  2010-09-22
 

Unable to print Invoice in magento 1.4.1.1

When I tried to print Invoice I got the below error in Magento 1.4.1.1

Table offset (1445424) not within expected range

Trace:
#0 /hsphere/local/home/rox3212/serenityandbliss.com/lib/Zend/Pdf/FileParser/Font/OpenType.php(112): Zend_Pdf_FileParser_Font_OpenType->_parseTableDirectory()
#1 /hsphere/local/home/rox3212/serenityandbliss.com/lib/Zend/Pdf/FileParser/Font/OpenType/TrueType.php(83): Zend_Pdf_FileParser_Font_OpenType->parse()
#2 /hsphere/local/home/rox3212/serenityandbliss.com/lib/Zend/Pdf/Font.php(701): Zend_Pdf_FileParser_Font_OpenType_TrueType->parse()
#3 /hsphere/local/home/rox3212/serenityandbliss.com/lib/Zend/Pdf/Font.php(615): Zend_Pdf_Font::_extractTrueTypeFont(Object(Zend_Pdf_FileParserDataSource_File), 0)
#4 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php(571): Zend_Pdf_Font::fontWithPath(’/hsphere/local/...’)
#5 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php(45): Mage_Sales_Model_Order_Pdf_Abstract->_setFontBold(Object(Zend_Pdf_Style), 10)
#6 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Adminhtml/Controller/Sales/Invoice.php(133): Mage_Sales_Model_Order_Pdf_Invoice->getPdf(Object(Mage_Sales_Model_Mysql4_Order_Invoice_Collection))
#7 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Controller_Sales_Invoice->pdfinvoicesAction()
#8 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(’pdfinvoices’)
#9 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#11 /hsphere/local/home/rox3212/serenityandbliss.com/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#12 /hsphere/local/home/rox3212/serenityandbliss.com/index.php(80): Mage::run(’’, ‘store’)
#13 {main}

Anyone have any idea ?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Quaeso
Guru
 
Avatar
Total Posts:  334
Joined:  2010-04-03
 
professionalav - 23 September 2010 04:02 PM

Thank you very much. Here is the report:

- <config>
<skin>default</skin>
- <report>
- <!-- “action” can be set to “print” to show exception on screen and “email”
to send exception on specified email

-->
<action>print</action>
- <!-- in “subject” you can set subject of email

-->
<subject>Store Debug Information</subject>
- <!-- “email_address” admin email address

-->
<email_address />
- <!-- “trash” is handle about trace info
value “leave” is for store on disk
value “delete” is for cleaning

-->
<trash>leave</trash>
</report>
</config>

Hi professionalav,

can you tell me how did you solved the problem??

 Signature 

*************************
Ich fürchte mich nicht vor dem
langsamen Vorwärtskommen,
ich fürchte mich nur
vor dem Stehenbleiben.
*************************
Danke für eure Hilfe

Brigitte

 
Magento Community Magento Community
Magento Community
Magento Community
 
winta
Member
 
Total Posts:  38
Joined:  2009-09-29
 

Has anyone solved this problem i getthe same error

 
Magento Community Magento Community
Magento Community
Magento Community
 
Flipmedia
Member
 
Avatar
Total Posts:  38
Joined:  2009-09-24
 

Hi

We were also unable print / create shipment PDF. Our site would print invoices.

The error returned is:

Fatal errorCall to a member function getMethodInstance() on a non-object in /magento-1.4.2.0/app/code/core/Mage/Payment/Helper/Data.php on line 122

We have recently upgraded from Magento 1.3, this was undertaken on a clean install on 1.4

We have not changed payment gateways, with the newer version of Paypal supplied with 1.4 being used.

This issue happens on old and new order / orders from before and after upgrade.

On closer inspection it became clear that an amount of chnages had been made to alter the way the invoice printed…

In our case the following file had been added to “local”

/magento-1.4.2.0/app/code/local/Mage/Sales/Model/Order/Pdf/Abstract.php

On removing this file we could print shipping notes.

Hope this helps someone.

 Signature 

--
http://flipmedia.co
http://www.facebook.com/flipmedia
http://twitter.com/Flipmediaco

 
Magento Community Magento Community
Magento Community
Magento Community
 
zlschuessler
Jr. Member
 
Total Posts:  2
Joined:  2012-11-26
 

As the error states, you can’t have a de-interlaced image. The easiest method is to switch to an image format that isn’t PNG (Which is commonly de-interlaced) - but you can also make the PNG interlaced.

More info on my blog:
http://zaclee.net/magento/print-invoice-only-non-interlaced-images

sonucsergpv - 13 November 2010 12:09 PM

Unable to print Invoice in magento 1.4.1.1

When I tried to print Invoice I got the below error in Magento 1.4.1.1

Table offset (1445424) not within expected range

Trace:
#0 /hsphere/local/home/rox3212/serenityandbliss.com/lib/Zend/Pdf/FileParser/Font/OpenType.php(112): Zend_Pdf_FileParser_Font_OpenType->_parseTableDirectory()
#1 /hsphere/local/home/rox3212/serenityandbliss.com/lib/Zend/Pdf/FileParser/Font/OpenType/TrueType.php(83): Zend_Pdf_FileParser_Font_OpenType->parse()
#2 /hsphere/local/home/rox3212/serenityandbliss.com/lib/Zend/Pdf/Font.php(701): Zend_Pdf_FileParser_Font_OpenType_TrueType->parse()
#3 /hsphere/local/home/rox3212/serenityandbliss.com/lib/Zend/Pdf/Font.php(615): Zend_Pdf_Font::_extractTrueTypeFont(Object(Zend_Pdf_FileParserDataSource_File), 0)
#4 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php(571): Zend_Pdf_Font::fontWithPath(’/hsphere/local/...’)
#5 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php(45): Mage_Sales_Model_Order_Pdf_Abstract->_setFontBold(Object(Zend_Pdf_Style), 10)
#6 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Adminhtml/Controller/Sales/Invoice.php(133): Mage_Sales_Model_Order_Pdf_Invoice->getPdf(Object(Mage_Sales_Model_Mysql4_Order_Invoice_Collection))
#7 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Controller_Sales_Invoice->pdfinvoicesAction()
#8 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(’pdfinvoices’)
#9 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 /hsphere/local/home/rox3212/serenityandbliss.com/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#11 /hsphere/local/home/rox3212/serenityandbliss.com/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#12 /hsphere/local/home/rox3212/serenityandbliss.com/index.php(80): Mage::run(’’, ‘store’)
#13 {main}

Anyone have any idea ?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top