【问题标题】:Reportico : YII2 ADONewConnection: Unable to load database driveReportico:YII2 ADONewConnection:无法加载数据库驱动器
【发布时间】:2016-12-22 09:49:02
【问题描述】:

当我尝试进入管理页面时,我已经安装了 Reportico For yii2

首先:我收到错误提示

项目区不存在 - 无法写入项目

我用谷歌搜索了这个问题,然后我找到了一个解决方案:将文件 config.template 重命名为目录中的 config.php

供应商\reportico\yii2-reportico\components\projects\admin

我做到了并添加了代码define('SW_ADMIN_PASSWORD','xxxx')

它可以工作,但之后显示的问题

缺少文件:C:\xampp\htdocs\Atom\vendor\reportico\yii2-reportico\components\reportico_adodb/drivers/adodb-n/a.inc.php ADONewConnection: 无法加载数据库驱动程序''

C:\xampp\htdocs\Atom\vendor\reportico\yii2-reportico\components\reportico_adodb\adodb.inc.php 第 4080 行 - include_once(C:\xampp\htdocs\Atom\vendor\reportico\yii2-reportico \components\reportico_adodb/drivers/adodb-n/a.inc.php):无法打开流:没有这样的文件或目录

C:\xampp\htdocs\Atom\vendor\reportico\yii2-reportico\components\reportico_adodb\adodb.inc.php 第 4080 行 - include_once(): Failed opening 'C:\xampp\htdocs\Atom\vendor\ reportico\yii2-reportico\components\reportico_adodb/drivers/adodb-n/a.inc.php' 用于包含 (include_path='C:\xampp\php\PEAR')

【问题讨论】:

    标签: php yii2 yii2-advanced-app reportico


    【解决方案1】:

    你能试试这个吗..

    将 config.php 移回 config.template

    将文件 adminconfig.template 复制到 config.php 并按照建议设置密码,然后尝试

    真的,你应该把所有东西都放回去,删除 config.php,然后重新指向 index.php?r=reportico 或 index.php/reportico。

    如果您删除 config.php 并重新启动,您会看到此处显示的屏幕吗?

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

    【讨论】:

    猜你喜欢
    • 2012-09-17
    • 2016-02-07
    • 1970-01-01
    • 2020-08-01
    • 1970-01-01
    • 2019-07-24
    • 1970-01-01
    • 1970-01-01
    • 2020-01-10
    相关资源
    最近更新 更多