0
我相信這是一個非常新的問題,我是新的magento以及PHP。 我連接我的megento安裝連接到MySQL實例時遇到困難。我已經安裝了Zend軟件包,並嘗試在\ zend \ magento \ app \ etc目錄下編輯config.xml和local.xml。如下Magento數據庫訪問配置
<connection>//config.xml
<host>localhost:4928</host>
<username>root</username>
<password>test</password>
<dbname>store</dbname>
<model>mysql4</model>
<initStatements>SET NAMES utf8</initStatements>
<type>pdo_mysql</type>
<active>0</active>
</connection>
<connection> //local.xml
<host><![CDATA[localhost:4928]]></host>
<username><![CDATA[root]]></username>
<password><![CDATA[test]]></password>
<dbname><![CDATA[store]]></dbname>
<active>1</active>
</connection>
這樣做後我收到以下錯誤
Warning: include(Mage\Catalog\Model\Attribute\Backend\Customlayoutupdate.php) [function.include]: failed to open stream: No such file or directory in E:\servers\zend\magento\app\code\core\Mage\Core\functions.php on line 70
Trace:
#0 E:\servers\zend\magento\app\code\core\Mage\Core\functions.php(70): mageCoreErrorHandler(2, 'include(Mage\Ca...', 'E:\servers\zend...', 70, Array)
#1 E:\servers\zend\magento\app\code\core\Mage\Core\functions.php(70): __autoload()
#2 [internal function]: __autoload('Mage_Catalog_Mo...')
#3 E:\servers\zend\magento\app\code\core\Mage\Core\Model\Config.php(967): class_exists('Mage_Catalog_Mo...')
爲什麼不使用基於Web的安裝? – 2012-02-26 09:48:33
@tim我所做的只是安裝Magento MSI,這是即將出現的錯誤消息。當我嘗試去localhost/Magento或localhost/Magento/install.php – Sap 2012-02-26 10:04:48
@Tim時出現這個問題在你的建議後,我把我的downloader.php放入Zend服務器,並在「成功下載」消息之後通過在線下載器它導航到顯示與上面完全相同的錯誤信息的頁面! – Sap 2012-02-26 10:56:40