注册会员错误


SQLSTATE[HY000]: General error: 1364 Field 'intro' doesn't have a default value
Typecho_Db_Query_Exception: SQLSTATE[HY000]: General error: 1364 Field 'intro' doesn't have a default value in D:\localuser\ftp6412698\Web\var\Typecho\Db\Adapter\Pdo.php:105
Stack trace:
#0 D:\localuser\ftp6412698\Web\var\Typecho\Db.php(354): Typecho_Db_Adapter_Pdo->query('INSERT INTO typ...', Object(PDO), 2, 'INSERT')
#1 D:\localuser\ftp6412698\Web\var\Widget\Abstract\Users.php(203): Typecho_Db->query(Object(Typecho_Db_Query))
#2 D:\localuser\ftp6412698\Web\var\Widget\Register.php(73): Widget_Abstract_Users->insert(Array)
#3 D:\localuser\ftp6412698\Web\var\Widget\Do.php(82): Widget_Register->action()
#4 D:\localuser\ftp6412698\Web\var\Typecho\Widget.php(221): Widget_Do->execute()
#5 D:\localuser\ftp6412698\Web\var\Typecho\Router.php(135): Typecho_Widget::widget('Widget_Do', NULL, Array)
#6 D:\localuser\ftp6412698\Web\index.php(23): Typecho_Router::dispatch()
#7 {main}
已邀请:

荒野孤灯

赞同来自:


SQLSTATE[HY000]: General error: 1364 Field 'intro' doesn't have a default value
Typecho_Db_Query_Exception: SQLSTATE[HY000]: General error: 1364 Field 'intro' doesn't have a default value in D:\localuser\ftp6412698\Web\var\Typecho\Db\Adapter\Pdo.php:105
Stack trace:
#0 D:\localuser\ftp6412698\Web\var\Typecho\Db.php(354): Typecho_Db_Adapter_Pdo->query('INSERT INTO typ...', Object(PDO), 2, 'INSERT')
#1 D:\localuser\ftp6412698\Web\var\Widget\Abstract\Users.php(203): Typecho_Db->query(Object(Typecho_Db_Query))
#2 D:\localuser\ftp6412698\Web\var\Widget\Register.php(73): Widget_Abstract_Users->insert(Array)
#3 D:\localuser\ftp6412698\Web\var\Widget\Do.php(82): Widget_Register->action()
#4 D:\localuser\ftp6412698\Web\var\Typecho\Widget.php(221): Widget_Do->execute()
#5 D:\localuser\ftp6412698\Web\var\Typecho\Router.php(135): Typecho_Widget::widget('Widget_Do', NULL, Array)
#6 D:\localuser\ftp6412698\Web\index.php(23): Typecho_Router::dispatch()
#7 {main}

荒野孤灯

赞同来自:


怎么解决啊 ,大佬吗?

荒野孤灯

赞同来自:


求助!!!

荒野孤灯

赞同来自:


没人理!!!

荒野孤灯

赞同来自:

ClayMore 写道:虛擬機 一般都是vps自建lnmp或者宝塔


我用的是虚拟主机,之前正常,最近发现不能注册会员了。

荒野孤灯

赞同来自:


自己解决 把 intro 字段值 改大一点
http://www.yxjnotes.top

要回复问题请先登录注册