这是错误:
发生数据库错误
$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);
}
}