新版8.03免费正式版要本机测试不能登录问题,用aspweb.exe在本机测试登录,不能进入后台,,http://127.0.0.1:99/admin/login.asp后台第一个页面能打开,输入用户名和密码等,点击“管理登录”进入http://127.0.0.1:99/admin/Login.asp?Action=LoginCheck页面时就不能打开页面了,而以前的版本均能用这个软件本机测试,这给不安装IIS的朋友带来很多不便,经过仔细检查,发现是:admin文件下的index.asp这个第11行代码Response.CharSet="gb2312",的问题,将这段代码删除,这行留空,就没问题了。
即:原admin文件下的index.asp首页代码是:
<%@LANGUAGE=" CODEPAGE="936"%>
<%option explicit%>
<!--#include file="../Conn.asp"-->
<!--#include file="../KS_Cls/Kesion.CommonCls.asp"-->
<!--#include file="Include/Session.asp"-->
<%
response.cachecontrol="no-cache"
response.addHeader "pragma","no-cache"
response.expires=-1
response.expiresAbsolute=now-1
Response.CharSet="gb2312"
'****************************************************
' Software name:Kesion CMS 8.0
' Email: service@kesion.com . QQ:111394,9537636
' Web: http://www.kesion.com http://www.kesion.cn
' Copyright (C) Kesion Network All Rights Reserved.
'****************************************************
Dim KSCls
Set KSCls = New Admin_Index
KSCls.Kesion()
Set KSCls = Nothing
Class Admin_Index
Private KS
Private Sub Class_Initialize()
Set KS=New PublicCls
CheckChannelStatus
将这里第11行删空,即改成:
<%@LANGUAGE=" CODEPAGE="936"%>
<%option explicit%>
<!--#include file="../Conn.asp"-->
<!--#include file="../KS_Cls/Kesion.CommonCls.asp"-->
<!--#include file="Include/Session.asp"-->
<%
response.cachecontrol="no-cache"
response.addHeader "pragma","no-cache"
response.expires=-1
response.expiresAbsolute=now-1
'****************************************************
' Software name:Kesion CMS 8.0
' Email: service@kesion.com . QQ:111394,9537636
' Web: http://www.kesion.com http://www.kesion.cn
' Copyright (C) Kesion Network All Rights Reserved.
'****************************************************
Dim KSCls
Set KSCls = New Admin_Index
KSCls.Kesion()
Set KSCls = Nothing
Class Admin_Index
Private KS
Private Sub Class_Initialize()
Set KS=New PublicCls
CheckChannelStatus
这样后台就能进入了。大家试试!不过这样删除后,其他方面是不是会有影响,没有全面测试,请官方给予更改为是。