error

 I have the following error message when I try to open the link in the admin panel:
CDbException
CDbConnection failed to open the DB connection: could not find driver (/var/www/html/magento/pub/ub-tool/yii/db/CDbConnection.php:399)

#0 /var/www/html/magento/pub/ub-tool/yii/db/CDbConnection.php(347): CDbConnection->open()
#1 /var/www/html/magento/pub/ub-tool/yii/db/CDbConnection.php(325): CDbConnection->setActive(true)
#2 /var/www/html/magento/pub/ub-tool/yii/base/CModule.php(394): CDbConnection->init()
#3 /var/www/html/magento/pub/ub-tool/yii/base/CApplication.php(458): CModule->getComponent('db')
#4 /var/www/html/magento/pub/ub-tool/yii/db/ar/CActiveRecord.php(637): CApplication->getDb()
#5 /var/www/html/magento/pub/ub-tool/yii/db/ar/CActiveRecord.php(670): CActiveRecord->getDbConnection()
#6 /var/www/html/magento/pub/ub-tool/yii/db/ar/CActiveRecord.php(1474): CActiveRecord->getCommandBuilder()
#7 /var/www/html/magento/pub/ub-tool/protected/controllers/MigrateController.php(39): CActiveRecord->findAll()
#8 /var/www/html/magento/pub/ub-tool/yii/web/CController.php(306): MigrateController->beforeAction(Object(CInlineAction))
#9 /var/www/html/magento/pub/ub-tool/yii/web/CController.php(286): CController->runAction(Object(CInlineAction))
#10 /var/www/html/magento/pub/ub-tool/yii/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#11 /var/www/html/magento/pub/ub-tool/yii/web/CWebApplication.php(282): CController->run('error')
#12 /var/www/html/magento/pub/ub-tool/yii/base/CErrorHandler.php(368): CWebApplication->runController('migrate/error')
#13 /var/www/html/magento/pub/ub-tool/yii/base/CErrorHandler.php(296): CErrorHandler->renderError()
#14 /var/www/html/magento/pub/ub-tool/yii/base/CErrorHandler.php(133): CErrorHandler->handleError(Object(CErrorEvent))
#15 /var/www/html/magento/pub/ub-tool/yii/base/CApplication.php(824): CErrorHandler->handle(Object(CErrorEvent))
#16 /var/www/html/magento/pub/ub-tool/yii/YiiBase.php(406): CApplication->handleError(2, 'include(/var/ww...', '/var/www/html/m...', 406, Array)
#17 /var/www/html/magento/pub/ub-tool/yii/YiiBase.php(406): include()
#18 /var/www/html/magento/pub/ub-tool/yii/YiiBase.php(303): YiiBase::autoload('CFileLogRoute', true)
#19 /var/www/html/magento/pub/ub-tool/yii/YiiBase.php(196): YiiBase::import('CFileLogRoute', true)
#20 /var/www/html/magento/pub/ub-tool/yii/logging/CLogRouter.php(65): YiiBase::createComponent(Array)
#21 /var/www/html/magento/pub/ub-tool/yii/base/CModule.php(394): CLogRouter->init()
#22 /var/www/html/magento/pub/ub-tool/yii/base/CModule.php(530): CModule->getComponent('log')
#23 /var/www/html/magento/pub/ub-tool/yii/base/CApplication.php(167): CModule->preloadComponents()
#24 /var/www/html/magento/pub/ub-tool/yii/YiiBase.php(125): CApplication->__construct(Array)
#25 /var/www/html/magento/pub/ub-tool/yii/YiiBase.php(98): YiiBase::createApplication('CWebApplication', '/var/www/html/m...')
#26 /var/www/html/magento/pub/ub-tool/index.php(13): YiiBase::createWebApplication('/var/www/html/m...')
#27 {main}

1 answer

Profile photo of Admin Staff -30640.00 $tone April 27, 2017
Public

Hi Manuji,
I wonder version of our migration tool you’re using?
We had an old script on Github which we no longer maintain. It was an outdated codebase that might lead to unexpected issues.
We also have UB Data Migration Lite version, however it is mainly for testing purpose, and comes with some limitations: 
— The Lite version is available for Magento 2.0.7 only
— It is not ready for NGINX web server
— Your Magento 2.0.7 must be a fresh installation
— And it uses the old codebase and comes with limited feature sets, compared to our Pro version.
You can follow the guide in Readme.txt file (in your download package).
You can also take a look at this tutorial video: https://youtu.be/Jvr8d3OeB8M
This is for our old UB Data Migration Pro version 2 (which uses the same codebase with Lite version).
Anyway, it will save you pretty much time to move forward with our Pro version, as this version is completely overhauled, with various bug fixes and performance optimisation. You can learn more via this tutorial video for UB Data Migration Pro version 3: https://youtu.be/R4UBLe2kf-I

Regards,
An Nguyen

#1

Please login or Register to Submit Answer

Written By

Comments