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

 找回密码
 立即注册
搜索

[已解决] 无法使用DIY,提示“内部错误,无法显示此内容”怎么办?

[复制链接]
paipat 发表于 2010-12-14 16:15:39 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X1.5
浏览器: IE7 IE8 
使用模板: 其他模板(请在回帖中说明模板的名称或者是模板的下载地址)
BUG地址: http://www.myqq.biz
本帖最后由 paipat 于 2010-12-18 11:11 编辑

  最近服务器出现问题,服务器给我搞好了。今天打开网站想编辑DIY,且无法编辑,点击DIY版块出现“内部错误,无法显示此内容”,然后指向有一个网址,怎么办
diybug.jpg

用DIY按钮更新所有。
也出现了
diyup.jpg



  1. <?xml version="1.0" encoding="gbk" ?>

  2. - <root>

  3. - <![CDATA[ <h3 class="flb">
  4. <em id="return_showblock">编辑模块</em>
  5. <span><a href="javascript:;" class="flbc" onclick="hideWindow('showblock');return false;" title="关闭">关闭</a></span>
  6. </h3>
  7. <ul class="tb cl">
  8. <li id="li_setting" class="a"><a href="portal.php?mod=portalcp&amp;ac=block&amp;bid=268&amp;op=block" onclick="showWindow('showblock', this.getAttribute('href'));">模块属性</a></li>
  9. </ul>
  10. <form id="blockformsetting" name="blockformsetting" method="post" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=block&amp;op=block&amp;classname=html_html&amp;bid=268&amp;blocktype=0&amp;eleid=&amp;tpl=portal/index" onsubmit="if(checkblockname(this)){ajaxpost('blockformsetting','return_showblock','return_showblock','onerror');} else {return false;}" class="fdiy">
  11. <div class="c diywin" style="width: 420px; max-height:380px;height:auto !important; height:320px; _padding-right: 0; _margin-right: 17px; overflow-y: auto;">
  12. <div id="block_setting">
  13. <table class="tfm mbm">
  14. <tr>
  15. <th width="80">模块标识</th>
  16. <td><input type="text" name="name" value="网站信息" class="px" /></td>
  17. </tr>
  18. <tr>
  19. <th width="80">模块分类</th>
  20. <td>静态模块</td>
  21. </tr>
  22. <tr>
  23. <th width="80">数据来源</th>
  24. <td>
  25. <select name="script" onchange="block_get_setting('html_html', this.value, '268');" class="ps"><option value="adv">站点广告</option>
  26. <option value="banner">图片横幅</option>
  27. <option value="blank">自定义HTML</option>
  28. <option value="forumtree">版块列表</option>
  29. <option value="friendlink">友情链接</option>
  30. <option value="google">GOOGLE</option>
  31. <option value="line">分割线</option>
  32. <option value="sort">分类信息</option>
  33. <option value="stat" selected>数据统计</option>
  34. <option value="vedio">网络视频</option>
  35. </select>
  36. </td>
  37. </tr>
  38. <tr class="l">
  39. <th></th>
  40. <td>
  41. <a id="a_setting_show" href="javascript:;" onclick="toggleSettingShow();"class="xi2">收起设置项</a>
  42. </td>
  43. </tr>
  44. <tbody id="tbody_setting"><tr class="vt">
  45. <th>统计选项</th>
  46. <td><ul class="nofloat"><li class="checked"><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_1" value="posts" checked>&nbsp;<label for="randomid_1">发贴总数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_2" value="groups">&nbsp;<label for="randomid_2">群组总数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_3" value="members">&nbsp;<label for="randomid_3">会员总数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_4" value="groupmembers">&nbsp;<label for="randomid_4">群组成员数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_5" value="groupnewposts">&nbsp;<label for="randomid_5">群组今日发帖</label></li><li class="checked"><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_6" value="bbsnewposts" checked>&nbsp;<label for="randomid_6">广场今日发贴数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_7" value="bbslastposts">&nbsp;<label for="randomid_7">广场昨日发贴数</label></li><li class="checked"><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_8" value="onlinemembers" checked>&nbsp;<label for="randomid_8">当前在线会员数</label></li><li class="checked"><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_9" value="maxmembers" checked>&nbsp;<label for="randomid_9">历史最高在线会员数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_10" value="doings">&nbsp;<label for="randomid_10">动态数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_11" value="blogs">&nbsp;<label for="randomid_11">日志数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_12" value="albums">&nbsp;<label for="randomid_12">相册数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_13" value="pics">&nbsp;<label for="randomid_13">图片数</label></li><li><input class="pc" type="checkbox" name="parameter[option][]" id="randomid_14" value="shares">&nbsp;<label for="randomid_14">分享数</label></li></ul></td>
  47. </tr>
  48. <tr class="vt">
  49. <th>显示名称</th>
  50. <td>你可以编辑以下对应项来自定义各统计项的显示名称</td>
  51. </tr>
  52. <tr class="vt">
  53. <th>发贴总数</th>
  54. <td><input name="parameter[posts_title]" value="发表" type="text" class="px" /></td>
  55. </tr>
  56. <tr class="vt">
  57. <th>群组总数</th>
  58. <td><input name="parameter[groups_title]" value="群组" type="text" class="px" /></td>
  59. </tr>
  60. <tr class="vt">
  61. <th>会员总数</th>
  62. <td><input name="parameter[members_title]" value="会员" type="text" class="px" /></td>
  63. </tr>
  64. <tr class="vt">
  65. <th>群组成员数</th>
  66. <td><input name="parameter[groupmembers_title]" value="成员加入群组" type="text" class="px" /></td>
  67. </tr>
  68. <tr class="vt">
  69. <th>群组今日发帖</th>
  70. <td><input name="parameter[groupnewposts_title]" value="今日发帖" type="text" class="px" /></td>
  71. </tr>
  72. <tr class="vt">
  73. <th>广场今日发贴数</th>
  74. <td><input name="parameter[bbsnewposts_title]" value="最新" type="text" class="px" /></td>
  75. </tr>
  76. <tr class="vt">
  77. <th>广场昨日发贴数</th>
  78. <td><input name="parameter[bbslastposts_title]" value="昨日发帖" type="text" class="px" /></td>
  79. </tr>
  80. <tr class="vt">
  81. <th>当前在线会员数</th>
  82. <td><input name="parameter[onlinemembers_title]" value="在线" type="text" class="px" /></td>
  83. </tr>
  84. <tr class="vt">
  85. <th>历史最高在线会员数</th>
  86. <td><input name="parameter[maxmembers_title]" value="历史" type="text" class="px" /></td>
  87. </tr>
  88. <tr class="vt">
  89. <th>动态数</th>
  90. <td><input name="parameter[doings_title]" value="动态" type="text" class="px" /></td>
  91. </tr>
  92. <tr class="vt">
  93. <th>日志数</th>
  94. <td><input name="parameter[blogs_title]" value="日志" type="text" class="px" /></td>
  95. </tr>
  96. <tr class="vt">
  97. <th>相册数</th>
  98. <td><input name="parameter[albums_title]" value="相册" type="text" class="px" /></td>
  99. </tr>
  100. <tr class="vt">
  101. <th>图片数</th>
  102. <td><input name="parameter[pics_title]" value="图片" type="text" class="px" /></td>
  103. </tr>
  104. <tr class="vt">
  105. <th>分享数</th>
  106. <td><input name="parameter[shares_title]" value="分享" type="text" class="px" /></td>
  107. </tr>
  108. <tr>
  109. <th width="80">数据缓存更新</th>
  110. <td>
  111. <input type="text" name="cachetime" id="txt_cachetime" class="px" size="4" maxlength="6" value="1" /> 分钟
  112. &nbsp;
  113. <input type="checkbox" name="punctualupdate" id="ckpunctualupdate" class="pc" value="1" checked="checked" />
  114. <label for="ckpunctualupdate">准时更新</label>
  115. <img src="static/image/common/faq.gif" alt="Tip" class="vm" style="margin: 0;" onmouseover="showTip(this)" tip="为了减轻系统负载,系统设定为同一时间最多只更新一个模块;勾选此项可以忽略此优化,保证模块按指定缓存时间及时更新(警告:这会严重加重系统负载!不要同一页面内设置大量“准时更新”模块!)" />
  116. <p class="ptn xi2">
  117. <a href="javascript:;" onclick="blockSetCacheTime(10);this.blur();">10分钟</a>&nbsp;
  118. <a href="javascript:;" onclick="blockSetCacheTime('60');this.blur();">1小时</a>&nbsp;
  119. <a href="javascript:;" onclick="blockSetCacheTime('1440');this.blur();">1天</a>&nbsp;
  120. <a href="javascript:;" onclick="blockSetCacheTime('10080');this.blur();">1周</a>&nbsp;
  121. <a href="javascript:;" onclick="blockSetCacheTime('43200');this.blur();">1月</a>&nbsp;
  122. <a href="javascript:;" onclick="blockSetCacheTime('0');this.blur();">不更新</a>
  123. </p>
  124. </td>
  125. </tr>

  126. </tbody>
  127. <tbody id="tbody_thumbsetting">
  128. </tbody>
  129. </table>
  130. </div>
  131. </div>
  132. <div class="o pns">
  133. <input type="hidden" name="blocksubmit" value="true" />
  134. <input type="hidden" name="handlekey" value="showblock" />
  135. <input type="hidden" name="eleid" value="" />
  136. <input type="hidden" name="formhash" value="f4f320de" />
  137. <button type="submit" class="pn pnc"><strong>确定</strong></button>
  138. </div>
  139. </form>
  140. <script type="text/javascript" reload="1">
  141. function succeedhandle_showblock (url, message, values) {                        
  142. var bid = values['bid'];
  143. var eleid = typeof values['eleid'] == 'undefined' ? 0 : values['eleid'];
  144. var x = new Ajax();
  145. var openTitle = 0;
  146. drag.setClose();
  147. x.get('portal.php?mod=portalcp&ac=block&op=getblock&bid='+bid+'&tpl=portal/index&inajax=1', function(s) {
  148. var obj = document.createElement('div');
  149. bid = 'portal_block_'+bid;
  150. obj.innerHTML = s;
  151. if ($(bid) != null) {
  152. drag.stopSlide(bid);
  153. if($(bid+'_content')) $(bid+'_content').parentNode.removeChild($(bid+'_content'));
  154. $(bid).innerHTML = obj.childNodes[0].innerHTML;
  155. } else {
  156. $(eleid).parentNode.replaceChild(obj.childNodes[0],$(eleid));
  157. openTitle = 1;
  158. }
  159. drag.initPosition();
  160. evalscript(s);
  161. if (openTitle == 1)        drag.openTitleEdit(bid);
  162. });
  163. hideWindow('showblock');
  164. }
  165. </script>
  166.   ]]>
  167. f(clean);

  168.   </root>
