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 smptlib使用465端口发送邮件失败
  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败
  • ¥15 树莓派5怎么用camera module 3啊
  • ¥20 java在应用程序里获取不到扬声器设备
  • ¥15 echarts动画效果的问题,请帮我添加一个动画。不要机器人回答。
  • ¥15 Attention is all you need 的代码运行