Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

файл dbParams.php #17

Closed
yupe opened this issue Sep 23, 2011 · 0 comments
Closed

файл dbParams.php #17

yupe opened this issue Sep 23, 2011 · 0 comments
Milestone

Comments

@yupe
Copy link
Owner

yupe commented Sep 23, 2011

Файл для хранения настроек БД dbParams.php необходимо переименовать в db.php - как-то лучше читается =)

@yupe yupe closed this as completed in eca632e Sep 25, 2011
adminnu pushed a commit that referenced this issue Jan 13, 2013
UPD: merge with yupe/master
dzhedai added a commit that referenced this issue Nov 10, 2019
fazliddin added a commit to fazliddin/yupe that referenced this issue Mar 17, 2020
CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: YES) (/var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/db/CDbConnection.php:399)

#0 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/db/CDbConnection.php(347): CDbConnection->open()
yupe#1 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/db/CDbConnection.php(325): CDbConnection->setActive(true)
yupe#2 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/base/CModule.php(394): CDbConnection->init()
yupe#3 /var/www/vhosts/cms-test/yupe/protected/modules/yupe/components/Migrator.php(392): CModule->getComponent('db')
yupe#4 /var/www/vhosts/cms-test/yupe/protected/modules/yupe/components/Migrator.php(51): yupe\components\Migrator->getDbConnection()
yupe#5 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/base/CModule.php(394): yupe\components\Migrator->init()
yupe#6 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/base/CModule.php(103): CModule->getComponent('migrator')
yupe#7 /var/www/vhosts/cms-test/yupe/protected/modules/yupe/components/controllers/BackController.php(104): CModule->__get('migrator')
yupe#8 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/CController.php(306): yupe\components\controllers\BackController->beforeAction(Object(CInlineAction))
yupe#9 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(CInlineAction))
yupe#10 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/CController.php(291): CFilterChain->run()
yupe#11 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
yupe#12 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run('error')
yupe#13 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/base/CErrorHandler.php(368): CWebApplication->runController('/yupe/backend/e...')
yupe#14 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/base/CErrorHandler.php(296): CErrorHandler->renderError()
yupe#15 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/base/CErrorHandler.php(133): CErrorHandler->handleError(Object(CErrorEvent))
yupe#16 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/base/CApplication.php(834): CErrorHandler->handle(Object(CErrorEvent))
yupe#17 [internal function]: CApplication->handleError(2, 'set_time_limit(...', '/var/www/vhosts...', 769, Array)
yupe#18 /var/www/vhosts/cms-test/yupe/protected/modules/install/controllers/DefaultController.php(769): set_time_limit(180)
yupe#19 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(49): DefaultController->actionModulesinstall()
yupe#20 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(Array)
yupe#21 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction(Object(CInlineAction))
yupe#22 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
yupe#23 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run('modulesinstall')
yupe#24 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController('install/default...')
yupe#25 /var/www/vhosts/cms-test/yupe/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest()
yupe#26 /var/www/vhosts/cms-test/yupe/public/index.php(39): CApplication->run()
yupe#27 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant