nestling81 发表于 2009-4-21 01:49:09

紧急求救:发布时候您所在的用户组(游客)无法进行此操

具体是
if(typeof messagehandle_newthread =='function') {messagehandle_newthread('NOPERM', '您所在的用户组(游客)无法进行此操作。');} ]]>

我baidu 查了好多,好多人说是:论坛cookie生存期很短
我想问问这个生存期是怎么改的,是修改我用的电脑,还是修改服务器,
要是修改服务器了,都需要修改那些文件

谢谢了,那个大哥大姐给我说说

nestling81 发表于 2009-4-21 08:44:08

我这回登陆测试,cookie值自动获取是kxS_cookietime=2592000
那个大哥大姐给我说说啊!

nestling81 发表于 2009-4-21 09:08:20

这个是具体的代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>版块 1.3 -海角论坛- Powered by Discuz!</title>
<meta name="keywords" content="" />
<meta name="description" content=" 海角论坛- Discuz! Board" />
<meta name="generator" content="Discuz! 7.0.0" />
<meta name="author" content="Discuz! Team and Comsenz UI Team" />
<meta name="copyright" content="2001-2009 Comsenz Inc." />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<link rel="archives" title="海角论坛" href="http://bbs.zhuiy.com/archiver/" />
<style type="text/css">
@import url(forumdata/cache/style_1_common.css?TOh);
* html .content { height: auto !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 0; }
* html .nojs .sim_upfile .sitenote { bottom: 161px; }
* html .nojs .sim_upfile .upfile_special { bottom: 301px; }
* html .nojs .sim_upfile .upfile { bottom: 356px; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; left: 0; width: auto; }
#floatwinnojs { position: static; }
.nojs .floatboxswf { width: 600px !important; }
.nojs .floatboxswf div { margin: 0 0 10px 11px; }
.nojs .floatbox1 { width: 100%; height: auto; }
#custominfoarea { right: 10px; left: auto; }
.nojs .specialinfo, .nojs .upfilelist { overflow-y: visible; height: auto !important; }
.popupmenu_popup, #e_popup_smilies_menu { *margin-top: 22px; }
* html .popupmenu_popup li { clear: both; float: left; }
* html .fontstyle_menu { overflow: hidden; width: 35px; }
* html .fontstyle_menu ul { width: 70px; }
* html .fontname_menu li { float: none; }
</style><script type="text/javascript">var STYLEID = '1', IMGDIR = 'images/default', VERHASH = 'TOh', charset = 'gbk', discuz_uid = 0, cookiedomain = '', cookiepath = '/', attackevasive = '0', allowfloatwin = '1', creditnotice = '1|威望|,2|金钱|', gid = 0, fid = parseInt('0'), tid = parseInt('0')</script>
<script src="include/js/common.js?TOh" type="text/javascript"></script>
</head>

<body id="post" onkeydown="if(event.keyCode==27) return false;">

<div id="append_parent"></div><div id="ajaxwaitid"></div>
<div id="header">
<div class="wrap s_clear">
<h2><a href="index.php" title="海角论坛"><img src="images/default/logo.gif" alt="Discuz! Board" border="0" /></a></h2>
<div id="umenu">
<a href="register.php" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder">注册</a>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">登录</a>
</div>
<div id="ad_headerbanner"></div>
<div id="menu">
<ul>
<li class="menu_1"><a href="index.php" hidefocus="true" id="mn_index">论坛</a></li><li class="menu_2"><a href="search.php" hidefocus="true" id="mn_search">搜索</a></li><li class="menu_4"><a href="faq.php" hidefocus="true" id="mn_faq">帮助</a></li><li class="menu_5"><a href="misc.php?action=nav" hidefocus="true" onclick="floatwin('open_nav', this.href, 600, 410);return false;">导航</a></li></ul>
<script type="text/javascript">
var currentMenu = $('mn_') ? $('mn_') : $('mn_index');
currentMenu.parentNode.className = 'current';
</script>                               
</div>
</div>
</div>
<div id="nav"><a href="index.php">海角论坛</a> &raquo; 提示信息</div>

<div id="wrap" class="wrap s_clear">
<div class="msgfix">
<div class="showmessage">
<h1>海角论坛 提示信息</h1>
<p>您无权进行当前操作,这可能因以下原因之一造成</p>

<p><b>您所在的用户组(游客)无法进行此操作。</b></p><div style="padding-top: 10px;">
<hr class="shadowline" />
<form method="post" name="login" id="loginform" class="gateform" onsubmit="pwdclear = 1;" action="logging.php?action=login&amp;loginsubmit=yes">
<input type="hidden" name="formhash" value="ee8c7c00" />
<table cellspacing="0" cellpadding="0" class="formtable">
<tr>
<th>
<select name="loginfield" id="loginfield">
<option value="username">用户名</option>
<option value="uid">UID</option>
</select>
</th>
<td><input type="text" name="username" autocomplete="off" size="36" class="txt" tabindex="1" value="" /></td>
</tr>
<tr>
<th><label for="password3">密码</label></th>
<td><input type="password" id="password3" name="password" onkeypress="detectcapslock(event, this)" size="36" class="txt" tabindex="2" /></td>
</tr>
<tr>
<th><label for="questionid">安全提问</label></th>
<td>
<select id="questionid" name="questionid" tabindex="3">
<option value="0">安全提问</option>
<option value="1">母亲的名字</option>
<option value="2">爷爷的名字</option>
<option value="3">父亲出生的城市</option>
<option value="4">您其中一位老师的名字</option>
<option value="5">您个人计算机的型号</option>
<option value="6">您最喜欢的餐馆名称</option>
<option value="7">驾驶执照的最后四位数字</option>
</select>
</td>
</tr>
<tr>
<th><label for="answer">回答</label></th>
<td><input type="text" name="answer" id="answer" autocomplete="off" size="36" class="txt" tabindex="4" /></td>
</tr>
<tr>
<th>&nbsp;</th>
<td>
<a class="right" href="register.php" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;">注册</a>
<button class="submit" type="submit" name="loginsubmit" value="true" tabindex="6">登录</button>
<input type="checkbox" class="checkbox" name="cookietime" id="cookietime" tabindex="5" value="2592000"/> <label for="cookietime">记住我的登录状态</label>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
</div><div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div>

<div id="footer">
<div class="wrap s_clear">
<div id="footlink">
<p>
<strong><a href="http://bbs.zhuiy.com/" target="_blank">海角论坛</a></strong>
( <a href="http://www.miibeian.gov.cn/" target="_blank">豫ICP备08001670号</a>)<span class="pipe">|</span><a href="mailto:pdshzhxu@163.com">联系我们</a>
<span class="pipe">|</span><a href="stats.php">论坛统计</a></p>
<p class="smalltext">
GMT+8, 2009-4-21 09:04.
</p>
</div>
<div id="rightinfo">
<p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em>7.0.0</em></p>
<p class="smalltext">&copy; 2001-2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p>
</div></div>
</div>
</body>
</html>

rq204 发表于 2009-4-21 09:49:58

你可以参考以下资料 http://wiki.locoy.com/doc-view-44
页: [1]
查看完整版本: 紧急求救:发布时候您所在的用户组(游客)无法进行此操