缺少本地文件supplementalData.xml

时间:2015-01-28 01:26:24

标签: php magento zend-framework

我最近开发了一个Magento网站并遇到了一个奇怪的问题。我开发的网站位于/ staging文件夹中,当我尝试将其移动到根文件夹时,会一直显示以下错误。

已完成的事情:

  1. 更新了core_config_data
  2. 中的域名
  3. 清除VAR文件夹
  4. 下的所有内容
  5. 检查.htaccess文件
  6. 禁用编译器
  7. 我不确定为什么会在下面的错误中添加/暂存

    请注意:我上传了一个新版本的lib文件夹,下面的错误似乎已修复,但是“提交订单”按钮会将我重定向到“购物车”页面。

    Missing locale file '/chroot/home/domain/mydomain.com/html/staging/lib/Zend/Locale/Data/supplementalData.xml' for 'supplementalData' locale
    Trace:
    0 /chroot/home/domain/mydomain.com/html/staging/lib/Zend/Locale/Data.php(231): Zend_Locale_Data::_findRoute('supplementalDat...', '/supplementalDa...', 'iso4217', 'US', Array)
    1 /chroot/home/domain/mydomain.com/html/staging/lib/Zend/Locale/Data.php(1206): Zend_Locale_Data::_getFile('supplementalDat...', '/supplementalDa...', 'iso4217', 'US')
    
    2 /chroot/home/domain/mydomain.com/html/staging/lib/Zend/Currency.php(323): Zend_Locale_Data::getContent('en_US', 'currencytoregio...', 'US')
    3 /chroot/home/domain/mydomain.com/html/staging/lib/Zend/Currency.php(375): Zend_Currency->_checkParams(NULL, 'en_US')
    4 /chroot/home/domain/mydomain.com/html/staging/lib/Zend/Currency.php(569): Zend_Currency->getShortName(NULL, 'en_US')
    5 /chroot/home/domain/mydomain.com/html/staging/lib/Zend/Currency.php(106): Zend_Currency->setLocale(NULL)
    6 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Model/Locale.php(588): Zend_Currency->__construct('SEK')
    7 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Directory/Model/Currency.php(270): Mage_Core_Model_Locale->currency('SEK')
    8 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Directory/Model/Currency.php(242): Mage_Directory_Model_Currency->formatTxt('0.00000000', Array)
    9 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Directory/Model/Currency.php(222): Mage_Directory_Model_Currency->formatPrecision('0.00000000', 2, Array, true, false)
    10 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Adminhtml/Block/Dashboard/Bar.php(82): Mage_Directory_Model_Currency->format('0.00000000')
    11 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Adminhtml/Block/Dashboard/Bar.php(62): Mage_Adminhtml_Block_Dashboard_Bar->format('0.00000000')
    12 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Adminhtml/Block/Dashboard/Totals.php(74): Mage_Adminhtml_Block_Dashboard_Bar->addTotal('Int\xC3\xA4kt\xA4kt'0.00000000')
    13 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Adminhtml_Block_Dashboard_Totals->_prepareLayout()
    14 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
    15 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Adminhtml/Block/Dashboard.php(50): Mage_Core_Model_Layout->createBlock('adminhtml/dashb...')
    16 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Adminhtml_Block_Dashboard->_prepareLayout()
    17 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
    18 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('adminhtml/dashb...', 'dashboard')
    #19 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('adminhtml/dashb...', 'dashboard')
    20 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
    21 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
    22 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
    23 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
    24 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Adminhtml/Controller/Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(NULL, true, true)
    25 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Adminhtml/controllers/DashboardController.php(40): Mage_Adminhtml_Controller_Action->loadLayout()
    26 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_DashboardController->indexAction()
    27 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
    28 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    29 /chroot/home/domain/mydomain.com/html/staging/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
    30 /chroot/home/domain/mydomain.com/html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
    31 /chroot/home/domain/mydomain.com/html/index.php(87): Mage::run('', 'store')
    32 {main}
    

1 个答案:

答案 0 :(得分:0)

重新检查的步骤:转到phpmyadmin并搜索" / staging"存在于任何表条目中。