ECShop出错提示lib_base.php on line 1203的解决方法(清空缓存)
作者:蓝星空 日期:2010-03-18
ECShop网站程序出错并提示lib_base.php on line 1203问题的解决方法
今天同事反映网站出问题了,一打开,果然是,出现如下提示:
-----------(中间路径被我用**代替)--------------
Notice: Undefined variable: data in **\includes\lib_base.php on line 1203
Warning: require(**/languages//common.php) [function.require]: failed to open stream: No such file or directory in **\includes\init.php on line 120
Fatal error: require() [function.require]: Failed opening required '**/languages//common.php' (include_path='.;E:/web/') in **\includes\init.php on line 120
-----------------------------------------------------
Tags: ECShop
2010 虎年春节快乐!
作者:蓝星空 日期:2010-02-14
在discuz6.0论坛里删除会员的“删除本贴”功能
作者:蓝星空 日期:2008-03-04
最近在论坛开展抢楼活动,总是有很多会员会捣乱或不小心删除了楼层,导致楼层全部乱掉,为了防止这种情况的发生,但是又需要大家能自己编辑帖子,所以修改了代码,去掉了“删除本贴”的功能。本例也可用于discuz5.5论坛。
下面是详细的修改方法:
打开文件:templates/default/post_editor.htm,下面红色部分是新增加的:
<!--------------------------------删除本贴
<!--{if ($isorigauthor || $forum['ismoderator']) && $isfirstpost && $thread['replies'] < 1}-->
<li><label><input type="checkbox" name="delete" value="1"> <b>{lang post_delpost}</b>
<!--{if $thread['special'] == 3}-->{lang reward_price_back}<!--{/if}--></label></li>
<!--{elseif !$isfirstpost && ($isorigauthor || $forum['ismoderator'])}-->
<li><label><input type="checkbox" name="delete" value="1"> <b>{lang post_delpost}</b></label></li>
<!--{/if}-->
-------------------------------->









