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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已解决] 升级后不能发帖(点击发帖空白)

[复制链接]
一代0天骄 发表于 2012-11-12 02:42:31 | 显示全部楼层 |阅读模式
本帖最后由 一代0天骄 于 2012-11-12 02:46 编辑





       今天升级到Discuz! X2.5 Release 20121101后不能发帖,点击发帖显示空白,不论是管理员帐号还是其他帐号都一样。发表回帖是正常的,发表新帖,悬赏、投票、等全部空白!



      关闭伪静态也是一样,升级后重新装了个模版,开始以为是模版的问题,但是换了其他模版和之前的模版包括系统默认模版都没有效。装模版修改了几个文件:

1:\template\default\common\common.css
2 : \template\default\forum\ discuz.htm
3 : \template\default\forum \ index.htm
4 : \template\default\forum \ viewthread_node.htm

       以上几个文件是我升级前备份下载到本地的原文件,升级完后我又把这几个文件重新通过FTP上传到服务器覆盖了升级后的文件。
       代码顺便也依次放出来:

1:\template\default\common\ common.css

    这个没有怎么动。问题应该不大。

2 : \template\default\forum \ discuz.htm
  1. <blockquote><!--{subtemplate common/header}-->
复制代码
3 :  \template\default\forum \ index.htm

   该文件空白不知是否正常?

