Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

求助,今天一早起来论坛所有帖子都不能打开了。,

[复制链接]
huy7 发表于 2012-8-6 13:42:07 | 显示全部楼层 |阅读模式
本帖最后由 huy7 于 2012-8-6 14:02 编辑

求助,今天一早起来论坛所有帖子都不能打开了。,
首页我帖子列表都可以进,后台也可以,就是点击进入帖子 就不能显示内容了,直接报错提示如下:

我忙活了好几天啊,这出了问题,不知道怎么解决,麻烦官方说下解决方法!

再贴上报错的文件,我ftp下载下来的,
  1. <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
  2. <?php function tpl_cloudsearch_index_top($recwords, $searchparams, $srchotquery) {
  3. if($recwords) {
  4. $recwords_tmp = $recwords;
  5. $recwords = array();
  6. foreach ($recwords_tmp as $k => $v) {
  7. $recwords[$k+1] = $v;?><?php }?><?php }?><?php
  8. $__FORMHASH = FORMHASH;$return = <<<EOF


  9. EOF;
  10. if(is_array($recwords) && count($recwords) > 0) {
  11. $return .= <<<EOF

  12. <div class="bm bmw fl bmb">
  13. <div class="bm_h cl">
  14. <span class="y"></span>
  15. <h2>热门话题</h2>
  16. </div>
  17. <style>
  18. .filter { padding: 10px; border-bottom: none; font-size: 12px; color: #999; }
  19. .filter ul {}
  20. .filter li { float: left; margin-right: 16px; height: 22px; line-height: 22px; white-space:nowrap; width:12.5%; }
  21. .filter li a { margin-right: 2px; text-decoration: none; color: #369; }
  22. .filter li.clewcolor a { background:url("source/plugin/cloudsearch/template/keyword_hot.gif") no-repeat 100% 2px; margin-right: 2px; text-decoration: none; color: #F00; padding-right:18px; }
  23. .filter li a:hover { text-decoration: underline; }
  24. .filter li a:visited { text-decoration: none; color: #666; }
  25. .filter li.clewcolor a:visited { text-decoration: none; color: #F00; }
  26. .filter .number { color: #666; }
  27. .filter li.clewcolor .number { color:#F00; }
  28. </style>
  29. <div class="filter">
  30. <ul class="cl">
  31. EOF;
  32. if(is_array($recwords)) foreach($recwords as $key => $recword) { if($encodeWord=rawurlencode(trim($recword['0']))) { if(!empty($searchparams['0'])) { if(empty($recword['3'])) {
  33. $return .= <<<EOF

  34. <li><a href="{$searchparams['0']}?q={$encodeWord}&source=word.hotopicf.{$key}{$srchotquery}&num={$recword['2']}" target="_blank">{$recword['0']}<span class="number">({$recword['2']})</span></a></li>

  35. EOF;
  36. } else {
  37. $return .= <<<EOF

  38. <li class="clewcolor"><a href="{$searchparams['0']}?q={$encodeWord}&source=word.hotopicf.{$key}{$srchotquery}&num={$recword['2']}" target="_blank">{$recword['0']}<span class="number">({$recword['2']})</span></a></li>

  39. EOF;
  40. } } else { if(empty($recword['3'])) {
  41. $return .= <<<EOF

  42. <li><a href="search.php?mod=forum&srchtxt={$encodeWord}&formhash={$__FORMHASH}&searchsubmit=true&source=word.hotopicf.{{$key}+1}&num={$recword['2']}" target="_blank">{$recword['0']}<span class="number">({$recword['2']})</span></a></li>

  43. EOF;
  44. } else {
  45. $return .= <<<EOF

  46. <li class="clewcolor"><a href="search.php?mod=forum&srchtxt={$encodeWord}&formhash={$__FORMHASH}&searchsubmit=true&source=word.hotopicf.{{$key}+1}&num={$recword['2']}" target="_blank">{$recword['0']}<span class="number">({$recword['2']})</span></a></li>

  47. EOF;
  48. } } } }
  49. $return .= <<<EOF

  50. </ul>
  51. </div>
  52. </div>

  53. EOF;
  54. }
  55. $return .= <<<EOF


  56. EOF;
  57. ?><?php return $return;?><?php }

  58. function tpl_cloudsearch_viewthread_postbottom_output() {?><?php
  59. $return = <<<EOF

  60. <div id="relate_subject"></div>

  61. EOF;
  62. ?><?php return $return;?><?php }

  63. function tpl_cloudsearch_global_footer_related($searchDomain, $srchotquery) {
  64. global $_G;
  65. $rel_title = urlencode($_G['forum_thread']['subject']);
  66. $get_reltid = dintval($_GET[reltid]);
  67. $get_pre_pos = dhtmlspecialchars(trim($_GET[pre_pos]));?><?php
  68. $__CHARSET = CHARSET;$return = <<<EOF



  69. EOF;
  70. if(empty($_G['inajax'])) {
  71. $return .= <<<EOF

  72. <script type="text/javascript">
  73. var rel_tid = "{$_G['tid']}";
  74. var rel_title = "{$rel_title}";
  75. var rel_reltid = "{$get_reltid}";
  76. var rel_prepos = "{$get_pre_pos}";
  77. var my_siteid = "{$_G['setting']['my_siteid']}";
  78. var rel_uid = "{$_G['uid']}";
  79. var charset = "{$__CHARSET}";
  80. var rel_recommend = "相关推荐";
  81. var rel_thread = "相关帖子";
  82. var searchDomain = "{$searchDomain}";
  83. var srchotquery = "{$srchotquery}";
  84. </script>
  85. <script src="http://cache.soso.com/30d/js/discuz/relate_subject.js" type="text/javascript" charset="GBK"></script>

  86. EOF;
  87. }
  88. $return .= <<<EOF


  89. EOF;
  90. ?><?php return $return;?><?php }?>
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| huy7 发表于 2012-8-6 14:04:00 | 显示全部楼层
问题解决了,百度了下,很多朋友有这种提示,让关闭纵横搜索  我关闭了 就正常了,那这纵横搜索还不能使用了啊!!!!{:soso_e101:} 还等官方进一步给出解答,谢谢!
回复

使用道具 举报

m.king 发表于 2012-8-8 10:42:42 | 显示全部楼层
关闭再重新开启看有没有该问题。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-27 04:47 , Processed in 0.022377 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表