Closed GoogleCodeExporter closed 8 years ago
What steps will reproduce the problem? 1. install chap5 code from latest update 2. build w/ant using build.xml from r340 3. point browser to storefront, select either category What is the expected output? What do you see instead? _The image on page 181 of the book. _The following: ( ! ) Fatal error: Call to undefined function iconv_get_encoding() in /ZF/library/Zend/Locale/Format.php on line 306 Call Stack # Time Memory Function Location 1 0.0001 621776 {main}( ) ../index.php:0 2 0.0001 622480 require( '/Users/frank/Sites/storefront/application/application.php' ) ../index.php:2 3 0.0204 2500608 Zend_Application->run( ) ../application.php:20 4 0.0204 2500608 Zend_Application_Bootstrap_Bootstrap->run( ) ../Application.php:366 5 0.0205 2500712 Zend_Controller_Front->dispatch( ) ../Bootstrap.php:97 6 0.0220 2674944 Zend_Controller_Dispatcher_Standard->dispatch( ) ../Front.php:954 7 0.0250 2855944 Zend_Controller_Action->dispatch( ) ../Standard.php:289 8 0.0447 3319576 Zend_Controller_Action_HelperBroker->notifyPostDispatch( ) ../Action.php:523 9 0.0447 3320944 Zend_Controller_Action_Helper_ViewRenderer->postDispatch( ) ../HelperBroker.php:277 10 0.0448 3320944 Zend_Controller_Action_Helper_ViewRenderer->render( ) ../ViewRenderer.php:957 11 0.0452 3321208 Zend_Controller_Action_Helper_ViewRenderer->renderScript( ) ../ViewRenderer.php:918 12 0.0452 3321208 Zend_View_Abstract->render( ) ../ViewRenderer.php:897 13 0.0452 3362488 Zend_View->_run( ) ../Abstract.php:880 14 0.0453 3363256 include( '/Users/frank/Sites/storefront/application/modules/storefront/views/scripts/cata log/index.phtml' ) ../View.php:108 15 0.0516 3435416 Zend_View->productPrice( ) ../index.phtml:12 16 0.0516 3435768 Zend_View_Abstract->__call( ) ../Abstract.php:0 17 0.0517 3439696 call_user_func_array ( ) ../Abstract.php:342 18 0.0517 3440032 Zend_View_Helper_ProductPrice->productPrice( ) ../Abstract.php:0 19 0.0580 4120848 Zend_Currency->toCurrency( ) ../ProductPrice.php:17 20 0.0583 4123880 Zend_Locale_Format::toNumber( ) ../Currency.php:185 What version of the product are you using? On what operating system? r340 and Zend Framework 1.10.4. Mac OS X 10.6.3 Snow Leopard. Please provide any additional information below.
Original issue reported on code.google.com by do...@novato.net on 29 May 2010 at 8:16
do...@novato.net
The error is from Zend_Locale, you need to enable php's iconv extension.
Original comment by mute.p...@googlemail.com on 29 May 2010 at 9:17
mute.p...@googlemail.com
Original issue reported on code.google.com by
do...@novato.net
on 29 May 2010 at 8:16