:(

1364:Field 'total' doesn't have a default value [ SQL语句 ] : INSERT INTO `xc_ipcount` (`zuotian`,`tody`,`ip`) VALUES ('1','2018-09-23','54.198.23.251')

错误位置

FILE: C:\website\wlfjng.com\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 350

TRACE

#0 C:\website\wlfjng.com\ThinkPHP\Library\Think\Db\Driver.class.php(350): E('1364:Field 'tot...')
#1 C:\website\wlfjng.com\ThinkPHP\Library\Think\Db\Driver.class.php(237): Think\Db\Driver->error()
#2 C:\website\wlfjng.com\ThinkPHP\Library\Think\Db\Driver.class.php(824): Think\Db\Driver->execute('INSERT INTO `xc...', false)
#3 C:\website\wlfjng.com\ThinkPHP\Library\Think\Model.class.php(320): Think\Db\Driver->insert(Array, Array, false)
#4 C:\website\wlfjng.com\Application\Home\Controller\IndexController.class.php(62): Think\Model->add(Array)
#5 [internal function]: Home\Controller\IndexController->index()
#6 C:\website\wlfjng.com\ThinkPHP\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#7 C:\website\wlfjng.com\ThinkPHP\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Home\Controller\IndexController), 'index')
#8 C:\website\wlfjng.com\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()
#9 C:\website\wlfjng.com\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#10 C:\website\wlfjng.com\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#11 C:\website\wlfjng.com\index.php(28): require('C:\website\wlfj...')
#12 {main}

404(ڷϲ鿴Ϣ)

վ һ>>