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

Upgraded to 1.2.0 from 1.1.8, admin section unreachable
 
moweesteffen
Member
 
Total Posts:  51
Joined:  2008-08-18
 

I just upgraded my shop and now it is impossible to get to the admin section.

When i login i get forwarded to the front page.

The categories also gives issues now:

Notice: Undefined index:  symbol_choice in /var/www/html/magento/app/code/core/Mage/Core/Model/Locale/Currency.php on line 69
Trace:
#0 /var/www/html/magento/app/code/core/Mage/Core/Model/Locale/Currency.php(69): mageCoreErrorHandler(8, ‘Undefined index...’, ‘/var/www/html/m...’, 69, Array)
#1 /var/www/html/magento/app/code/core/Mage/Directory/Model/Currency.php(163): Mage_Core_Model_Locale_Currency->toCurrency(’100.000000’, Array)
#2 /var/www/html/magento/app/code/core/Mage/Directory/Model/Currency.php(151): Mage_Directory_Model_Currency->formatTxt(100, Array)
#3 /var/www/html/magento/app/code/core/Mage/Core/Model/Store.php(618): Mage_Directory_Model_Currency->format(100, Array, true)
#4 /var/www/html/magento/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php(92): Mage_Core_Model_Store->formatPrice(100)
#5 /var/www/html/magento/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php(108): Mage_Catalog_Model_Layer_Filter_Price->_renderItemLabel(100, 2)
#6 /var/www/html/magento/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(94): Mage_Catalog_Model_Layer_Filter_Price->_initItems()
#7 /var/www/html/magento/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(88): Mage_Catalog_Model_Layer_Filter_Abstract->getItems()
#8 /var/www/html/magento/app/code/core/Mage/Catalog/Block/Layer/Filter/Abstract.php(100): Mage_Catalog_Model_Layer_Filter_Abstract->getItemsCount()
#9 /var/www/html/magento/app/code/core/Mage/Catalog/Block/Layer/View.php(121): Mage_Catalog_Block_Layer_Filter_Abstract->getItemsCount()
#10 /var/www/html/magento/app/code/core/Mage/Catalog/Block/Layer/View.php(130): Mage_Catalog_Block_Layer_View->canShowOptions()
#11 /var/www/html/magento/app/design/frontend/default/default/template/catalog/layer/view.phtml(34): Mage_Catalog_Block_Layer_View->canShowBlock()
#12 /var/www/html/magento/app/code/core/Mage/Core/Block/Template.php(144): include(’/var/www/html/m...’)
#13 /var/www/html/magento/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#14 /var/www/html/magento/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#15 /var/www/html/magento/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#16 /var/www/html/magento/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#17 /var/www/html/magento/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#18 /var/www/html/magento/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#19 /var/www/html/magento/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(’left’, true)
#20 /var/www/html/magento/app/design/frontend/default/default/template/page/3columns.phtml(52): Mage_Core_Block_Abstract->getChildHtml(’left’)
#21 /var/www/html/magento/app/code/core/Mage/Core/Block/Template.php(144): include(’/var/www/html/m...’)
#22 /var/www/html/magento/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#23 /var/www/html/magento/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#24 /var/www/html/magento/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#25 /var/www/html/magento/app/code/core/Mage/Core/Model/Layout.php(525): Mage_Core_Block_Abstract->toHtml()
#26 /var/www/html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(326): Mage_Core_Model_Layout->getOutput()
#27 /var/www/html/magento/app/code/core/Mage/Catalog/controllers/CategoryController.php(96): Mage_Core_Controller_Varien_Action->renderLayout()
#28 /var/www/html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(349): Mage_Catalog_CategoryController->viewAction()
#29 /var/www/html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(163): Mage_Core_Controller_Varien_Action->dispatch(’view’)
#30 /var/www/html/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#31 /var/www/html/magento/app/Mage.php(447): Mage_Core_Controller_Varien_Front->dispatch()
#32 /var/www/html/magento/index.php.old(52): Mage::run()
#33 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
tinnud
Member
 
Total Posts:  37
Joined:  2008-12-10
UK
 

I’ve got the same problem.... Anyone got a fix for this?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
montpro
Member
 
Avatar
Total Posts:  50
Joined:  2008-12-24
 

I can access the admin but cant save anything and cant do anything with the products or categories.

Is there anyway to go back?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ed Hardy
Jr. Member
 
Total Posts:  1
Joined:  2008-08-03
 

Hi,

I have the exact same problem. I’ve upgraded to 1.2.1 and now on every page:
Notice: Undefined index:  symbol_choice in app/code/core/Mage/Core/Model/Locale/Currency.php on line 69

