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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 IPGate 2.4.3 beta and 2.3
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 11

gpctexas
Junior Member

320 Posts

Posted - 07 December 2006 :  12:24:24  Show Profile  Visit gpctexas's Homepage  Reply with Quote
That change may cause a prob when you turn off auto cleaning as it will fail the check and bypass the code. I will look at the code later on.<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

billson
Starting Member

3 Posts

Posted - 05 February 2007 :  08:44:40  Show Profile  Reply with Quote
I got the same error in the red line, when I use http://www.google.com/language_tools to translate my forum.

Function Dot2LongIP (ByVal DottedIP)
Dim i, pos
Dim PrevPos, num
If DottedIP = "" Then
Dot2LongIP = 0
Else
For i = 1 To 4
pos = InStr(PrevPos + 1, DottedIP, ".", 1)
If i = 4 Then
pos = Len(DottedIP) + 1
End If
num = Int(Mid(DottedIP, PrevPos + 1, pos - PrevPos - 1))
PrevPos = pos
Dot2LongIP = ((num Mod 256) * (256 ^ (4 - i))) + Dot2LongIP
Next
End If
End Function

Ooops. forget to show the error message

Error Message :
Microsoft VBScript runtime
/forum/inc_ipgate.asp
Type mismatch: '[string: "132, unknown"]'<

Edited by - billson on 05 February 2007 08:47:44
Go to Top of Page

bozan74
Starting Member

11 Posts

Posted - 02 April 2007 :  05:17:18  Show Profile  Reply with Quote
Hi, I have the same error of Ken Derringer:

When i try to activate the cookies option to ON, i receive this error:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'Response.Cookies(...).Expires'

/forumgdr/inc_ipgate.asp, line 192

I use access DB. I'm from Italy.

Can you fix this? I think that it is a problem of date...<
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 02 April 2007 :  18:47:42  Show Profile  Visit gpctexas's Homepage  Reply with Quote
quote:
Originally posted by bozan74

Hi, I have the same error of Ken Derringer:

When i try to activate the cookies option to ON, i receive this error:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'Response.Cookies(...).Expires'

/forumgdr/inc_ipgate.asp, line 192

I use access DB. I'm from Italy.

Can you fix this? I think that it is a problem of date...



You may have an issue with the date. Are you using any mod that change the behavior of the forum date and time?<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

bozan74
Starting Member

11 Posts

Posted - 03 April 2007 :  04:07:40  Show Profile  Reply with Quote
quote:
Originally posted by gpctexas

quote:
Originally posted by bozan74

Hi, I have the same error of Ken Derringer:

When i try to activate the cookies option to ON, i receive this error:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'Response.Cookies(...).Expires'

/forumgdr/inc_ipgate.asp, line 192

I use access DB. I'm from Italy.

Can you fix this? I think that it is a problem of date...



You may have an issue with the date. Are you using any mod that change the behavior of the forum date and time?



No, I have theese mod installed:

- Active Users 4.0
- Add Default Smiles
- TMP J's Header Cell Image MOD 3.4
- NET IPGate Mod 2.4
- Smile Manager Plus
- Zuel's Avatar Addon

The message appear only to a banned or watched user, when i set 'ban' or 'watch' in the control panel. I think it's a problem of date; it's strange because the date in the forum works great, without any problem...

My forum is here: www.gamesark.it/forum

My ASP file are here: http://bozan.interfree.it/asp_file.zip

Thanks ;)<

Edited by - bozan74 on 03 April 2007 04:11:57
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 03 April 2007 :  10:32:16  Show Profile  Visit gpctexas's Homepage  Reply with Quote
This issue has poped up a couple time before, but I've never been able to reproduce the error. I'll Look at your files and see if everything is ok.


Can you give me a print screen of your admin Ban User page. I need to see how the date is being displayed in the start and end date.<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip

Edited by - gpctexas on 03 April 2007 10:43:06
Go to Top of Page

bozan74
Starting Member

11 Posts

Posted - 03 April 2007 :  18:22:09  Show Profile  Reply with Quote
Ok, this is the screenshot:

<
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 03 April 2007 :  18:51:58  Show Profile  Visit gpctexas's Homepage  Reply with Quote
You appear to be running 2.4.3, but your config appears to not be updated for it based on files in your zip.

under alternate mod setup
copy paste these new variables

[INSERT]
CONFIG_NEW
(C_VARIABLE,C_VALUE)#('STRIPGATESHOWRECS','25')
(C_VARIABLE,C_VALUE)#('STRIPGATEAUTOCLEAN','0')
[END]


edit config.asp

locate

Dim StrIPGateBan ,StrIPGateLck ,StrIPGateCok ,StrIPGateMet ,StrIPGateMsg ,StrIPGateLog ,StrIPGateTyp ,StrIPGateExp, StrIPGateCss, strIPGateVer, StrIPGateLkMsg, strIPGateNoAcMsg, StrIPGateWarnMsg

