我已经搜索了很多,到目前为止没有一个解决方案有效,所以我想我真的需要排查问题才能看到问题所在:
当我浏览我们的网站www.theprinterdepo.com时,它在chrome,ie或firefox上工作正常。 但是,当我在Internet Explorer上访问www.theprinterdepo.com/admin上的管理员时,它会显示500内部服务器错误,之后如果我尝试将Internet Explorer用于www.theprinterdepo.com,则会显示相同的错误。与此同时,我可以在谷歌浏览器或Firefox浏览网站,它没有问题。
在Internet Explorer工作时加载需要很长时间。而镀铬仍然是完美的。
我在index.php中设置了chmod 755。
我在index.php上添加了这个
if ($_SERVER['REMOTE_ADDR'] == '83.134.93.212') { Mage::setIsDeveloperMode(true); ini_set('display_errors', 1); }
我得到了这个
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 60: parser error : Opening and ending tag mismatch: config line 28 and confg in /home/theprint/public_html/lib/Varien/Simplexml/Config.php on line 510
#0 [internal function]: mageCoreErrorHandler(2, 'simplexml_load_...', '/home/theprint/...', 510, Array)
#1 /home/theprint/public_html/lib/Varien/Simplexml/Config.php(510): simplexml_load_string('loadString('loadFile('/home/theprint/...')
#4 /home/theprint/public_html/app/code/core/Mage/Admin/Model/Config.php(59): Mage_Core_Model_Config->loadModulesConfiguration('adminhtml.xml', Object(Varien_Simplexml_Config))
第510行对应于:
public function loadString($string)
{
if (is_string($string)) {
$xml = simplexml_load_string($string, $this->_elementClass);
if ($xml instanceof Varien_Simplexml_Element) {
$this->_xml = $xml;
return true;
}
} else {
Mage::logException(new Exception('"$string" parameter for simplexml_load_string is not a string'));
}
return false;
}
答案 0 :(得分:1)
由于您的错误是Opening and ending tag mismatch:
,调试此错误的最快方法之一是禁用所有自定义模块/ layout.xml修改,然后逐个重新启用它们,直到找到导致此错误的xml。 / p>
答案 1 :(得分:0)
通过编辑该配置文件我能够查看路径并发现xml失败,开始标记是,结束标记是
我修复了它然后开始工作