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

DB connection #4

Closed
chamamme opened this issue Jan 25, 2016 · 3 comments
Closed

DB connection #4

chamamme opened this issue Jan 25, 2016 · 3 comments

Comments

@chamamme
Copy link

This is the first message i get when i unpaclked it and opend it in my browser

"CDbConnection failed to open the DB connection....
May be you should go backorlogout"

Help me out

@traprajith
Copy link
Owner

Check for environment.php file under /protected/config

if you found the file and db is not created, then delete the file and start installation by taking the root link in any browser.

@gulamquadir79
Copy link

I am getting this error everytime...
Fatal error: Uncaught ArgumentCountError: Too few arguments to function CMap::mergeArray(), 1 passed in D:\xampp\htdocs\protected\config\common.php on line 5 and exactly 2 expected in D:\xampp\htdocs\core\collections\CMap.php:275 Stack trace: #0 D:\xampp\htdocs\protected\config\common.php(5): CMap::mergeArray(Array) #1 D:\xampp\htdocs\core\base\CApplication.php(123): require('D:\xampp\htdocs...') #2 D:\xampp\htdocs\core\YiiBase.php(128): CApplication->__construct('D:\xampp\htdocs...') #3 D:\xampp\htdocs\core\YiiBase.php(100): YiiBase::createApplication('CWebApplication', 'D:\xampp\htdocs...') #4 D:\xampp\htdocs\index.php(51): YiiBase::createWebApplication('D:\xampp\htdocs...') #5 {main} thrown in D:\xampp\htdocs\core\collections\CMap.php on line 275

@traprajith
Copy link
Owner

Try latest version now.

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

3 participants