Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

nach der Installation von 1.2.0.1 macht iconv() Ärger
 
jcgzwtrhs
Jr. Member
 
Total Posts:  18
Joined:  2009-01-07
 

Noticeiconv() [function.iconv <http://www.domain.de/report/function.iconv>]: Wrong charset, conversion from `UTF-16BE' to `' is not allowed  in /usr/www/users/domain/lib/Zend/Pdf/Resource/Font.php on line 241
*Trace:*
#0 /usr/www/users/domain/lib/Zend/Pdf/Resource/Font.php(241): mageCoreErrorHandler(8, 'iconv() [getFontName('UTF-16BE', '', '?L?i?n?L?i?b?e?...')
#2 /usr/www/users/domain/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php(515): Zend_Pdf_Font::fontWithPath(6, '', '')
#3 /usr/www/users/domain/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php(44): Mage_Sales_Model_Order_Pdf_Abstract->_setFontBold('/usr/www/users/...')
#4 /usr/www/users/domain/app/code/core/Mage/Adminhtml/Controller/Sales/Invoice.php(103): Mage_Sales_Model_Order_Pdf_Invoice->getPdf(Object(Zend_Pdf_Style), 10)
#5 /usr/www/users/domain/app/code/core/Mage/Core/Controller/Varien/Action.php(348): Mage_Adminhtml_Controller_Sales_Invoice->pdfinvoicesAction(Object(Mage_Sales_Model_Mysql4_Order_Invoice_Collection))
#6 /usr/www/users/domain/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(143): Mage_Core_Controller_Varien_Action->dispatch()
#7 /usr/www/users/domain/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Admin->match('pdfinvoices')
#8 /usr/www/users/domain/app/Mage.php(450): Mage_Core_Controller_Varien_Front->dispatch(Object(Mage_Core_Controller_Request_Http))
#9 /usr/www/users/domain/index.php(52): Mage::run()
#10 {main}

das war die Fehlermeldung. Behoben durch umschreiben der Zeile 241 in der Datei ./lib/Zend/Pdf/Resource/Font.php

$name iconv ('UTF-16BE, $characterSet, $name);

ändern in

$name iconv ('UTF-16BE, 'UTF-8', $name);

Evtl hilft es ja Anderen weiter…

 
Magento Community Magento Community
Magento Community
Magento Community
 
jcgzwtrhs
Jr. Member
 
Total Posts:  18
Joined:  2009-01-07
 

... das forum hat ein paar Anführungszeichen geschluckt… bitte darauf zu achten.

 
Magento Community Magento Community
Magento Community
Magento Community
 
rack::SPEED
Guru
 
Avatar
Total Posts:  369
Joined:  2008-06-26
 

Zur Fehlerbehebung wäre es wichtig mehr über die Plattform zu erfahren, z.B. ob du es lokal oder auf einem Server versucht hast zu installieren. - Normalerweise sollte der Fehler nicht auftreten....

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