【问题标题】:Everything falls when I try a new magento theme当我尝试新的 magento 主题时,一切都会崩溃
【发布时间】:2015-02-19 23:11:55
【问题描述】:

我买了一个 magento 主题(支持 1.6.1 / 1.6.2)。我已经安装了一个新的带有示例数据的新 magento 并上传了所有主题文件。当我创建配置时,一切都失败了。

这里是错误:

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 105: parser error : Opening and ending tag mismatch: reference line 102 and block  in /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Model/Layout/Update.php on line 431

#0 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Model/Layout/Update.php(431): mageCoreErrorHandler(2, 'simplexml_load_...', '/home/template/...', 431, Array)
#1 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Model/Layout/Update.php(273): Mage_Core_Model_Layout_Update->getFileLayoutUpdatesXml('fetchFileLayoutUpdates('frontend', 'default', 'e-shopping', '1')
#3 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Model/Layout/Update.php(246): Mage_Core_Model_Layout_Update->fetchPackageLayoutUpdates()
#4 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Model/Layout/Update.php(224): Mage_Core_Model_Layout_Update->merge('default')
#5 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(307): Mage_Core_Model_Layout_Update->load('default')
#6 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Cms/Helper/Page.php(109): Mage_Core_Controller_Varien_Action->loadLayoutUpdates()
#7 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage()
#8 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
#9 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Cms_IndexController->indexAction(Object(Mage_Cms_IndexController), 'home')
#10 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch()
#11 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match('index')
#12 /home/template/public_html/dev/gammadesign/magento/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch(Object(Mage_Core_Controller_Request_Http))
#13 /home/template/public_html/dev/gammadesign/magento/app/Mage.php(640): Mage_Core_Model_App->run()
#14 /home/template/public_html/dev/gammadesign/magento/index.php(80): Mage::run(Array)
#15 {main}

这是链接:http://dev.template-tuners.com/gammadesign/magento/ 我该如何解决?

谢谢

【问题讨论】:

    标签: magento magento-1.6


    【解决方案1】:

    您的一个新布局文件无效。

    在你的IDE中一一检查,你应该会看到一个无效的标签关闭。

    【讨论】:

    • 文件没有问题。当我在“管理”>“配置”>“设计”中使用“电子购物”(我的主题名称)进行更新时,我得到了这个信息
    • 你的错误还不够清楚吗? :警告:simplexml_load_string() [function.simplexml-load-string]:实体:第 105 行:解析器错误:开始和结束标记不匹配:参考第 102 行并阻止 /home/template/public_html/dev/gammadesign/magento/app /code/core/Mage/Core/Model/Layout/Update.php 在第 431 行
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-19
    • 2023-02-02
    • 2013-11-22
    • 2015-12-28
    • 1970-01-01
    相关资源
    最近更新 更多