I’m going through the install wizard, and I filled out the page where you enter the database name, user, password, etc…
Then I click continue, and the next page says:
Fatal error: Call to a member function isApplicationInstalled() on a non-object in /home/johnw/apache/domain.com/htdocs/magento/app/Mage.php on line 361
Can anyone tell me what is wrong, and how I might fix it?
OK, I deleted the local.xml file, then tried to re-run the installation wizard, but now I can’t even do that because when I go to http://www.domain.com/magento/install/
I get this error:
Fatal error: Call to a member function isApplicationInstalled() on a non-object in /home/johnw/apache/domain.com/htdocs/magento/app/Mage.php on line 361
OK, I deleted the local.xml file again....then I was able to go to domain.com/magento/install/ and start the install wizard again. I got to the page where I fill in the database info like name, user, password, etc…
Then I click the button to continue to the next page, but I get this:
exception ‘Zend_Db_Adapter_Exception’ with message ‘SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)’ in /home/johnw/apache/domain.com/htdocs/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php:131
Stack trace:
#0 /home/johnw/apache/domain.com/htdocs/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php(67): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/johnw/apache/domain.com/htdocs/magento/lib/Zend/Db/Adapter/Abstract.php(367): Varien_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/johnw/apache/domain.com/htdocs/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query(’SET NAMES utf8’, Array)
#3 /home/johnw/apache/domain.com/htdocs/magento/app/code/core/Mage/Core/Model/Resource/Type/Db/Pdo/Mysql.php(32): Zend_Db_Adapter_Pdo_Abstract->query(’SET NAMES utf8’)
#4 /home/johnw/apache/domain.com/htdocs/magento/app/code/core/Mage/Core/Model/Resource.php(71): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Core_Model_Config_Element))
#5 /home/johnw/apache/domain.com/htdocs/magento/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(238): Mage_Core_Model_Resource->getConnection(’core_read’)
#6 /home/johnw/apache/domain.com/htdocs/magento/app/code/core/Mage/Core/Model/Mysql4/Config.php(47): Mage_Core_Model_Mysql4_Abstract->getConnection(’read’)
#7 /home/johnw/apache/domain.com/htdocs/magento/app/code/core/Mage/Core/Model/Config.php(122): Mage_Core_Model_Mysql4_Config->getChecksum(’config_data,web...’)
#8 /home/johnw/apache/domain.com/htdocs/magento/app/Mage.php(328): Mage_Core_Model_Config->init(NULL)
#9 /home/johnw/apache/domain.com/htdocs/magento/app/Mage.php(349): Mage::init(NULL)
#10 /home/johnw/apache/domain.com/htdocs/magento/index.php(27): Mage::run(’base’)
#11 {main}
@john_wilson: Something weird, do you have any other applications that run on this MySQL server? it looks like PDO makes connection but is unable to run 1st statement.
@mycommerce: Actually you have different problem: “The mysql driver is not currently installed”, check that you have php_pdo_mysql installed.