cancel
Showing results for 
Search instead for 
Did you mean: 

PHP Parse/Syntax Errors; and How to solve them?

PHP Parse/Syntax Errors; and How to solve them?

Do i need to replace my config.php for magento as the existing one has caused the website to go offline. I've been told theirs an error or somethings missing off this code:

 

 

*public function getResourceModelInstance($modelClass='', $constructArguments=array()) { $factoryName = $this->_getResourceModelFactoryClassName($modelClass); if (!$factoryName) { return false; } return $this->getModelInstance($factoryName, $constructArguments); }****