oracle 插入数据报错

浏览:569 发布日期:2017/03/12 分类:求助交流 关键字: oracle thinkphp3.23
SQLSTATE[HY000]: General error: 1008 OCIStmtExecute: ORA-01008: 并非所有变量都已绑定 (ext\pdo_oci\oci_statement.c:148)
错误位置
FILE: C:\phpStudy\WWW\ThinkPHP\Library\Think\Db\Driver\Oracle.class.php  LINE: 79

TRACE
#0 C:\phpStudy\WWW\ThinkPHP\Library\Think\Db\Driver\Oracle.class.php(79): PDOStatement->execute()
#1 C:\phpStudy\WWW\ThinkPHP\Library\Think\Db\Driver.class.php(824): Think\Db\Driver\Oracle->execute('INSERT INTO js_...', false)
#2 C:\phpStudy\WWW\ThinkPHP\Library\Think\Model.class.php(320): Think\Db\Driver->insert(Array, Array, false)
#3 C:\phpStudy\WWW\Application\Home\Controller\IndexController.class.php(46): Think\Model->add(Array)
#4 [internal function]: Home\Controller\IndexController->add()
#5 C:\phpStudy\WWW\ThinkPHP\Library\Think\App.class.php(173): ReflectionMethod->invoke(object(Home\Controller\IndexController))
#6 C:\phpStudy\WWW\ThinkPHP\Library\Think\App.class.php(110): Think\App::invokeAction(object(Home\Controller\IndexController), 'add')
#7 C:\phpStudy\WWW\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()
#8 C:\phpStudy\WWW\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#9 C:\phpStudy\WWW\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#10 C:\phpStudy\WWW\index.php(25): require('C:\phpStudy\WWW...')
#11 {main}
最佳答案
评论( 相关
后面还有条评论,点击查看>>