Totally new to Yii, just installed it this AM on a Ubuntu Server.
This is the first time I ever use a framework but not PHP.
I have this:
/var/www/html/install/latest/apps/common/framework/cli/views/web
app/protected/config$
and within there I have
-rw-rw-r-- 1 dvuser www-data 622 Sep 5 22:58 console.php
-rw-rw-r-- 1 dvuser www-data 238 Oct 26 23:16 database.php
-rw-rw-r-- 1 dvuser www-data 1990 Oct 26 23:15 main.php
-rw-rw-r-- 1 dvuser dvuser 606 Oct 26 23:15 OLDdatabase.php
-rw-rw-r-- 1 dvuser www-data 331 Sep 5 22:58 test.php
I have edited database.php to this
// This is the database connection configuration.
return array(
'connectionString' => 'mysql:host=localhost;dbname=mwizzema',
'emulatePrepare' => true,
'username' => 'dvuser',
'password' => 'PickPickles',
'charset' => 'utf8',
);
I ran the requirement checker and all passes but the postgres db and I figure it does not matter since I do not use it.
I am trying to play around with mailwizz ema (future prospective work) as I see an opportunity for work maintaining it. mailwizz ema uses Yii and so, here I am.
Following the guide to install mailwizz ema, I get the above mentioned error. It obviously points to DB connection error so I have
(1) Checked and made sure MySQL is working
(2) Checked and made sure user|password are correct
(3) Checked and made sure database mwizzema exists
I cannot, for the life of me, pin point the source code where the error is triggered nor the root cause of the error since it is very vague.
Can anyone please offer some advise that may help me get pass this hurdle!?!
thank you all in advance for your assistance.