DBModel读取资源未在Magento EE上实现Zend_db_adapter_abstract



我知道这个问题是很多次问的,但是这次没有任何答案对我有用。

每次我尝试加载我的Magento EE 1.14.2.0我得到:

dbmodel读取资源不实现zend_db_adapter_abstract痕迹:#0/var/www/vhosts/receptional/htdocs/app/code/core/core/moge/core/model/model/model/resource/db/collection/collection/collection/abstract.php(134):varien_data_collection_collection_db-> setConnection#1/var/www/vhosts/receptional/htdocs/app/code/core/mage/mage/core/model/model/model/config.php(1348):mage_core_model_model_resource_db_db_collection_abcollection_abstract_abstract_abstract-#2/var/www/vhosts/receptional/htdocs/app/code/core/mage/mage/core/model/model/model/config.php(1380):mage_core_model_config->)#3/var/www/vhosts/receptional/htdocs/app/mage.php(491):mage_core_model_model_config-> getResresourcemodelinstance('core/core greent/wording wordets_co co ...'#4/var/www/vhosts/receptional/htdocs/app/code/core/mage/mage/model/model/model/model/model/abstract.php(208):mage :: getResourcemodel('core/corecour/wording_co ...')#5/var/www/vhosts/receptional/htdocs/app/code/core/mage/mage/core/model/model/model/abstract.php(213):mage_core_model_abstract-#6/var/www/vhosts/receptional/htdocs/app/code/core/mage/mage/core/model/model/app.php(608):mage_core_model_abstract--> getCollection()#7/var/www/vhosts/receptional/htdocs/app/code/core/mage/mage/core/model/model/app.php(466):mage_core_model_app-> _ initstores(> _ initstores()#8/var/www/vhosts/receptional/htdocs/app/code/core/mage/mage/core/model/model/model/app.php(349):mage_core_model_app-> _ initcurrentstore('initcurrentstore('swimshop','swimshop','spore',''spore',''spore',''',''','''',''',''',''')#9/var/www/vhosts/receptional/htdocs/app/mage.php(684):mage_core_model_app-> run(array)#10/var/www/vhosts/receptional/htdocs/index.php(83):Mage :: Run('swimshop','sote')#11 {main} 

我尝试将VAR和媒体文件夹的权限更新为777,但没有运气,我也尝试将整个Magento的许可更新为777,但再也没有运气。只是为了让您知道我在Nginx服务器上是否有帮助。

尽管您能够运行CHMOD -R 777文件权限,但它可能无法正常工作。由于文件权限问题而出现此错误。

检查Selinux是否处于允许模式?

sestatus

如果它不在宽敞的模式下使用。

运行以下命令应解决问题。

chcon -Rv --type=httpd_sys_content_t <web Directry>

最新更新