oh... god , 打包里头这个SQL语句好老了亚
这个是CVS里头的
sprintf(sql,"INSERT INTO `users` ( `uid` , `username` , `corpusname` , `description` , `theme` , `nodelimit` , `dirlimit` , `createtime` , `style` , `backimage` , `visitcount` , `nodescount` , `logoimage` , `modifytime` , `links` , `htmleditor` , `indexnodechars` , `indexnodes` , `useremail` , `favmode` , `updatetime` , `userinfor` , `pctype` ,`defaulttopic`) VALUES ('', '%s', '%s', '%s' , 'others', %d, %d, NOW( ) , '0', '' , '0', '0', '' , NOW( ) , '', '1', '600', '5', '', '0', NOW( ) , '' , '0' , '其他类别');",pn->username, newcorp, newdesc, pn->nodelimit, pn->dirlimit );
else
【 在 wuweixin (有颜色的猫) 的大作中提到: 】
: 这个原因是因为 tenlet 下给用户开个人文集中所使用的SQL语句和mysql数据库中的数据表中的字段数目不一致的缘故。
: 数据表为:users 表
: 打开 $bbssrc/src/libpc.c 文件,大概709行,改为
: ...................
--
FROM 61.149.113.*