6
Magentoのインストールで問題が発生しました。Magento - 致命的なエラー:クラス名は有効なオブジェクトまたは文字列である必要があります
私は突然、私は、サイトにアクセスすると、次のエラーメッセージを取得開始しました:
Fatal error: Class name must be a valid object or a string in /app/code/core/Mage/Core/Model/Resource.php on line 215
これが参照する機能は次のとおりです。
$this->_connectionTypes[$type] = new $typeClass();
:
/**
* Get connection type instance
*
* Creates new if doesn't exist
*
* @param string $type
* @return Mage_Core_Model_Resource_Type_Abstract
*/
public function getConnectionTypeInstance($type)
{
if (!isset($this->_connectionTypes[$type])) {
$config = Mage::getConfig()->getResourceTypeConfig($type);
$typeClass = $config->getClassName();
$this->_connectionTypes[$type] = new $typeClass();
}
return $this->_connectionTypes[$type];
}
これはライン215であります
私は類似の問題を抱えている人を探しましたが運がなかったので、私は立ち往生して本当に必要ですこれを解決するには
誰でも手伝いできますか?
あなたのコードを表示しますか? –
このエラーはどこにありますか?完全なスタックトレースを投稿できますか? –
@Timどのように完全なスタックトレースを取得することができますか? –