Author |
Topic |
gpctexas
Junior Member
320 Posts |
Posted - 05 April 2007 : 19:53:09
|
quote: Originally posted by modifichicci
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?
Lemme look into why my pc version is different from web server version< |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
Edited by - gpctexas on 05 April 2007 19:53:32 |
|
|
gpctexas
Junior Member
320 Posts |
|
gpctexas
Junior Member
320 Posts |
Posted - 05 April 2007 : 20:09:33
|
quote: Originally posted by bozan74
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'
Im currently building a debug page for you to gather some information that ipgate uses. DO not change anything with your forum, Im am using current files.< |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
Edited by - gpctexas on 05 April 2007 20:13:06 |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 05 April 2007 : 20:50:23
|
locate sub writethecookie (cookietype, cookiedate) if strIPGateCok = 1 then Response.Cookies(trim(cookiename))=cookietype Response.Cookies(trim(cookiename)).Expires = cookiedate end if
end sub replace with sub writethecookie (cookietype, cookiedate) if mlev >=3 then %> <p>CookieType=<%=cookietype%><br> CookieDate=<%=cookiedate%><br> CookieName=<%=cookiename%><br> </p> <% end if
if strIPGateCok = 1 then Response.Cookies(trim(cookiename))=cookietype Response.Cookies(trim(cookiename)).Expires = cookiedate end if
end sub
When it errors, give me the 3 items on the screen relating to the cookie information.< |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
bozan74
Starting Member
11 Posts |
|
gpctexas
Junior Member
320 Posts |
Posted - 06 April 2007 : 19:54:47
|
The date getting passed to the cookie is not the right format should be Month day, year or it is not like the time at the end of the date.
I will check on a work around < |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
Edited by - gpctexas on 06 April 2007 20:06:36 |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 06 April 2007 : 20:09:50
|
try
in inc_ipgate.asp locate call writethecookie ("Banned", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true)) replace with call writethecookie ("Banned", ChkDate(rs1("IPLIST_ENDDATE"), " " ,false))
locate
call writethecookie ("Watched", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true)) replace with call writethecookie ("Watched", ChkDate(rs1("IPLIST_ENDDATE"), " " ,false))
locate
call writethecookie ("Blocked", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true)) replace with call writethecookie ("Blocked", ChkDate(rs1("IPLIST_ENDDATE"), " " ,false)) < |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
bozan74
Starting Member
11 Posts |
Posted - 07 April 2007 : 04:39:15
|
I've done these change, but the problem remain:
Type mismatch: 'Response.Cookies(...).Expires'
< |
Edited by - bozan74 on 07 April 2007 04:40:03 |
|
|
gpctexas
Junior Member
320 Posts |
|
gpctexas
Junior Member
320 Posts |
Posted - 07 April 2007 : 17:25:42
|
I will eventually find this :) try
in inc_ipgate.asp locate call writethecookie ("Banned", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true)) replace with call writethecookie ("Banned", StrToDate(rs1("IPLIST_ENDDATE")))
locate
call writethecookie ("Watched", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true)) replace with call writethecookie ("Watched", StrToDate(rs1("IPLIST_ENDDATE")))
locate
call writethecookie ("Blocked", ChkDate(rs1("IPLIST_ENDDATE"), " " ,true)) replace with call writethecookie ("Blocked", StrToDate(rs1("IPLIST_ENDDATE"))) < |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
bozan74
Starting Member
11 Posts |
Posted - 08 April 2007 : 04:49:23
|
No more error message!
But, i have a question: when a user connect to the forum, and don't log-in, there is always this message in the top of the homepage:
Message: Your or another persons activity is being logged
Why does it appear? is there a way to make it disappear?< |
Edited by - bozan74 on 08 April 2007 05:38:29 |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 08 April 2007 : 14:52:26
|
Change your cookie name near the top of inc_ipgate.asp and see if it clears up. also while you are there, locate useautoban = 1 change to useautoban = 0 That setting whem set to 1 would generate the message if someone closely match an ip and automatically add them into the db.
Also see if anyone is setup as "watched" in admin_ipgate.asp
If that doesn't work, you can remove the section in inc_ipgate.asp locate case "watched" %> <table border="0" width="100%" id="table1" style="border-collapse: collapse"> <tr> <td align="center" <% if strIPGateCss = 1 then response.write(forumcss) else response.write(forumnocss) end if %>> <% if strIPGateCss = 0 then response.write(fontnocss)%> <b>Message: <%=StrIPGateWarnMsg%></b> <% if strIPGatecCss = 0 then response.write ("</font>") %> </td> </tr> </table> <% and remove it< |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
Edited by - gpctexas on 08 April 2007 14:59:26 |
|
|
Desmomax
New Member
55 Posts |
Posted - 15 April 2007 : 13:39:09
|
Hallo gpctexas! hope you can help me as well... i have installed your IPGate 2.4.3 Beta 2, i received an email from a user that every time he try to enter the result is this error:
Errore di run-time di Microsoft VBScript error '800a000d'
Tipo non corrispondente: '[string: "15, 192.168.200.15, "]'
/myforum/inc_ipgate.asp, line 377
the error line of inc_ipgate is: num = Int(Mid(DottedIP, PrevPos + 1, pos - PrevPos - 1))
Looks like some problem with his Ip , i receive many other visit (around 200 each day) without any problem..
many thanx
Massimiliano < |
Il forum |
Edited by - Desmomax on 15 April 2007 13:41:58 |
|
|
palmdoc
Starting Member
23 Posts |
Posted - 15 April 2008 : 20:58:52
|
Hi has anyone experienced a problem with IPGate whereby Registration activation email does not go out to the user? I notice after installing IPGate that users do not get the email (I tested this myself). Otherwise forum email (subscriptions, lost password) works. < |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 16 April 2008 : 20:09:52
|
make sure you edited config.asp and the inc_header.asp right. Check and make sure you didnt accidently delete varaible etc from config.asp when adding ipgate vars. IPGate does not interfere with any of the email functions< |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
Topic |
|