https和CodeIgniter问题

时间:2015-04-19 20:07:42

标签: database codeigniter

一旦我使用https://访问我的网站,CodeIgniter数据库加载就不再起作用了。这是显示的错误的一部分:

 Message: PDO::__construct(): open_basedir restriction in effect. File(/home/students/550067/www/db/Database.sqlite) is not within the allowed path(s): (.)

这是配置文件:

$db['default'] = array(
    'dsn'   => 'sqlite:/home/students/550067/www/db/Database.sqlite',
    'hostname' => 'localhost',
    'username' => '',
    'password' => '',
    'database' => 'DateBase.sqlite',
    'dbdriver' => 'pdo',
    'dbprefix' => '',
    'pconnect' => FALSE,
    'db_debug' => TRUE,
    'cache_on' => FALSE,
    'cachedir' => '',
    'char_set' => 'utf8',
    'dbcollat' => 'utf8_general_ci',
    'swap_pre' => '',
    'encrypt' => FALSE,
    'compress' => FALSE,
    'stricton' => FALSE,
    'failover' => array(),
    'save_queries' => TRUE
);

可能是什么问题?

0 个答案:

没有答案