我在rewrite文件覆盖时,出现:
Discuz! info: MySQL Query Error
Time: 2006-6-14 9:30am
Script: /index.php
SQL: SELECT s.sid, s.styleid, s.groupid='6' AS ipbanned, s.pageviews AS spageviews, s.lastolupdate, s.seccode, m.uid AS discuz_uid,
m.username AS discuz_user, m.password AS discuz_pw, m.secques AS discuz_secques, m.adminid, m.groupid, m.groupexpiry,
m.extgroupids, m.email, m.timeoffset, m.tpp, m.ppp, m.posts, m.digestposts, m.oltime, m.pageviews, m.credits, m.extcredits1, m.extcredits2, m.extcredits3,
m.extcredits4, m.extcredits5, m.extcredits6, m.extcredits7, m.extcredits8, m.timeformat, m.dateformat, m.pmsound,
m.sigstatus, m.invisible, m.lastvisit, m.lastactivity, m.lastpost, m.newpm, m.accessmasks,m.xspacestatus
FROM cdb_sessions s, cdb_members m
WHERE m.uid=s.uid AND s.sid='rgKe8H' AND CONCAT_WS('.',s.ip1,s.ip2,s.ip3,s.ip4)='127.0.0.1' AND m.uid='1'
AND m.password='bae8a4fecc74b1cfdc3f771149e2e1e8' AND m.secques=''
Error: Unknown column 'm.xspacestatus' in 'field list'
程序文件跟数据库有冲突,请使用正确的程序文件上传上去覆盖
Similar error report has beed dispatched to administrator before.
检查发现是升级包中的\include\common.inc.php问题,三处多了'm.xspacestatus' 字段,而mysql库没有此字段,如何处理?
还有在安装x-space时要求安装Zend,而我已经安装了啊!
我的环境:windows 2000 ad server +Apache 2.x +php5.1+mysql 5.0+ZendOptimizer-2.6.2
哪位高手帮忙......................谢谢!
[ 本帖最后由 yaoxb 于 2006-6-14 10:50 编辑 ] |