Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 universal login error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

amdgamer
Starting Member

4 Posts

Posted - 23 August 2003 :  00:24:28  Show Profile  Visit amdgamer's Homepage
You are logged on as

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'ChkString'

/amdgamer/login2.asp, line 22
the actual login in part works fine but i get that error. but if you go to the forum you are login.

my code.

<%
strDBNTUserName = Request.Cookies("Snitz00User")("Name")
Response.Write " <table width=""156"" border=""0"" bordercolor=""midnightblue"" cellspacing=""0"" cellpadding=""2"" align=""center"">" & vbNewLine & _
" <tr bgcolor=""blue"">" & vbNewLine & _
" <td valign=""top"" align=""center"" class=""headcell""><font color =""white""><b>-:Forum Login:-</b></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr bgcolor=""black"">" & vbNewLine & _
" <td class=""smalltext"" valign=""top"" align=""center""><font color=""white"">" & vbNewLine
if strDBNTUserName = "" then
Response.Write " <form action=""forum/default_login.asp"" method=""post"" id=""form1"" name=""form1"" a target=""AMDGamer_Forums."">" & vbNewLine & _
" <input type=""hidden"" name=""Method_Type"" value=""login"">" & vbNewLine
Response.Write " <b>Username:</b><br />" & vbNewLine & _
" <input type=""text"" name=""Name"" size=""10"" maxLength=""25"" value=""""><br />" & vbNewLine & _
" <b>Password:</b><br />" & vbNewLine & _
" <input type=""password"" name=""Password"" size=""10"" maxLength=""25"" value=""""><br />" & vbNewLine
Response.Write " <input src=""button_login2.gif"" type=""image"" border=""0"" value=""Login"" id=""submit1"" name=""submit1""><br />" & vbNewLine
Response.Write " <input type=""checkbox"" name=""SavePassWord"" value=""true"" tabindex=""-1"" CHECKED><b> Save Password</b><br />" & vbNewLine
else
Response.Write " <form action=""forum/login.asp"" method=""post"" id=""form2"" name=""form2"">" & vbNewLine & _
" <input type=""hidden"" name=""Method_Type"" value=""logout"">" & vbNewLine & _
" You are logged on as<br />" & vbNewLine
Response.Write "<b>" & ChkString(strDBNTUserName , "display") & "</b><br />" & vbNewLine
Response.Write "<input class=""btn"" type=""submit"" value=""Logout"" id=""submit1"" name=""submit1"" tabindex=""-1""><br />"
if (mlev = 4) or (lcase(strNoCookies) = "1") then
Response.Write " " & vbNewLine & _
" <a href=""forum/admin_home.asp""" & dWStatus("Access the Forum Admin Functions...") & " tabindex=""-1"">Admin Options</a>"
end if
Response.Write " </form>" & vbNewLine
end if
Response.Write "</td></tr></table>" & vbNewLine
%>


thanks

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 23 August 2003 :  01:13:32  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Do you have inc_func_common.asp included in the page?
Also, please use the code tags next time you post code, makes it a lot more readable.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

amdgamer
Starting Member

4 Posts

Posted - 23 August 2003 :  02:13:26  Show Profile  Visit amdgamer's Homepage
woops thanks alot working perfectly now.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07