thinkphp-General error: 1364 Field doesn't have a default v
:(
SQLSTATE[HY000]: General error: 1364 Field 'tiezi' doesn't have a default value
错误位置
FILE: E:\Webpage\ThinkPHP\Library\Think\Db\Driver.class.php LINE: 217
TRACE
#0 E:\Webpage\ThinkPHP\Library\Think\Db\Driver.class.php(217): PDOStatement->execute()
#1 E:\Webpage\ThinkPHP\Library\Think\Db\Driver.class.php(813): Think\Db\Driver->execute('INSERT INTO `tb...', false)
#2 E:\Webpage\ThinkPHP\Library\Think\Model.class.php(320): Think\Db\Driver->insert(Array, Array, false)
#3 E:\Webpage\Application\Home\Controller\IndexController.class.php(79): Think\Model->add(Array)
#4 [internal function]: Home\Controller\IndexController->posts()
#5 E:\Webpage\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#6 E:\Webpage\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#7 E:\Webpage\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#8 E:\Webpage\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#9 E:\Webpage\index.php(13): require('E:\Webpage\Thin...')
#10 {main}
上一篇: mysqlBLOB类型_MySQL
下一篇: QT 连接SQLServer
推荐阅读
-
MySQL添加用户错误:ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value解决方法
-
Field 'id' doesn't have a default value错误解决方法
-
ERROR: Field 'PostId' doesn't have a default value Exception in thread "main" org.hibernate.exception.GenericJDBCException: coul
-
thinkphp-General error: 1364 Field doesn't have a default v
-
MySQL添加用户错误:ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value解决方法
-
mysql创建用户报错ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value
-
MySQL之Field‘***’doesn’t have a default value错误解决办法
-
MySQL之Field‘***’doesn’t have a default value错误解决办法_MySQL
-
thinkphp-General error: 1364 Field doesn't have a default v
-
MySQL之Field‘***’doesn’t have a default value错误解决办法_MySQL