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

Warning: ksort() expects parameter 1 to be array, boolean given in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Model/Locale.php
 
yewjin
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2007-09-06
Kuala Lumpur, Malaysia
 

Hi need help - this is my second time installing but to another server. I have encountered the below, did I miss uploading something? Any help appreciated. This error code came after I agreed with the terms and condition at the installation page :

Error code.

Warning: ksort() expects parameter 1 to be array, boolean given in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Model/Locale.php on line 200[0] in ksort() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Model/Locale.php on line 200[1] in Mage_Core_Model_Locale->getOptionTimezones() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Install/Block/Locale.php on line 99[2] in Mage_Install_Block_Locale->getTimezoneSelect() in /home/gl2b4lpr/public_html/mys_en/app/design/install/default/default/template/install/locale.phtml on line 46[3] in include("/home/gl2b4lpr/public_html/mys_en/app/design/install/default/default/template/install/locale.phtml") in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Block/Template.php on line 122[4] in Mage_Core_Block_Template->fetchView("install/default/default/template/install/locale.phtml") in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Block/Template.php on line 153[5] in Mage_Core_Block_Template->renderView() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Block/Template.php on line 198[6] in Mage_Core_Block_Template->toHtml() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Block/Text/List.php on line 36[7] in Mage_Core_Block_Text_List->toHtml() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Block/Abstract.php on line 426[8] in Mage_Core_Block_Abstract->_getChildHtml("content", 1) in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Block/Abstract.php on line 404[9] in Mage_Core_Block_Abstract->getChildHtml("content") in /home/gl2b4lpr/public_html/mys_en/app/design/install/default/default/template/page.phtml on line 94[10] in include("/home/gl2b4lpr/public_html/mys_en/app/design/install/default/default/template/page.phtml") in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Block/Template.php on line 122[11] in Mage_Core_Block_Template->fetchView("install/default/default/template/page.phtml") in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Block/Template.php on line 153[12] in Mage_Core_Block_Template->renderView() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Block/Template.php on line 198[13] in Mage_Core_Block_Template->toHtml() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Model/Layout.php on line 417[14] in Mage_Core_Model_Layout->getOutput() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Controller/Varien/Action.php on line 313[15] in Mage_Core_Controller_Varien_Action->renderLayout() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Install/controllers/WizardController.php on line 143[16] in Mage_Install_WizardController->localeAction() in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Controller/Varien/Action.php on line 336[17] in Mage_Core_Controller_Varien_Action->dispatch("locale") in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 150[18] in Mage_Core_Controller_Varien_Router_Standard->match(Mage_Core_Controller_Request_Http) in /home/gl2b4lpr/public_html/mys_en/app/code/core/Mage/Core/Controller/Varien/Front.php on line 147[19] in Mage_Core_Controller_Varien_Front->dispatch() in /home/gl2b4lpr/public_html/mys_en/app/Mage.php on line 379[20] in Mage::run("base") in /home/gl2b4lpr/public_html/mys_en/index.php on line 29

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

How many XML files do you have in lib/Zend/Locale/Data folder?

 
Magento Community Magento Community
Magento Community
Magento Community
 
yewjin
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2007-09-06
Kuala Lumpur, Malaysia
 
Moshe - 11 February 2008 09:31 PM

How many XML files do you have in lib/Zend/Locale/Data folder?

I have 440 files in lib/Zend/Locale/Data folder and one php file. Am I missing something?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Nope, that’s correct number, did you upload the files using FTP or extracted in shell?

 
Magento Community Magento Community
Magento Community
Magento Community
 
yewjin
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2007-09-06
Kuala Lumpur, Malaysia
 
Moshe - 11 February 2008 10:06 PM

Nope, that’s correct number, did you upload the files using FTP or extracted in shell?

I uploaded it using FTP but I did encounter some failures in uploading - so I m going through each folders if I have missed anything.

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