pyj88 发表于 2011-5-31 08:24:37

请问各位哥哥姐姐 发布模块测试结果是未经授权 怎么办

远程服务器返回错误: (401) 未经授权。

待进行错误分析的返回头:
HTTP/1.1 401 Unauthorized
Transfer-Encoding:chunked
Connection:close
Content-Type:text/html
Date:Tue, 31 May 2011 00:20:55 GMT
Set-Cookie:SHOPEX_SID=4ea2cc3c7f16a2a1bbe63259dc9d8fd6
Server:nginx/0.8.16
X-Powered-By:PHP/5.2.9
Content-Length:0

rq204 发表于 2011-5-31 09:56:15

这种应是您没有登陆网站,请先设置网站登陆

pyj88 发表于 2011-5-31 21:14:02

设置设置网站登陆后返回
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>ShopEx网上商店系统</title> <link rel="shortcut icon" href="../favicon.gif" type="image/gif" /> <link href="images/png.css" rel="stylesheet" type="text/css" /> <link href="images/login.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="content"> <h1 class="png">欢迎使用ShopEx网上商店系统</h1><div class="button"><div class="noauthorize"><a href="http://service.shopex.cn/info.php?sess_id=f92cfbaad9249677a2e25cfbf8fdc624&certi_id=1635396038&version=4.8.5%2355324&confirmkey=dab0f74ffb2cca9ce41e11c92c8937bf&_key_=do&state=no" target="_blank" title="1635396038">未授权用户</a></div></div><div class="body"> <form name="form1" action="index.php?ctl=passport&act=dologin" method="post" class="formstyle"><ul> <li> <input id="usrname" type="text" name="usrname" class="inputstyle" maxlength="50" autocomplete="off" value="请输入用户名" onfocus="if(this.value=='请输入用户名') this.value='';this.className='inputstylefocus';return true;" onblur="if(this.value=='') this.value='请输入用户名';this.className='inputstyle';return true;" > </li> <li> <input id="password" type="password" name="passwd" class="inputstyle" maxlength="20" value="+_-_-_+" onfocus="if(this.value=='+_-_-_+') this.value='';this.className='inputstylefocus';return true;" onblur="if(this.value=='') this.value='+_-_-_+';this.className='inputstyle';return true;" > </li> <li style="position:relative"><input class="inputstyle" autocomplete="off" size=8 name="verifycode" id="verifycode" value="请输入验证码" onfocus="if(this.value=='请输入验证码') this.value=''; this.className='inputstylefocus';return true;" onblur="if(this.value=='') this.value='请输入验证码'; this.className='inputstyle';return true;" > &nbsp; <img src="index.php?ctl=passport&act=verifycode&1306847503" align="top" class="verifycodeimg"></li>记住用户名:<input type="checkbox" name="save_login_name" checked> <li class="btn png"> <input name="login" type="submit" class="loginbtn" value=" " onmousedown="this.className='loginbtnfocus';return true;" > </li> </ul> </form> </div> <div class="foot"></div> </div> </body> </html>
还是不行啊

303718 发表于 2011-5-31 21:49:12

这应该就是COOKIE获取不正确.

如果确定COOKIE正确了那就是发布模块不行了.

pyj88 发表于 2011-6-1 00:00:44

可以登陆了但是测试返回
<div class="error splash clearfix textcenter" id='failedSplash'> <h4>保存失败,请重试!</h4> <p><a id="splash-1306857442" href="index.php?ctl=goods/product&act=index" > 3秒后系统会自动跳转,也可点击本处</a> </p></div> <script>
   top.Splash.go("index.php?ctl=goods/product&act=index",3*1000,{method:'post',data:'a=b'});
</script>
页: [1]
查看完整版本: 请问各位哥哥姐姐 发布模块测试结果是未经授权 怎么办