风讯官方论坛

首页 » FoosunCMS交流区 » Foosun3.x安装使用 » [转帖]关于用户点击投稿时无法登录的解决方法
hotla - 2005-4-19 23:09:00

投稿存在这样的小问题, 用户如果没有登录,会转到登录页面,地址如下


http://www.cfedu.net/Users/UserLogin.asp?UrlAddress=http://222.39.111.190/users/News_UserAdd.asp?


这样一来,用户登录的时候会出现找不到该页的错误,解决方法如下


打开Membercheck.asp.找到第六行及第八行,将红字标注的地方换成server_name


if Request.ServerVariables("SERVER_PORT")<>"80" then
Urlm = "http://"&Request.ServerVariables("LOCAL_ADDR")& ":" & Request.ServerVariables("SERVER_PORT")& Request.ServerVariables("URL")&"?"&request.QueryString
else
Urlm = "http://"&Request.ServerVariables("LOCAL_ADDR")& Request.ServerVariables("URL")&"?"&request.QueryString
end if

xtgs - 2005-4-20 22:37:00

请问:Membercheck.asp文件在哪儿?我找半天.


谢谢提供这个BUG的修改方法.

hotla - 2005-4-20 22:38:00
用查找啊!
xtgs - 2005-4-20 22:39:00
找到了,在\Inc下.嘿嘿
1
查看完整版本: [转帖]关于用户点击投稿时无法登录的解决方法