Reportico : YII2 ADONewConnection: Unable to load database drive

937 Views Asked by At

I've installed Reportico For yii2 when i try to go to Administration page

Firstly : i got error that says

Projects area does not exist - cannot write project

I googled this problem then i found a solution : Rename file config.template to config.php in directory

vendor\reportico\yii2-reportico\components\projects\admin

i did it and added the code define('SW_ADMIN_PASSWORD','xxxx')

it works but the problem shown after that

Missing file: C:\xampp\htdocs\Atom\vendor\reportico\yii2-reportico\components\reportico_adodb/drivers/adodb-n/a.inc.php ADONewConnection: Unable to load database driver ''

and

C:\xampp\htdocs\Atom\vendor\reportico\yii2-reportico\components\reportico_adodb\adodb.inc.php Line 4080 - include_once(C:\xampp\htdocs\Atom\vendor\reportico\yii2-reportico\components\reportico_adodb/drivers/adodb-n/a.inc.php): failed to open stream: No such file or directory

and

C:\xampp\htdocs\Atom\vendor\reportico\yii2-reportico\components\reportico_adodb\adodb.inc.php Line 4080 - include_once(): Failed opening 'C:\xampp\htdocs\Atom\vendor\reportico\yii2-reportico\components\reportico_adodb/drivers/adodb-n/a.inc.php' for inclusion (include_path='C:\xampp\php\PEAR')

1

There are 1 best solutions below

6
On BEST ANSWER

Can you try this ..

move the config.php back to config.template

copy the file adminconfig.template to config.php instead and set the password as suggested and then try

Really , you should put everything back, remove the config.php , then repoint at index.php?r=reportico or index.php/reportico.

If you remove the config.php and restart, are you seeing the screens shown here?

http://reportico.org/yii2/web/index.php/site/installation