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

[SOLVED]error file not found MySql.php
 
vinceleb56
Jr. Member
 
Total Posts:  1
Joined:  2011-02-14
 

I followed this link (http://www.magentocommerce.com/boards/viewthread/248230/#t398701) to update my version of Magento 1.5 to 1.6.

once all followed, I launched my site for the upgrade, and then I get the following message:

php -f indexer.php redinexall
PHP Fatal error
:  Uncaught exception 'Zend_Exception' with message 'File "Varien\Db\Statement\Pdo\Mysql.php" does not exist or class "Varien_Db_Statement_Pdo_Mysql" was not found in the file' in C:\wa
mp\www\magento\lib\Zend\Loader
.php:99
Stack trace
:
#0 C:\wamp\www\magento\lib\Zend\Db\Adapter\Pdo\Abstract.php(182): Zend_Loader::loadClass('Varien_Db_State...')
#1 C:\wamp\www\magento\lib\Zend\Db\Adapter\Abstract.php(478): Zend_Db_Adapter_Pdo_Abstract->prepare('SET NAMES utf8')
#2 C:\wamp\www\magento\lib\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#3 C:\wamp\www\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php(389): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#4 C:\wamp\www\magento\app\code\core\Mage\Core\Model\Resource.php(169): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#5 C:\wamp\www\magento\app\code\core\Mage\Core\Model\Resource.php(110): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#6 C:\wamp\www\magento in C:\wamp\www\magento\lib\Zend\Loader.php on line 99

Fatal errorUncaught exception 'Zend_Exception' with message 'File "Varien\Db\Statement\Pdo\Mysql.php" does not exist or class "Varien_Db_Statement_Pdo_Mysql" was not found in the file' in C:\wamp\ww
w\magento\lib\Zend\Loader
.php on line 99

Zend_Exception
File "Varien\Db\Statement\Pdo\Mysql.php" does not exist or class "Varien_Db_Statement_Pdo_Mysql" was not found in the file in C:\wamp\www\magento\lib\Zend\Loader.php on line 99

Call Stack
:
    
0.0031     380584   1. {main}() C:\wamp\www\magento\shell\indexer.php:0
    0.0045     420896   2. Mage_Shell_Abstract
->__construct() C:\wamp\www\magento\shell\indexer.php:197
    0.0158     788320   3. Mage
::app() C:\wamp\www\magento\shell\abstract.php:79
    0.0575    2017056   4. Mage_Core_Model_App
->init() C:\wamp\www\magento\app\Mage.php:583
    0.1021    3070800   5. Mage_Core_Model_Config
->init() C:\wamp\www\magento\app\code\core\Mage\Core\Model\App.php:265
    0.1093    3070920   6. Mage_Core_Model_Config
->loadModulesCache() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Config.php:255
    0.1113    3071056   7. Mage_Core_Model_Config
->_canUseCacheForInit() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Config.php:294
    0.1113    3071104   8. Mage_Core_Model_App
->useCache() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Config.php:414
    0.1113    3071104   9. Mage_Core_Model_Cache
->canUse() C:\wamp\www\magento\app\code\core\Mage\Core\Model\App.php:1175
    0.1113    3071104  10. Mage_Core_Model_Cache
->_initOptions() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Cache.php:491
    0.1244    3435848  11. Mage_Core_Model_Resource_Cache
->getAllOptions() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Cache.php:449
    0.1244    3435848  12. Mage_Core_Model_Resource_Db_Abstract
->_getReadAdapter() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Resource\Cache.php:53
    0.1244    3435896  13. Mage_Core_Model_Resource_Db_Abstract
->_getConnection() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Resource\Db\Abstract.php:335
    0.1244    3435952  14. Mage_Core_Model_Resource
->getConnection() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Resource\Db\Abstract.php:320
    0.1249    3436480  15. Mage_Core_Model_Resource
->_newConnection() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Resource.php:110
    0.1584    5100480  16. Varien_Db_Adapter_Pdo_Mysql
->query() C:\wamp\www\magento\app\code\core\Mage\Core\Model\Resource.php:169
    0.2954    5409320  17. Varien_Db_Adapter_Pdo_Mysql
->_debugException() C:\wamp\www\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php:392

The file in question is this ... I do not understand what is happening.

Help me please.

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