0

由于以下错误,新安装的 Magento 无法正常工作。我正在使用 php5-fpm 和 nginx。

搜索网络显示该错误可能与 php-dom 和 simplexml 有问题,我已经重新安装它们并更新到最新版本,但该站点仍然无法正常工作。

安装向导完成后,我从未见过前端和后端。

TIA

 013/07/26 23:02:09 [error] 870#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function setParent() on a non-object in /var/www/staging.site.com/lib/Varien/Simplexml/Element.php on line 440
    PHP message: PHP Stack trace:
    PHP message: PHP   1. {main}() /var/www/staging.site.com/index.php:0
    PHP message: PHP   2. Mage::run() /var/www/staging.site.com/index.php:87
    PHP message: PHP   3. Mage_Core_Model_App->run() /var/www/staging.site.com/app/Mage.php:683
    PHP message: PHP   4. Mage_Core_Model_App->_initModules() /var/www/staging.site.com/app/code/core/Mage/Core/Model/App.php:343
    PHP message: PHP   5. Mage_Core_Model_Config->loadDb() /var/www/staging.site.com/app/code/core/Mage/Core/Model/App.php:420
    PHP message: PHP   6. Mage_Core_Model_Resource_Config->loadToXml() /var/www/staging.site.com/app/code/core/Mage/Core/Model/Config.php:354
    PHP message: PHP   7. Varien_Simplexml_Element->extend() /var/www/staging.site.com/app/code/core/Mage/Core/Model/Resource/Config.php:112
    PHP message: PHP   8. Varien_Simplexml_Element->extendChild() /var/www/staging.site.com/lib/Varien/Simplexml/Element.php:387" while reading response header from upstream, client: 112.198.90.162, server: staging.site.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "staging.site.com"
4

0 回答 0