4 :  \template\default\forum \ viewthread_node.htm
  1. <!--{eval $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);}-->
  2. <!--{block authorverifys}-->
  3. <!--{if $_G['setting']['verify']['enabled']}-->
  4.         <!--{loop $_G['setting']['verify'] $vid $verify}-->
  5.                 <!--{if $verify['available'] && $post['verify'.$vid] == 1}-->
  6.                         <a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><!--{if $verify[icon]}--><img src="$verify[icon]" class="vm" alt="$verify[title]" title="$verify[title]" /><!--{else}-->$verify[title]<!--{/if}--></a>
  7.                 <!--{/if}-->
  8.         <!--{/loop}-->
  9. <!--{/if}-->
  10. <!--{/block}-->
  11. <!--{if $post['first'] &&  $_G['forum_threadstamp']}-->
  12.         <div id="threadstamp"><img src="{STATICURL}image/stamp/$_G[forum_threadstamp][url]" title="$_G[forum_threadstamp][text]" /></div>
  13. <!--{/if}-->
  14. <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
  15. <tr>
  16.         <td class="pls" rowspan="2">
  17.       <!--{subtemplate forum/viewthread_user}-->
  18.         </td>
  19.         <td class="plc">
  20.                 <div class="pi">
  21.                         <!--{if !IS_ROBOT}-->
  22.                                 <!--{if !$postcount && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
  23.                                         <div id="fj" class="y">
  24.                                                 <label class="z">{lang thread_redirect_postno}</label>
  25.                                                 <input type="text" class="px p_fre z" size="2" onkeyup="$('fj_btn').href='forum.php?mod=redirect&ptid=$_G[tid]&authorid=$_G[gp_authorid]&postno='+this.value" onkeydown="if(event.keyCode==13) {window.location=$('fj_btn').href;return false;}" title="{lang thread_redirect_postno_tips}" />
  26.                                                 <a href="javascript:;" id="fj_btn" class="z" title="{lang thread_redirect_postno_tips}"><img src="{IMGDIR}/fj_btn.png" alt="{lang thread_redirect_postno_tips}" class="vm" /></a>
  27.                                         </div>
  28.                                 <!--{/if}-->
  29.                                 <!--{if $post['warned']}-->
  30.                                         <a href="forum.php?mod=misc&action=viewwarning&tid=$_G[tid]&uid=$post[authorid]" title="{lang warn_get}" class="y" onclick="showWindow('viewwarning', this.href)"><img src="{IMGDIR}/warning.gif" alt="{lang warn_get}" /></a>
  31.                                 <!--{/if}-->
  32.                                 <strong>
  33.                                         <a href="{if $post[first]}forum.php?mod=viewthread&tid=$_G[tid]$fromuid{else}forum.php?mod=redirect&goto=findpost&ptid=$_G[tid]&pid=$post[pid]$fromuid{/if}" title="{lang share_url_copy_comment}" id="postnum$post[pid]" onclick="setCopy(this.href, '{lang post_copied}');return false;"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a>
  34.                                 </strong>
  35.                         <!--{/if}-->
  36.                         <div class="pti">
  37.                                 <div class="pdbt">
  38.                                         <!--{if !$post['first'] && $post['rewardfloor']}-->
  39.                                                 <label class="pdbts pdbts_1">
  40.                                                         <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="v">{lang prosit}</a>
  41.                                                         <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="b">{lang rushreply_hit}</a>
  42.                                                 </label>
  43.                                         <!--{/if}-->
  44.                                         <!--{if !$post[first] && $_G['forum_thread']['special'] == 5}-->
  45.                                                 <label class="pdbts pdbts_{echo intval($post[stand])}">
  46.                                                         <!--{if $post[stand] == 1}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&filter=debate&stand=1" title="{lang debate_view_square}">{lang debate_square}</a>
  47.                                                                 <!--{elseif $post[stand] == 2}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&filter=debate&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a>
  48.                                                                 <!--{else}--><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&filter=debate&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}-->
  49.                                                         <!--{if $post[stand]}-->
  50.                                                                 <a class="b" href="forum.php?mod=misc&action=debatevote&tid=$_G[tid]&pid=$post[pid]" id="voterdebate_$post[pid]" onclick="ajaxmenu(this);doane(event);">{lang debate_support} $post[voters]</a>
  51.                                                         <!--{/if}-->
  52.                                                 </label>
  53.                                         <!--{/if}-->
  54.                                 </div>
  55.                                 <div class="authi">
  56.                                 <!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
  57.                                         <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
  58.                                 <!--{else}-->
  59.                                         <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
  60.                                 <!--{/if}-->
  61.                                 <!--{if $post['authorid'] && !$post['anonymous']}-->
  62.                                         <!--{if !$_G['setting']['authoronleft']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a>$authorverifys<!--{/if}-->
  63.                                         <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  64.                                         <!--{if $post['status'] & 8}-->
  65.                                                 <span class="xg1"><!--{if $_G['setting']['mobile']['mobilecomefrom']}-->{$_G['setting']['mobile']['mobilecomefrom']}<!--{else}-->{lang from_mobile}<!--{/if}--></span>
  66.                                         <!--{/if}-->
  67.                                         <!--{if $post['invisible'] == 0}-->
  68.                                                 <!--{if !IS_ROBOT && !$_G['gp_authorid'] && !$_G['forum_thread']['archiveid']}-->
  69.                                                         <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
  70.                                                 <!--{elseif !$_G['forum_thread']['archiveid']}-->
  71.                                                         <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
  72.                                                 <!--{/if}-->
  73.                                         <!--{/if}-->
  74.                                 <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous'] || !$post['authorid'] && !$post['username']}-->
  75.                                         $_G[setting][anonymoustext]
  76.                                         <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  77.                                 <!--{/if}-->
  78.                                 <!--{if !IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
  79.                                         <!--{if $ordertype != 1}-->
  80.                                                 <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&ordertype=1">{lang post_descview}</a>
  81.                                         <!--{else}-->
  82.                                                 <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&ordertype=2">{lang post_ascview}</a>
  83.                                         <!--{/if}-->
  84.                                         <!--{if $thread['authorid'] == $_G['uid']}-->
  85.                                                 <span class="pipe">|</span>
  86.                                                 <!--{if $replynotice == 1}-->
  87.                                                         <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=ignore&tid=$_G[tid]" status="1" onclick="ajaxmenu(this, 3000, 0, 0, '43', function () {replyNotice();});return false;">{lang ignore_replynotice}</a>
  88.                                                 <!--{else}-->
  89.                                                         <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=receive&tid=$_G[tid]" status="0" onclick="ajaxmenu(this, 3000, 0, 0, '43', function () {replyNotice();});return false;">{lang receive_replynotice}</a>
  90.                                                 <!--{/if}-->
  91.                                         <!--{/if}-->
  92.                                 <!--{/if}-->
  93.                                 <!--{hook/viewthread_postheader $postcount}-->
  94.                                 </div>
  95.                         </div>
  96.                 </div>

  97.                 <!--{ad ad_a_pr/thread/a_pr/3/$postcount}-->

  98.                 <div class="pct">
  99.                         <!--{ad/thread/a_pt/2/$postcount}-->
  100.                         <!--{if !$_G['inajax']}-->
  101.                                 <!--{if empty($ad_a_pr_css)}-->
  102.                                         <style type="text/css">.pcb{margin-right:0}</style>
  103.                                         <!--{eval $ad_a_pr_css=1;}-->
  104.                                 <!--{/if}-->
  105.                         <!--{/if}-->

  106.                         <!--{if !$post['first'] && $post['replycredit'] > 0}-->
  107.                                 <div class="cm">
  108.                                         <h3 class="psth xs1">
  109.                                                 {lang replycredit} <span class="xw1 xs2 xi1">+{$post['replycredit']}</span> {$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][unit]}{$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][title]}
  110.                                         </h3>
  111.                                 </div>
  112.                         <!--{/if}-->

  113.                         <!--{subtemplate forum/viewthread_node_body}-->
  114.                 </div>

  115.                 <!--{if $post['first'] && ($post[tags] || $relatedkeywords)}-->
  116.                         <div class="ptg mbm">
  117.                                 <!--{if $post[tags]}-->
  118.                                         <!--{eval $tagi = 0;}-->
  119.                                         <!--{loop $post[tags] $var}-->
  120.                                                 <!--{if $tagi}-->, <!--{/if}--><a title="$var[1]" href="misc.php?mod=tag&id=$var[0]" target="_blank">$var[1]</a>
  121.                                                 <!--{eval $tagi++;}-->
  122.                                         <!--{/loop}-->
  123.                                 <!--{/if}-->
  124.                                 <!--{if $relatedkeywords}--><span>$relatedkeywords</span><!--{/if}-->
  125.                         </div>
  126.                 <!--{/if}-->
  127.         </td></tr>
  128.         <tr><td class="plc plm">
  129.                 <!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
  130.                         <!--{if !empty($lastmod['modaction'])}--><div class="modact"><a href="forum.php?mod=misc&action=viewthreadmod&tid=$_G[tid]" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href)"><!--{if $lastmod['modactiontype'] == 'REB'}-->{lang thread_mod_recommend_by}<!--{else}-->{lang thread_mod_by}<!--{/if}--></a></div><!--{/if}-->

  131.                         <!--{hook/viewthread_modaction}-->

  132.                                 
  133.                         <!--{if $post['invisible'] == 0}-->
  134.                                 <div id="p_btn" class="mtw mbm cl">
  135.                                        

  136. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  137.                            <!--{hook/viewthread_useraction}-->               
  138.                 </div>
  139.                 <!--{/if}-->

  140.                 <!--{/if}-->
  141.                 <!--{if $post['relateitem']}-->
  142.                         <div class="mtw mbw">
  143.                                 <h3 class="pbm mbm bbda">{lang related_thread}</h3>
  144.                                 <ul class="xl xl2 cl">
  145.                                         <!--{loop $post['relateitem'] $var}-->
  146.                                         <li>&#8226; <a href="forum.php?mod=viewthread&tid=$var[tid]" title="$var[subject]" target="_blank">$var[subject]</a></li>
  147.                                         <!--{/loop}-->
  148.                                 </ul>
  149.                         </div>
  150.                 <!--{/if}-->
  151.                 <!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
  152.                         <div class="sign">{lang member_signature_banned}</div>
  153.                 <!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->
  154.                         <div class="sign" style="max-height:{$_G['setting']['maxsigrows']}px;maxHeightIE:{$_G['setting']['maxsigrows']}px;">$post[signature]</div>
  155.   <!--{/if}-->
  156.   <!--{ad/thread/a_pb/1/$postcount}-->
  157.         </td>
  158. </tr>
  159. <!--{if !$_G['forum_thread']['archiveid']}-->
  160. <tr>
  161.         <td class="pls"></td>
  162.         <td class="plc">
  163.                 <div class="po">
  164.                         <!--{if !$post['first'] && $modmenu['post']}-->
  165.                                 <span class="y">
  166.                                 <label for="manage$post[pid]">
  167.                                 <input type="checkbox" id="manage$post[pid]" class="pc" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" autocomplete="off" />
  168.                                 {lang manage}
  169.                                 </label>
  170.                                 </span>
  171.                         <!--{/if}-->
  172.                         <div class="pob cl">
  173.                                 <em>
  174.                                         <!--{if $post['invisible'] == 0}-->
  175.                                                 <!--{if $allowpostreply && $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang comments}</a><!--{/if}-->
  176.                                                 <!--{if (!$_G['uid'] || $allowpostreply) && !$needhiddenreply}-->
  177.                                                         <!--{if $post['first']}-->
  178.                                                                 <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  179.                                                         <!--{else}-->
  180.                                                                 <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  181.                                                         <!--{/if}-->
  182.                                                 <!--{/if}-->
  183.                                         <!--{/if}-->
  184.                                         <!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && ($post['authorid'] == $_G['uid'] && $_G['forum_thread']['closed'] == 0) && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
  185.                                                 <a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
  186.                                         <!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid'] && $_G['setting']['postappend']}-->
  187.                                                 <a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
  188.                                         <!--{/if}-->
  189.                                         <!--{if $post['first'] && $post['invisible'] == -3}-->
  190.                                                 <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
  191.                                         <!--{/if}-->
  192.                                         <!--{if $post['invisible'] == -2 && !$post['first']}-->
  193.                                                 <span class="xg1">({lang moderate_need})</span>
  194.                                         <!--{/if}-->
  195.                                         <!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;" onclick="modaction('recommend', '$_G[forum_firstpid]', 'op=recommend&idtype={if $_G[forum_thread][isgroup]}gtid{else}tid{/if}&id=$_G[tid]&pid=$post[pid]', 'portal.php?mod=portalcp&ac=portalblock')">{lang modmenu_blockrecommend}</a><!--{/if}-->
  196.                                         <!--{hook/viewthread_postfooter $postcount}-->
  197.                                 </em>

  198.                                 <p>
  199.                                         <!--{if $post['invisible'] == 0}-->
  200.                                                 <!--{if $_G['setting']['magicstatus']}-->
  201.                                                         <a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
  202.                                                 <!--{/if}-->

  203.                                                 <!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
  204.                                                         <a href="javascript:;" onclick="setanswer($post['pid'], '$_G[gp_from]')">{lang reward_set_bestanswer}</a>
  205.                                                 <!--{/if}-->

  206.                                                 <!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
  207.                                                         <a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
  208.                                                 <!--{/if}-->

  209.                                                 <!--{if $post['rate'] && $_G['forum']['ismoderator']}-->
  210.                                                         <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
  211.                                                 <!--{/if}-->
  212.                                                 <!--{if $post['authorid'] != $_G['uid']}-->
  213.                                                         <a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
  214.                                                 <!--{/if}-->
  215.                                         <!--{/if}-->
  216.                                 </p>

  217.                                 <!--{if $_G['setting']['magicstatus']}-->
  218.                                         <ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
  219.                                         <!--{if $post['first']}-->
  220.                                                 <!--{if !empty($_G['setting']['magics']['bump'])}-->
  221.                                                         <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
  222.                                                 <!--{/if}-->
  223.                                                 <!--{if !empty($_G['setting']['magics']['stick'])}-->
  224.                                                         <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
  225.                                                 <!--{/if}-->
  226.                                                 <!--{if !empty($_G['setting']['magics']['close'])}-->
  227.                                                         <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
  228.                                                 <!--{/if}-->
  229.                                                 <!--{if !empty($_G['setting']['magics']['open'])}-->
  230.                                                         <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
  231.                                                 <!--{/if}-->
  232.                                                 <!--{if !empty($_G['setting']['magics']['highlight'])}-->
  233.                                                         <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
  234.                                                 <!--{/if}-->
  235.                                                 <!--{if !empty($_G['setting']['magics']['sofa'])}-->
  236.                                                         <li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
  237.                                                 <!--{/if}-->
  238.                                                 <!--{if !empty($_G['setting']['magics']['jack'])}-->
  239.                                                         <li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
  240.                                                 <!--{/if}-->
  241.                                                 <!--{hook/viewthread_magic_thread}-->
  242.                                         <!--{/if}-->
  243.                                         <!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
  244.                                                 <li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['repent']</a></li>
  245.                                         <!--{/if}-->
  246.                                         <!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
  247.                                                 <li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
  248.                                         <!--{/if}-->
  249.                                         <!--{if !empty($_G['setting']['magics']['namepost'])}-->
  250.                                                 <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
  251.                                         <!--{/if}-->
  252.                                         <!--{hook/viewthread_magic_post $postcount}-->
  253.                                         </ul>
  254.                                         <script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
  255.                                 <!--{/if}-->
  256.                         </div>
  257.                 </div>

  258.         </td>
  259. </tr>
  260. <!--{/if}-->
  261. <tr class="ad">
  262.         <td class="pls"></td>
  263.         <td class="plc">
  264.                 <!--{if $post['first'] && $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p}--><!--{/if}-->
  265.                 <!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
  266.                         <ul class="ttp cl">
  267.                                 <li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
  268.                                 <li{if !isset($_G['gp_stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]" hidefocus="true">{lang all}</a></li>
  269.                                 <li{if $_G['gp_stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
  270.                                 <li{if $_G['gp_stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
  271.                                 <li{if isset($_G['gp_stand']) && $_G['gp_stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
  272.                         </ul>
  273.                 <!--{/if}-->
  274.         </td>
  275. </tr>
  276. </table>
  277. <!--{if !empty($aimgs[$post[pid]])}-->
  278. <script type="text/javascript" reload="1">
  279.         aimgcount[{$post[pid]}] = [<!--{echo dimplode($aimgs[$post[pid]]);}-->];
  280.         attachimggroup($post['pid']);
  281.         <!--{if empty($_G['setting']['lazyload'])}-->
  282.                 <!--{if !$post['imagelistthumb']}-->
  283.                         attachimgshow($post[pid]);
  284.                 <!--{else}-->
  285.                         attachimgshow($post[pid], 1);
  286.                 <!--{/if}-->
  287.         <!--{/if}-->
  288.         <!--{if $post['imagelistthumb']}-->
  289.                 attachimglstshow($post['pid'], <!--{echo intval($_G['setting']['lazyload'])}-->);
  290.         <!--{/if}-->
  291. </script>
  292. <!--{/if}-->
  293. <!--{hook/viewthread_endline $postcount}-->
复制代码

本帖子中包含更多资源

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

x
 楼主| 一代0天骄 发表于 2012-11-12 02:47:46 | 显示全部楼层
本帖最后由 一代0天骄 于 2012-11-12 02:54 编辑



   这几个文件之前都是好好的,都是升级前备份的文件,没有动过,升级后又直接覆盖到服务器了。本来我也不懂代码,所以不敢怎么动。直接上传覆盖了。新的模版是“克米设计-免费社区门户风格”,模版做了稍微的修改,不过只是修改了下图标,代码那些都没有动。
回复

使用道具 举报

 楼主| 一代0天骄 发表于 2012-11-12 02:55:13 | 显示全部楼层


急求解决,深夜坐等高手解决!{:soso_e109:}
回复

使用道具 举报

 楼主| 一代0天骄 发表于 2012-11-12 03:00:47 | 显示全部楼层

网站地址:http://www.x5508.net

另外给两个测试帐号:

帐号:len  密码:5435   帐号:99123  密码:5435
回复

使用道具 举报

xiaoyuwxz 发表于 2012-11-12 06:36:00 | 显示全部楼层
那用默认风格,没改文件时测试下呢,来对比下
回复

使用道具 举报

 楼主| 一代0天骄 发表于 2012-11-12 10:58:06 | 显示全部楼层
xiaoyuwxz 发表于 2012-11-12 06:36
那用默认风格,没改文件时测试下呢,来对比下

换了默认模版也不行。
回复

使用道具 举报

xiaoyuwxz 发表于 2012-11-12 11:01:43 | 显示全部楼层
一代0天骄 发表于 2012-11-12 10:58
换了默认模版也不行。

我是说在默认风格下,并且文件没有被改过的情况下,这样来判断是不是与修改了文件有关
回复

使用道具 举报

 楼主| 一代0天骄 发表于 2012-11-12 12:00:21 | 显示全部楼层

    升级后就覆盖了相关文件。而且这些文件都没有手动修改,都是之前的,应该不会有问题。应该是升级导致的吧,我是直接从Discuz! X2.5 Release 20120601升级到Discuz! X2.5 Release 20121101的。
回复

使用道具 举报

 楼主| 一代0天骄 发表于 2012-11-12 15:29:03 | 显示全部楼层
没有人帮忙看下吗?
回复

使用道具 举报

 楼主| 一代0天骄 发表于 2012-11-12 15:48:09 | 显示全部楼层
求助啊
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-3-1 23:09 , Processed in 0.032926 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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