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 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题