duanlu7680 2014-12-03 02:22
浏览 70
已采纳

Magento启用缓存创建页面错误警告:simplexml_load_string()

When i enable cache in the admin of our Magento (a new extensions requires us to do this), the store goes down and gives the following error on page load.

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 51: parser error : StartTag: invalid element name  in /home/sitename/public_html/lib/Varien/Simplexml/Config.php on line 383

#0 [internal function]: mageCoreErrorHandler(2, 'simplexml_load_...', '/home/sitename...', 383,   Array)
#1 /home/sitename/public_html/lib/Varien/Simplexml/Config.php(383): simplexml_load_string('loadCache()
#3 /home/sitename/public_html/app/code/core/Mage/Core/Model/App.php(408): Mage_Core_Model_Config->loadModulesCache()
#4 /home/sitename/public_html/app/code/core/Mage/Core/Model/App.php(338): Mage_Core_Model_App->_initModules()
#5 /home/sitename/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#6 /home/sitename/public_html/index.php(80): Mage::run('', 'store')
#7 {main}

We cannot load the store anymore.

  • 写回答

1条回答 默认 最新

  • duanmianhong4893 2014-12-03 04:30
    关注

    Most probably this issue comes when the XML file (config.xml or {layout}.xml) having the XML syntax error. So please check your new extension's xml files properly. You can check the xml file syntax by opening the file in any browser.

    Hope this will help.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥15 DruidDataSource一直closing
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥50 power BI 从Mysql服务器导入数据,但连接进去后显示表无数据
  • ¥15 (关键词-阻抗匹配,HFSS,RFID标签)
  • ¥50 sft下载大文阻塞卡死
  • ¥15 机器人轨迹规划相关问题