帝国cms 更新栏目文章时间出现Unknown column 'befrom' in 'field list'
帝国cms更新栏目文章时间出现Unknowncolumn'befrom'in'fieldlist'怎么解决请教大师Unknowncolumn'smalltext'in'f...
帝国cms 更新栏目文章时间出现Unknown column 'befrom' in 'field list' 怎么解决 请教大师
Unknown column 'smalltext' in 'field list'
select
id,classid,ttid,onclick,plnum,totaldown,newspath,filename,userid,username,firsttitle,isgood,ispic,istop,isqf,ismember,isurl,truetime,lastdotime,havehtml,groupid,userfen,titlefont,titleurl,stb,fstb,restb,keyboard,title,titlepic,newstime,smalltext,writer,befrom
from ***_ecms_movie where classid='318' order by newstime DESC limit 120 展开
Unknown column 'smalltext' in 'field list'
select
id,classid,ttid,onclick,plnum,totaldown,newspath,filename,userid,username,firsttitle,isgood,ispic,istop,isqf,ismember,isurl,truetime,lastdotime,havehtml,groupid,userfen,titlefont,titleurl,stb,fstb,restb,keyboard,title,titlepic,newstime,smalltext,writer,befrom
from ***_ecms_movie where classid='318' order by newstime DESC limit 120 展开
1个回答
2015-02-07
展开全部
因为这个文件帝国cms是升级不到的,所以里面存在之前的checked字段没有去掉,那么该如何解决呢?小编现在就为大家解答:
首先连接FTP工具,在空间根目录找到/e/data/html/list/alllistinfo_movie.php,用文本编辑器打开此文件,找到下面这段sql,大概在第9行:
1 $query="select id,classid,titleurl,groupid,newspath,filename,checked,isqf,havehtml,istop,isgood,firsttitle,ismember,userid,username,plnum,totaldown,onclick,newstime,truetime,lastdotime,titlepic,title from {$dbtbpre}ecms_".$tbname.$where." order by ".$doorder." limit $offset,$line";
改成
1 $query="select id,classid,titleurl,groupid,newspath,filename,isqf,havehtml,istop,isgood,firsttitle,ismember,userid,username,plnum,totaldown,onclick,newstime,truetime,lastdotime,titlepic,title from {$dbtbpre}ecms_".$tbname.$where." order by ".$doorder." limit $offset,$line";
也就是删除checked字符!接下来覆盖上传即可!
首先连接FTP工具,在空间根目录找到/e/data/html/list/alllistinfo_movie.php,用文本编辑器打开此文件,找到下面这段sql,大概在第9行:
1 $query="select id,classid,titleurl,groupid,newspath,filename,checked,isqf,havehtml,istop,isgood,firsttitle,ismember,userid,username,plnum,totaldown,onclick,newstime,truetime,lastdotime,titlepic,title from {$dbtbpre}ecms_".$tbname.$where." order by ".$doorder." limit $offset,$line";
改成
1 $query="select id,classid,titleurl,groupid,newspath,filename,isqf,havehtml,istop,isgood,firsttitle,ismember,userid,username,plnum,totaldown,onclick,newstime,truetime,lastdotime,titlepic,title from {$dbtbpre}ecms_".$tbname.$where." order by ".$doorder." limit $offset,$line";
也就是删除checked字符!接下来覆盖上传即可!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |