发生数据库错误错误号:它不提供错误号

时间:2016-03-09 19:56:35

标签: oracle codeigniter

这是错误:
    发生数据库错误

$active_group = 'default';
$query_builder = TRUE;

$db['default'] = array(
    'dsn'   => '',
    'hostname' => 'localhost/orcl',
    'username' => 'local',
    'password' => 'password',
    'database' => 'orcl',
    'dbdriver' => 'oci8',
    'dbprefix' => '',
    'pconnect' => FALSE,
    'db_debug' => (ENVIRONMENT !== 'production'),
    'cache_on' => FALSE,
    'cachedir' => '',
    'char_set' => 'utf8',
    'dbcollat' => 'utf8_general_ci',
    'swap_pre' => '',
    'encrypt' => FALSE,
    'compress' => FALSE,
    'stricton' => FALSE,
    'failover' => array(),
    'save_queries' => TRUE
);

这可能有什么问题?

这是我的C:\ wamp \ www \ myapp \ application \ config \ database.php

function intervalCtrl($scope, $interval) {
    $scope.start = function () {           
        var items = [
            { name: "example 1", title: "example title 1"},
            { name: "example 2", title: "example title 2"},
            { name: "example 3", title: "example title 3"}
        ];

        $interval(function () {
            for(var i = 0; i <= items.length; i++){
                  //console.log(items[i]);
                  $scope.items = items[i];
            }                
        }, 3000);                                                        
    }
}

0 个答案:

没有答案