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 DEV-Group
 DEV Bug Reports (Closed)
 UpdateID ?
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Etymon
Advanced Member

United States
2385 Posts

Posted - 04 June 2007 :  13:02:39  Show Profile  Visit Etymon's Homepage
There seems to be a typographical error in password.asp

It seems that UpdateID should be UpdateIt ... I can't find any other references in the code for UpdateID. Just a heads up.

Searching for: UpdateID

Snitz Forums 2000 Version 3.4.06\password.asp(54):
elseif trim(Request.QueryString("pwkey")) <> "" and Request.Form("mode") <> "UpdateID" then

Snitz Forums 2000 Version 3.4.05\password.asp(54):
elseif Request.QueryString("pwkey") <> "" and Request.Form("mode") <> "UpdateID" then

Snitz Forums 2000 Version 3.4.04\password.asp(54):
elseif Request.QueryString("pwkey") <> "" and Request.Form("mode") <> "UpdateID" then

Snitz Forums 2000 Version 3.4.03\password.asp(58):
elseif Request.QueryString("pwkey") <> "" and Request.Form("mode") <> "UpdateID" then

Snitz Forums 2000 Version 3.4.02\password.asp(58):
elseif Request.QueryString("pwkey") <> "" and Request.Form("mode") <> "UpdateID" then

Snitz Forums 2000 Version 3.4.01\password.asp(58):
elseif Request.QueryString("pwkey") <> "" and Request.Form("mode") <> "UpdateID" then

Snitz Forums 2000 Version 3.4\password.asp(58):
elseif Request.QueryString("pwkey") <> "" and Request.Form("mode") <> "UpdateID" then

Found 7 occurrence(s) in 7 file(s)<

Edited by - AnonJr on 17 March 2009 19:25:13

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 04 June 2007 :  14:35:07  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
This is correct, this should be UpdateIt.

The fix is simple:
Change lines 52-55 in password.asp
if Request.Form("mode") <> "DoIt" and Request.Form("mode") <> "UpdateIt" and trim(Request.QueryString("pwkey")) = "" then
	call ShowForm
elseif trim(Request.QueryString("pwkey")) <> "" and Request.Form("mode") <> "UpdateID" then
	key = chkString(Request.QueryString("pwkey"),"SQLString")

to
if Request.Form("mode") <> "DoIt" and Request.Form("mode") <> "UpdateIt" and trim(Request.QueryString("pwkey")) = "" then
	call ShowForm
elseif trim(Request.QueryString("pwkey")) <> "" and Request.Form("mode") <> "UpdateIt" then
	key = chkString(Request.QueryString("pwkey"),"SQLString")


Well spotted! <

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

Edited by - OneWayMule on 04 June 2007 14:36:19
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 04 June 2007 :  15:46:21  Show Profile  Visit HuwR's Homepage
yes, well spotted Etymon<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 04 June 2007 :  16:13:10  Show Profile  Visit bobby131313's Homepage


I had this error, what would that effect? I ask because it doesn't seem anything wasn't working.

<

Switch the order of your title tags
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 05 January 2008 :  18:32:45  Show Profile
Fixed in version 3.4.07.<

Support Snitz Forums
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07