Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

problem installing magento on WAMP (followed all the instructions before)
 
kapil1312
Jr. Member
 
Total Posts:  2
Joined:  2007-10-01
 

I am trying to install magento ,everything goes right until

http://localhost/magento/magento/install/wizard/installDb/

exception ‘Mage_Core_Exception’ with message ‘Error in file: “C:\wamp\www\magento\magento\app\code\core\Mage\Core\sql\core_setup\mysql4-install-0.6.0.sql” - SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.’ in C:\wamp\www\magento\magento\app\Mage.php:290
Stack trace:
#0 C:\wamp\www\magento\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(242): Mage::exception(’Mage_Core’, ‘Error in file: ...’)
#1 C:\wamp\www\magento\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(121): Mage_Core_Model_Resource_Setup->_modifyResourceDb(’install’, ‘’, ‘0.6.0’)
#2 C:\wamp\www\magento\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(108): Mage_Core_Model_Resource_Setup->_installResourceDb(’0.6.0’)
#3 C:\wamp\www\magento\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(82): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 C:\wamp\www\magento\magento\app\code\core\Mage\Core\Model\Config.php(151): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 C:\wamp\www\magento\magento\app\Mage.php(328): Mage_Core_Model_Config->init(NULL)
#6 C:\wamp\www\magento\magento\app\Mage.php(349): Mage::init(NULL)
#7 C:\wamp\www\magento\magento\index.php(27): Mage::run(’base’)

PDOException Object
(
[message:protected] => SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
[string:private] =>
[code:protected] => HY000
[file:protected] => C:\wamp\www\magento\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php
[line:protected] => 82
[trace:private] => Array
(
[0] => Array
(
[file] => C:\wamp\www\magento\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php
[line] => 82
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => replace into core_resource (code, version) values (’core_setup’, ‘0.6.0’)
)

)

[1] => Array
(
[file] => C:\wamp\www\magento\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php
[line] => 113
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => replace into core_resource (code, version) values (’core_setup’, ‘0.6.0’)
)

)

[2] => Array
(
[file] => C:\wamp\www\magento\magento\app\code\core\Mage\Core\Model\Resource\Setup.php
[line] => 408
[function] => multi_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => replace into core_resource (code, version) values (’core_setup’, ‘0.6.0’)
)

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Try using this DLL:
http://www.nolimitclubbing.com/lib_php/php_pdo_mysql.dll

 
Magento Community Magento Community
Magento Community
Magento Community
 
kapil1312
Jr. Member
 
Total Posts:  2
Joined:  2007-10-01
 

Thanks Moshe,

I replaced the above mentioned php_pdo_mysql.dll file with my original dll file in c:\wamp\php\ext folder.

It worked for me.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top