add , strIPGateshowrecs, strIPGateAutoClean

to make
Dim StrIPGateBan ,StrIPGateLck ,StrIPGateCok ,StrIPGateMet ,StrIPGateMsg ,StrIPGateLog ,StrIPGateTyp ,StrIPGateExp, StrIPGateCss, strIPGateVer, StrIPGateLkMsg, strIPGateNoAcMsg, StrIPGateWarnMsg, strIPGateshowrecs, strIPGateAutoClean


locate

StrIPGateWarnMsg = Application(strCookieURL & "STRIPGATEWARNMSG")

add after that

strIPGateshowrecs = Application(strCookieURL & "STRIPGATESHOWRECS")
strIPGateAutoClean = Application(strCookieURL & "STRIPGATEAUTOCLEAN")


login into ipgate admin and goto settings, select the number of records to show per page and save.<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip

Edited by - gpctexas on 03 April 2007 18:57:43
Go to Top of Page

bozan74
Starting Member

11 Posts

Posted - 04 April 2007 :  06:12:00  Show Profile  Reply with Quote
I've done all the change, except this:

"login into ipgate admin and goto settings, select the number of records to show per page and save"

Can you explain me this last one better?

Anyway, I've tried it (without this last change) and the problem remain the same:

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'Response.Cookies(...).Expires'
/forum/inc_ipgate.asp, line 246


(this display on watched/banned user's PC)<

Edited by - bozan74 on 04 April 2007 06:13:22
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 04 April 2007 :  14:16:23  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Where is used the variable strIPGateAutoClean ? I cannot find it in admin_ipgate or inc_ipgate...<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 04 April 2007 :  22:53:10  Show Profile  Visit gpctexas's Homepage  Reply with Quote
autoclean is used in inc_ipgate.asp in 2.4.3 in this statement:
Set rs = Server.CreateObject("ADODB.Recordset")
autorange = datetostr(dateAdd("d",-strIPGateAutoClean,strForumTimeAdjust))
StrSql = "DELETE FROM " & strTablePrefix & "IPLOG WHERE IPLOG_DATE < '" & autorange & "'"
rs.Open StrSql, strConnString
if rs.State = 1 then rs.Close<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 04 April 2007 :  22:54:13  Show Profile  Visit gpctexas's Homepage  Reply with Quote
quote:
Originally posted by bozan74

I've done all the change, except this:

"login into ipgate admin and goto settings, select the number of records to show per page and save"

Can you explain me this last one better?

Anyway, I've tried it (without this last change) and the problem remain the same:

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'Response.Cookies(...).Expires'
/forum/inc_ipgate.asp, line 246


(this display on watched/banned user's PC)



There is a setting in admin_ipgate.asp that sets the number of records to display for the logs<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

gpctexas
Junior Member

320 Posts

Posted - 04 April 2007 :  23:17:54  Show Profile  Visit gpctexas's Homepage  Reply with Quote
This is the function in question with the error happening with Response.Cookies(trim(cookiename)).Expires = cookiedate
with the cookiedate causing the error

sub writethecookie (cookietype, cookiedate)
if strIPGateCok = 1 then
Response.Cookies(trim(cookiename))=cookietype
Response.Cookies(trim(cookiename)).Expires = cookiedate
end if

end sub


I have no way to test, but please try to change in inc_ipgate.asp
Response.Cookies(trim(cookiename)).Expires = cookiedate

to

Response.Cookies(trim(cookiename)).Expires = chkString(cookiedate,"SQLString")
<

ipgate 2.4.4 RC3
http://www.gpctexas.net/ipgate_v244.zip
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 05 April 2007 :  14:37:56  Show Profile  Visit modifichicci's Homepage  Reply with Quote
quote:
autoclean is used in inc_ipgate.asp in 2.4.3 in this statement:


I cannot see the statment in inc_ipgate in the zip in your sig..
Nor in my files.. Is that in a more recent version? Or my files are wrong?<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

bozan74
Starting Member

11 Posts

Posted - 05 April 2007 :  15:25:50  Show Profile  Reply with Quote
quote:
Originally posted by gpctexas

This is the function in question with the error happening with Response.Cookies(trim(cookiename)).Expires = cookiedate
with the cookiedate causing the error

sub writethecookie (cookietype, cookiedate)
if strIPGateCok = 1 then
Response.Cookies(trim(cookiename))=cookietype
Response.Cookies(trim(cookiename)).Expires = cookiedate
end if

end sub


I have no way to test, but please try to change in inc_ipgate.asp
Response.Cookies(trim(cookiename)).Expires = cookiedate

to

Response.Cookies(trim(cookiename)).Expires = chkString(cookiedate,"SQLString")




Uhm... I've made the change, but the result is always the same:

Type mismatch: 'Response.Cookies(...).Expires'

<
Go to Top of Page
Page: of 11 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07