公告:如果您的账号不能登录,可能是系统对您账号进行了保护,我们发现系统中存在着不安全密码,故对其重置,请您重新激活账号,对于给您造成的不便,敬请谅解!
论坛风格切换切换到宽版
  • 160079阅读
  • 138回复

[补丁发布]DedeCms V5.1搜索过滤补丁 [复制链接]

上一主题 下一主题
离线cha369
发帖
818
贡献值
5
威望值
568
技术分
0
织梦币
0
只看该作者 30 发表于: 2008-04-07
引用第28楼新水年华于2008-04-07 14:11发表的  :
覆盖补丁后搜索出错,
Fatal error: Call to undefined function highlight() in **includeinc_arcsearch_view.php on line 223

什么版本的?
linux试运行中。。。
离线djks

发帖
3412
贡献值
3045
威望值
1821
技术分
0
织梦币
0
只看该作者 31 发表于: 2008-04-07
终于出来了
 
离线新水年华

发帖
59
贡献值
1
威望值
33
技术分
0
织梦币
0
只看该作者 32 发表于: 2008-04-07
引用第30楼gogogo于2008-04-07 14:20发表的  :
什么版本的?



5.01GBK
 
离线forevercqh

发帖
41
贡献值
4
威望值
24
技术分
0
织梦币
0
只看该作者 33 发表于: 2008-04-07
已经下载  OK了
离线hans
发帖
193
贡献值
0
威望值
158
技术分
0
织梦币
0
只看该作者 34 发表于: 2008-04-07
         
http://www.tjshipin.com
离线huajiaquan
发帖
313
贡献值
53
威望值
139
技术分
0
织梦币
0
只看该作者 35 发表于: 2008-04-07
打过补丁后更新首页出现下面错误:
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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) order by arc.senddate desc ' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) order by arc.senddate desc limit 0,10



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keyw' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keywords) REGEXP 'hot|hot' order by arc.senddate desc limit 0,10



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) order by arc.senddate 3 lim' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) order by arc.senddate 3 limit 0,10



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) order by arc.senddate desc ' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) order by arc.senddate desc limit 0,10



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) order by arc.senddate desc ' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And arc.ID<>'100%' And ( () Or arc.typeid2='/templets/default/index.htm' ) order by arc.senddate desc limit 0,10



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keyw' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keywords) REGEXP 'ID|ID' order by arc.senddate desc limit 0,1



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keyw' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keywords) REGEXP 'ID|ID' order by arc.senddate desc limit 0,6



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keyw' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keywords) REGEXP 'ID|ID' order by arc.senddate desc limit 0,3



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keyw' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keywords) REGEXP 'ID|ID' order by arc.senddate desc limit 0,2



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keyw' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keywords) REGEXP 'ID|ID' order by arc.senddate desc limit 0,5



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 '/templets/default/index.htm' at line 1 - Execute Query False! Select ID From dede_arctype where reID=/templets/default/index.htm




Warning: Invalid argument supplied for foreach() in E:\wwwroot\zhangxiaoyu\web\include\inc_channel_unit_functions.php on line 164

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 ') Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keyw' at line 10 - Execute Query False! Select arc.ID,arc.title,arc.iscommend,arc.color,arc.typeid, arc.ismake,arc.description,arc.pubdate,arc.senddate,arc.arcrank,arc.click, arc.money,arc.litpic,arc.writer,arc.shorttitle,arc.memberid,arc.postnum,arc.lastpost, tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl from dede_archives arc left join dede_arctype tp on arc.typeid=tp.ID where arc.arcrank > -1 And ( () Or arc.typeid2='/templets/default/index.htm' ) And CONCAT(arc.title,arc.keywords) REGEXP 'ID|ID' order by arc.senddate desc limit 0,4



成功更新主页HTML:E:/wwwroot/zhangxiaoyu/web/wodede/../index.html

浏览...
离线淘金王
发帖
5
贡献值
0
威望值
3
技术分
0
织梦币
0
只看该作者 36 发表于: 2008-04-07
引用第28楼新水年华于2008-04-07 14:11发表的  :
覆盖补丁后搜索出错,
Fatal error: Call to undefined function highlight() in **includeinc_arcsearch_view.php on line 223

我也是这个问题。
离线淘金王
发帖
5
贡献值
0
威望值
3
技术分
0
织梦币
0
只看该作者 37 发表于: 2008-04-07
引用第30楼gogogo于2008-04-07 14:20发表的  :
什么版本的?

5.01版本
离线520_dede

发帖
1172
贡献值
1041
威望值
438
技术分
0
织梦币
0
只看该作者 38 发表于: 2008-04-07
顶,要看仔细版本啊
5.1版本的下载包直接覆盖,5.01的不要下载包,替换plus/search.php就行了
离线hehe5
发帖
223
贡献值
2
威望值
40
技术分
0
织梦币
0
只看该作者 39 发表于: 2008-04-07
楼主应该写:
非5.1版只需修改 plus/search.php文件

是这个意思吗?
快速回复
限100 字节
理智评论文明上网,拒绝恶意谩骂;
 
上一个 下一个