Notice: Undefined index:  symbol_choice in /app/code/core/Mage/Core/Model/Locale/Currency.php on line 69
Trace:
#0 /app/code/core/Mage/Core/Model/Locale/Currency.php(69): mageCoreErrorHandler(8, ‘Undefined index...’, ‘/home/edhardy/p...’, 69, Array)
#1 /app/code/core/Mage/Directory/Model/Currency.php(163): Mage_Core_Model_Locale_Currency->toCurrency(’0.000000’, Array)
#2 /app/code/core/Mage/Directory/Model/Currency.php(168): Mage_Directory_Model_Currency->formatTxt(0)
#3 /app/code/core/Mage/Core/Model/Locale.php(549): Mage_Directory_Model_Currency->getOutputFormat()
#4 /app/code/core/Mage/Catalog/Block/Product/View.php(115): Mage_Core_Model_Locale->getJsPriceFormat()
#5 /app/design/frontend/default/default/template/catalog/product/view.phtml(35): Mage_Catalog_Block_Product_View->getJsonConfig()
#6 /app/code/core/Mage/Core/Block/Template.php(144): include(’/home/edhardy/p...’)
#7 /app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#8 /app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#9 /app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#10 /app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#11 /app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#12 /app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#13 /app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(’content’, true)
#14 /app/design/frontend/default/default/template/page/2columns-right.phtml(56): Mage_Core_Block_Abstract->getChildHtml(’content’)
#15 /app/code/core/Mage/Core/Block/Template.php(144): include(’/home/edhardy/p...’)
#16 /app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#17 /app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#18 /app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#19 /app/code/core/Mage/Core/Model/Layout.php(515): Mage_Core_Block_Abstract->toHtml()
#20 /app/code/core/Mage/Core/Controller/Varien/Action.php(326): Mage_Core_Model_Layout->getOutput()
#21 /app/code/core/Mage/Catalog/controllers/ProductController.php(129): Mage_Core_Controller_Varien_Action->renderLayout()
#22 /app/code/core/Mage/Core/Controller/Varien/Action.php(349): Mage_Catalog_ProductController->viewAction()
#23 /app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(163): Mage_Core_Controller_Varien_Action->dispatch(’view’)
#24 /app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#25 /app/Mage.php(447): Mage_Core_Controller_Varien_Front->dispatch()
#26 /index.php(52): Mage::run()
#27 {main}

For the page:
https://www.myonlinestore.com/downloader/
Fatal error: Call to undefined method Mage::isinstalled() in downloader/Maged/Controller.php on line 384

Any idea?

Thanks

Pierre

 
Magento Community Magento Community
Magento Community
Magento Community
 
june23
Jr. Member
 
Total Posts:  30
Joined:  2008-04-18
 

hi there,

Mine is completely destroyed backend and frontend..Somehow the template is broken, images are lost, backgrounds are gone. Any ideas please?..

 
Magento Community Magento Community
Magento Community
Magento Community
 
chatlumo
Guru
 
Total Posts:  301
Joined:  2008-02-20
Paris
 

Same issue for me on my local copy on frontend and admin pages :

NoticeUndefined index:  symbol_choice  in /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Core/Model/Locale/Currency.php on line 69
Trace
:
#0 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Core/Model/Locale/Currency.php(69): mageCoreErrorHandler(8, 'Undefined index...', '/Volumes/Donnee...', 69, Array)
#1 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Directory/Model/Currency.php(163): Mage_Core_Model_Locale_Currency->toCurrency('1336.343600', Array)
#2 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Directory/Model/Currency.php(151): Mage_Directory_Model_Currency->formatTxt('1336.34360000', Array)
#3 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Adminhtml/Block/Dashboard/Bar.php(80): Mage_Directory_Model_Currency->format('1336.34360000')
#4 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Adminhtml/Block/Dashboard/Bar.php(66): Mage_Adminhtml_Block_Dashboard_Bar->format('1336.34360000')
#5 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Adminhtml/Block/Dashboard/Totals.php(65): Mage_Adminhtml_Block_Dashboard_Bar->addTotal('Revenu', '1336.34360000')
#6 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Core/Block/Abstract.php(199): Mage_Adminhtml_Block_Dashboard_Totals->_prepareLayout()
#7 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Core/Model/Layout.php(421): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#8 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Adminhtml/Block/Dashboard.php(52): Mage_Core_Model_Layout->createBlock('adminhtml/dashb...')
#9 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Core/Block/Abstract.php(199): Mage_Adminhtml_Block_Dashboard->_prepareLayout()
#10 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Core/Model/Layout.php(421): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#11 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Adminhtml/controllers/DashboardController.php(41): Mage_Core_Model_Layout->createBlock('adminhtml/dashb...', 'dashboard')
#12 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Core/Controller/Varien/Action.php(349): Mage_Adminhtml_DashboardController->indexAction()
#13 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(143): Mage_Core_Controller_Varien_Action->dispatch('index')
#14 /Volumes/Donnees500/sitestests/magento118/www/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http))
#15 /Volumes/Donnees500/sitestests/magento118/www/app/Mage.php(447): Mage_Core_Controller_Varien_Front->dispatch()
#16 /Volumes/Donnees500/sitestests/magento118/www/index.php(52): Mage::run()
#17 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
 
