我去做了一个测试客户注册,在我提交表单后,页面只加载你在下面看到的内容。我删除了cookie并加载了主页面,它也有你在下面看到的内容。我的同事也在搞乱权限,但我们认为现在所有的权限都是正确的。 magento日志中没有错误。服务器上唯一可能适用的错误“服务器配置拒绝客户端:/var/www/Staging/public_html/app/etc/local.xml”,但我知道这是一个常见错误,它已经存在。关于这个问题的任何想法?
更新:我们添加了开发人员模式,现在我们获得了以下堆栈跟踪:
警告:simplexml_load_string():实体:第29行:解析器错误:/ var / www / Staging / public_html / app / code / core / Mage / Core / Model / Layout /中标记布局第29行中数据的提前结束第444行的Update.php
#0 [internal function]: mageCoreErrorHandler(2, 'simplexml_load_...', '/var/www/Stagin...', 444, Array)
#1 /var/www/Staging/public_html/app/code/core/Mage/Core/Model/Layout/Update.php(444): simplexml_load_string('getFileLayoutUpdatesXml('frontend', 'default', 'f001', '1')
#3 /var/www/Staging/public_html/app/code/core/Mage/Core/Model/Layout/Update.php(347): Mage_Core_Model_Layout_Update->fetchFileLayoutUpdates()
#4 /var/www/Staging/public_html/app/code/core/Mage/Core/Model/Layout/Update.php(246): Mage_Core_Model_Layout_Update->fetchPackageLayoutUpdates('default')
#5 /var/www/Staging/public_html/app/code/core/Mage/Core/Model/Layout/Update.php(224): Mage_Core_Model_Layout_Update->merge('default')
#6 /var/www/Staging/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(306): Mage_Core_Model_Layout_Update->load()
#7 /var/www/Staging/public_html/app/code/core/Mage/Cms/Helper/Page.php(109): Mage_Core_Controller_Varien_Action->loadLayoutUpdates()
#8 /var/www/Staging/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home')
#9 /var/www/Staging/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
#10 /var/www/Staging/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Cms_IndexController->indexAction()
#11 /var/www/Staging/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#12 /var/www/Staging/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /var/www/Staging/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#14 /var/www/Staging/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#15 /var/www/Staging/public_html/index.php(87): Mage::run('', 'store')
#16 {main}
答案 0 :(得分:0)
1)simplexml_load_string():如果没有正确写入某些xml部分,则实体是一个常见错误 2)服务器拒绝客户端:由于多种原因可能会出现此错误 i).htaccess失踪 ii)文件:/app/code/core/Mage/Adminhtml/Block/Notification/Security.php cooment 私有函数_isFileAccessible() // $ http-> write(Zend_Http_Client :: POST,$ defaultUnsecureBaseURL。$ this-> _filePath); iii)chmod 600 app / etc / local.xml ⅳ)http://www.yireo.com/tutorials/magento/magento-administration/1322-client-denied-by-server-configuration-appetclocalxml