I am having trouble installing Magento, and I hope someone can help me.
When I first accessed the site, I unexpectedly began to receive the following error message:
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 function is called:
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]; }
This is line 215:
$this->_connectionTypes[$type] = new $typeClass();
I was looking for someone with a similar problem, but I had no luck, so I got stuck and really have to solve this problem.
Can anyone help?
source share