复制代码

打开之后,显示上面代码,我看不懂啊。怎么办

注册、登陆、发帖、DIY等都 会出现啊。官方能不出来帮忙一下啊

回复

使用道具 举报

尘缘太极 发表于 2010-12-14 16:46:54 | 显示全部楼层
后台
优化设置
静态那部分,关闭个人动态推送的静态
回复

使用道具 举报

 楼主| paipat 发表于 2010-12-18 10:58:53 | 显示全部楼层
本帖最后由 paipat 于 2010-12-18 10:59 编辑

回复 尘缘太极 的帖子

homebug.jpg

是不是这样子啊。怎么办啊?
我这样子设置了,还是不行啊。
回复

使用道具 举报

 楼主| paipat 发表于 2010-12-18 11:00:11 | 显示全部楼层
救命啊。这个问题有几天了。发帖子、DIY、发表心情等都出现。怎么办啊。
回复

使用道具 举报

suxiaojack 发表于 2010-12-19 14:40:33 | 显示全部楼层
我和你遇到同样的问题,DIY,心情,发帖子,都会出错。数据有的成功更改了要手动刷新才反应出来,有的根本就没有成功。不知道怎么回事情呢?
回复

使用道具 举报

suxiaojack 发表于 2010-12-19 14:47:06 | 显示全部楼层
网站的开发,修改,框架还不够爽啊,要是做成WIKI式的可以完全在线编辑就好了,省得很多事情。但是现在的在线编辑一点也不稳定啊。我用的IE9
回复

使用道具 举报

gk2046 发表于 2010-12-23 00:19:20 | 显示全部楼层
同问啊
回复

使用道具 举报

cr180 发表于 2010-12-25 17:19:33 | 显示全部楼层
https://discuz.dismall.com/thread-1670834-1-1.html
参考第二十七条解决下看看 如果不行的话那就是服务器不支持一些组件 具体问了官方的人也是无果
回复

使用道具 举报

 楼主| paipat 发表于 2010-12-26 00:58:42 | 显示全部楼层
回复 cr180 的帖子

谢谢,我等了几天,最后我重装了。
回复

使用道具 举报

nbeing 发表于 2011-1-17 17:36:29 | 显示全部楼层
可能是服务器不支持把····
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-6 23:04 , Processed in 0.115376 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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