:(

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'cateid' cannot be null

错误位置

FILE: /www/wwwroot/xjsppt.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 217

TRACE

#0 /www/wwwroot/xjsppt.com/ThinkPHP/Library/Think/Db/Driver.class.php(217): PDOStatement->execute()
#1 /www/wwwroot/xjsppt.com/ThinkPHP/Library/Think/Db/Driver.class.php(813): Think\Db\Driver->execute('INSERT INTO `yd...', false)
#2 /www/wwwroot/xjsppt.com/ThinkPHP/Library/Think/Model.class.php(320): Think\Db\Driver->insert(Array, Array, false)
#3 /www/wwwroot/xjsppt.com/Application/Home/Controller/GoodsController.class.php(190): Think\Model->add(Array)
#4 [internal function]: Home\Controller\GoodsController->goodsInfo()
#5 /www/wwwroot/xjsppt.com/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\GoodsController))
#6 /www/wwwroot/xjsppt.com/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#7 /www/wwwroot/xjsppt.com/ThinkPHP/Library/Think/Think.class.php(122): Think\App::run()
#8 /www/wwwroot/xjsppt.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#9 /www/wwwroot/xjsppt.com/index.php(45): require('/www/wwwroot/xj...')
#10 {main}