Microsoft VBScript 运行时错误 '800a01f4'
大家好请帮我看一下点击频道更新时出现Microsoft VBScript 运行时错误 '800a01f4'
变量未定义: 'CreateClassJs'
\sd\Admin_Channel.asp, line 1327
另一个问题创建频道出错,执行查询代码时发现错误,请检查您的查询代码是否正确。Microsoft Jet 数据库引擎找不到输入表或查询 'CreateFiles'。 确定它是否存在,以及它的名称的拼写是否正确。
Select Data From CreateFiles Where ID=1
请大家看看什么意思
<!--#include file="Admin_Const.asp"-->
<!--#include file="../Inc/Function_Article.asp"-->
<!--#include file="../Inc/Function_Soft.asp"-->
<!--#include file="../Inc/Function_Photo.asp"-->
<!--#include file="../Inc/Function_Movie.asp"-->
<%
if Not Cl.TrueOtherPurview("Channel") then
Admin_ShowErr("<br /><li>您无此操作权限!</li>")
end if
dim Action',ChannelID
dim iCount,j
'ChannelType 0为系统,1为内部,2为外部
Action=Trim(request("Action"))
Header
%>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
<tr class="title">
<td height="22" colspan="2" align="center"><strong>网 站 频 道 管 理</strong></td>
</tr>
<tr class="tdbg">
<td width="70" height="30"><strong>管理导航:</strong></td>
<td><a href="Admin_Channel.asp">频道管理首页</a> | <a href="Admin_Channel.asp?Action=Add">添加新频道</a> | <a href="Admin_Channel.asp?Action=OrderID">修改频道排序</a> | <a href="Admin_Channel.asp?Action=SelectStyle">批量选择模板/Css</a></td>
</tr>
</table>
<%
Select Case Action
Case "Add"
call ChannelInfo()
Case "SaveAdd"
call SaveChannelInfo()
Case "Modify"
call ChannelInfo()
Case "SaveModify"
call SaveChannelInfo()
Case "Del"
call DelChannel()
Case "OrderID"
call OrderID()
Case "UpOrder"
call UpOrder()
Case "DownOrder"
call DownOrder()
Case "SelectStyle"
call SelectStyle()
Case "UpdateStyle"
call UpdateStyle()
Case "UpdateStyleAll"
call UpdateStyleAll()
Case "RefreshChannelJs"
call RefreshChannelJs()
Call Cl.OutMsg("恭喜您,所有频道Js刷新成功!","Admin_Channel.asp")
Case "IsShow"
Call IsShow()
Case "CIsShow"
Call CIsShow()
Case "IsDisabled"
Call IsDisabled()
Case "CIsDisabled"
Call CIsDisabled()
Case "OWindow"
Call OWindow()
Case "NWindow"
Call NWindow()
Case "Update"
Call UpdateChannel()
Case else
call main()
end Select
if FoundErr=True then Admin_ShowErr(ErrMsg)
Footer
Sub Main()
Dim SQL
SQL = "select ChannelID,ChannelName,ChannelItemName,ChannelItemUnit,ChannelDir,LinkUrl,OrderID,ChannelType,OpenType,IsShow,IsDisabled,IsCreateHtml,ModuleID from Channel order by OrderID"
Set rs=Cl.Execute(SQL)
%>
<br />
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
<tr class="title">
<td width="50" align="center"><strong>频道ID</strong></td>
<td height="22" align="center" width="80"><strong>频道名称</strong></td>
<td align="center"><strong>目录或链接地址</strong></td>
<td width="60" align="center"><strong>模块</strong></td>
<td width="60" align="center"><strong>显示</strong></td>
<td width="60" align="center"><strong>禁用</strong></td>
<td width="60" height="22" align="center"><strong>打开方式</strong></td>
<td width="50" align="center"><strong>排序ID</strong></td>
<td width="60" align="center"><strong>属性</strong></td>
<td width="100" height="22" align="center"><strong>常规操作</strong></td>
</tr>
<%
if Not (rs.Bof and rs.Eof) then
SQL=rs.GetRows(-1)
For i=0 to Ubound(SQL,2)
%>
<tr class="tdbg" onMouseOut="this.className='tdbg'" onMouseOver="this.className='tdbg2'">
<td width="50" align="center"> <b><%=SQL(0,i)%></b> </td>
<td align="center" width="80"><%=SQL(1,i)%></td>
<td><%
if SQL(7,i)>1 then
response.write Cl.ReplaceDir(SQL(5,i))
else
response.write SQL(4,i)
end if
%></td>
<td width="60" align="center"><%
Select Case SQL(12,i)
Case 1 : response.write "文章"
Case 2 : response.write "下载"
Case 3 : response.write "图片"
Case 4 : response.write "影视"
Case 5 : response.write "商城"
Case 6 : response.write "留言"
Case Else : response.write "未定义"
End Select
%></td>
<td width="60" align="center"><%
if SQL(9,i)=0 then
response.write "<a href='Admin_Channel.asp?Action=IsShow&ChannelID=" & SQL(0,i) & "'><font color=#ff0033>不显示</font></a>"
else
response.write "<a href='Admin_Channel.asp?Action=CIsShow&ChannelID=" & SQL(0,i) & "'><font color=#0000ff>显示</font></a>"
end if
%></td>
<td width="60" align="center"><%
if SQL(10,i)=0 then
response.write "<a href='Admin_Channel.asp?Action=IsDisabled&ChannelID=" & SQL(0,i) & "'><font color=#0000ff>使用</font></a>"
else
response.write "<a href='Admin_Channel.asp?Action=CIsDisabled&ChannelID=" & SQL(0,i) & "'><font color=#ff0033>禁用</font></a>"
end if
%></td>
<td width="60" align="center"><%
if SQL(8,i)=1 then
response.write "<a href='Admin_Channel.asp?Action=OWindow&ChannelID=" & SQL(0,i) & "'><font color=#ff0033>新窗口</font></a>"
else
response.write "<a href='Admin_Channel.asp?Action=NWindow&ChannelID=" & SQL(0,i) & "'><font color=#0000ff>原窗口</font></a>"
end if
%></td>
<td width="50" align="center"> <%=SQL(6,i)%> </td>
<td width="60" align="center">
<%
Select Case SQL(7,i)
Case 0
response.write "<font color=#ff0033>系统</font>"
if SQL(11,i)=1 then response.write "/<font color=blue>Html</font>"
Case 1
response.write "<font color=#006600>内部</font>"
if SQL(11,i)=1 then response.write "/<font color=blue>Html</font>"
Case else
response.write "外部"
end Select
%>