安装后,编辑论坛就出现下面的,现在无法编辑论坛了
Discuz! info: MySQL Query Error
User: 007
Time: 2005-8-31 6:04pm
Script: /bbs/admincp.php
SQL: UPDATE cdb_forums SET type='forum', status='1', fup='5', name='【碟轩站务区】', icon='',
description='版主事务交流区,会员请勿发帖', styleid='0',cntwrules='', allowhtml='0', allowbbcode='1',
allowimgcode='1', allowsmilies='1', allowcopy='1' postcredits='-1',
replycredits='-1', password='', viewperm='',
postperm='', replyperm='', getattachperm='' WHERE fid='23'
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'postcredits='-1',
replycredits='-1', password='', viewperm
Errno.: 1064
Similar error report has beed dispatched to administrator before.
楼主看看要增加的 ,$isallowcopy 是不是加在买卖帖子里的影响?
// 帖子买卖-start
global $credit, $tid, $discuz_uid, $discuz_user, $codehtml, $post_codecount, $thisbg, $highlight, $table_posts, $db, $searcharray, $replacearray, $sellmessage,$ismoderator, $post,$post_sellcount,$phpcodehtml,$post_phpcodecount,$isallowcopy;
$post_sellcount=0;
$post_codecount = -1;
$post_phpcodecount = -1;
$message = preg_replace("/\[sell=(\d+)\]\s*(.+?)\s*\[\/sell\]/ies", "postsell(\\1,'\\2')", $message);
// 帖子买卖-end |