thinkphp-General error: 1364 Field doesn't have a default v

來源:互聯網
上載者:User
關鍵字 thinkphp 架構 php 函數
thinkphp架構php函數

:(
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}

  • 相關文章

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.