thinkphp连接Oracle出现下面错误,请高手指教

浏览:3446 发布日期:2016/03/04 分类:求助交流
用thinkphp连接Oracle出现下面错误,请问高手这是什么问题,本菜鸟调试一星期了也没结果,请详细指教!我的配置环境是:wampserver 2.5 apache 2.4.9 php 5.5.12 oracle数据库 10.2.0.4.0 我电脑系统是:win 7
:(
SQLSTATE[HY000]: OCIEnvNlsCreate: Check the character set is valid and that PHP has access to Oracle libraries and NLS data (ext\pdo_oci\oci_driver.c:614)
错误位置
FILE: D:\workspace\thinkphp\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 109
TRACE
#0 D:\workspace\thinkphp\ThinkPHP\Library\Think\Db\Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 D:\workspace\thinkphp\ThinkPHP\Library\Think\Db\Driver.class.php(1075): Think\Db\Driver->connect()
#2 D:\workspace\thinkphp\ThinkPHP\Library\Think\Db\Driver.class.php(140): Think\Db\Driver->initConnect(false)
#3 D:\workspace\thinkphp\ThinkPHP\Library\Think\Db\Driver\Oracle.class.php(102): Think\Db\Driver->query('select a.column...')
#4 D:\workspace\thinkphp\ThinkPHP\Library\Think\Model.class.php(134): Think\Db\Driver\Oracle->getFields('days')
#5 D:\workspace\thinkphp\ThinkPHP\Library\Think\Model.class.php(122): Think\Model->flush()
#6 D:\workspace\thinkphp\ThinkPHP\Library\Think\Model.class.php(1454): Think\Model->_checkTableInfo()
#7 D:\workspace\thinkphp\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#8 D:\workspace\thinkphp\ThinkPHP\Common\functions.php(621): Think\Model->__construct('days', '', '')
#9 D:\workspace\thinkphp\Application\Home\Controller\IndexController.class.php(6): M('days')
#10 [internal function]: Home\Controller\IndexController->index()
#11 D:\workspace\thinkphp\ThinkPHP\Library\Think\App.class.php(173): ReflectionMethod->invoke(object(Home\Controller\IndexController))
#12 D:\workspace\thinkphp\ThinkPHP\Library\Think\App.class.php(110): Think\App::invokeAction(object(Home\Controller\IndexController), 'index')
#13 D:\workspace\thinkphp\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()
#14 D:\workspace\thinkphp\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#15 D:\workspace\thinkphp\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#16 D:\workspace\thinkphp\index.php(24): require('D:\\workspace\\th...')
#17 {main}
ThinkPHP3.2.3 { Fast & Simple OOP PHP framework } -- [ WE CAN DO IT JUST THINK ]
最佳答案
评论( 相关
后面还有条评论,点击查看>>