chatlumo
Guru
 
Total Posts:  301
Joined:  2008-02-20
Paris
 

So i don’t know why but a solution worked for me :

Put your backup of Magento 1.1.8 (and before) with files and database.
In admin section, System > Configuration > Currency settings (or similar, in General), add US dollar as currency and set up the first 2 params as US dollar.

Then, do the upgrade and change your currency as previously.

 
Magento Community Magento Community
Magento Community
Magento Community
 
HumanBeing
Jr. Member
 
Total Posts:  21
Joined:  2008-11-19
 
chatlumo - 07 January 2009 11:21 AM

Put your backup of Magento 1.1.8 (and before) with files and database.
In admin section, System > Configuration > Currency settings (or similar, in General), add US dollar as currency and set up the first 2 params as US dollar.

Then, do the upgrade and change your currency as previously.

So, you’re saying that if you make changes to the currency settings in 1.1.8, then do the upgrade to 1.2.0.1, you no longer get the symbol_choice bug?  If that’s the case, would you be able to do a comparison of your unmodified database and the database that results from your pre-upgrade modification?  It could lead to a simple mysql command that would get people un-stuck.

 
Magento Community Magento Community
Magento Community
Magento Community
 
russell2pi
Member
 
Total Posts:  31
Joined:  2008-07-19
 

Changing line 63 of app/code/core/Mage/Core/Model/Locale/Currency.php to

if (isset($options[’symbol_choice’]) && $options[’symbol_choice’]) {

seems to fix it.

(How on earth did this bug go un-noticed??)

Proper way to do it would be to make a copy under local and edit it there.

Then again my backend still says “Magento ver. 1.1.2” down the bottom so hmmmmm....

 
Magento Community Magento Community
Magento Community
Magento Community
 
rossdavidh
Jr. Member
 
Total Posts:  4
Joined:  2008-11-29
 

Thanks, russell2pi!  This did the trick, although I’m still not upgraded from 1.1.8, but at this point I’m just glad to have a functioning site again.

 
Magento Community Magento Community
Magento Community
Magento Community
 
rajbrades
Member
 
Total Posts:  53
Joined:  2007-09-04
 

This has not worked for me.
Now I get this error:

Fatal errorCall to a member function toString() on a non-object in /home/ryhelift/domains/ryhelift.com/public_html/magento/app/code/core/Mage/Core/Model/Locale/Currency.php on line 123

3 days of being down at a critical business time has really cost me alot. SimpleHelix has not been helpful at all either - especially since they said I have to upgrade to the latest version of Magento - --- which then caused this mess!!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
corbykissler
Member
 
Total Posts:  39
Joined:  2008-05-14
 

bump - the fix suggested by 21 just gets me to a non-object being return and blowing up the string function.

what the heck?

how do i fix it and how do i go back, just copy up my 1.1.3 core files?  which ones, all of them?

 
Magento Community Magento Community
Magento Community
Magento Community
 
cgfc
Sr. Member
 
Avatar
Total Posts:  92
Joined:  2008-08-29
Montevideo, Uruguay
 
russell2pi - 07 January 2009 11:49 PM

Changing line 63 of app/code/core/Mage/Core/Model/Locale/Currency.php to

if (isset($options[’symbol_choice’]) && $options[’symbol_choice’]) {

I did this change, however, now the page stop loading right beafore display the first item price.

 
Magento Community Magento Community
Magento Community
Magento Community
 
corbykissler
Member
 
Total Posts:  39
Joined:  2008-05-14
 

So I made the following changes to currency.php . . .

Line 63 -

if (false && $options['symbol_choice']{

Line 117 - I hard code to USD

if (true /*is_null($trimSettings) && $this->_locale && $this->_locale->toString() == self::US_LOCALE*/{

and the site is working for me . . looks to be hard coded to USD, but it’s back working

<sigh>

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