Author |
Topic  |
gpspassion
Junior Member
 
260 Posts |
Posted - 25 May 2003 : 17:43:08
|
ah thanks for bringing back some hope ;-) In v3.4, I found 11 files that had the "strEncodedPassword = sha256" call and 62 that have "<!--#INCLUDE FILE="inc_sha256.asp"-->". Does it mean I can add the call in the 11 files and ignore the others, or not? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 25 May 2003 : 18:31:16
|
Take it one step at a time. You need to remember version 3.4 has more files than 3.3. So, add the include and the call to inc_top.asp first and also inside the DoCookies function in inc_functions.asp. See if it works. If it does, then test several of the forum functions, namely those that require the use of the password (login as admin, delete topics and forums and such). When you find a function that does not work, try to locate the respective file or come here for help on its location. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
gpspassion
Junior Member
 
260 Posts |
Posted - 26 May 2003 : 15:02:24
|
Ok, so that's what I did: 1. Replaced the case Request.Form("Method_Type") select in inc_top.asp by the one in inc_header.asp 2. added <!--#INCLUDE FILE="inc_sha256.asp"--> at the beginning of inc_top.asp (although it's not in ind_header.asp) 3. Copied the v3.4 inc_sha256.asp in the pdaforum folder 3. Replaced in inc_functions.asp the existing doCookies(fSavePassWord) sub by the one in inc_func_common.asp
Unfortunately, now when I try to login it pops up the ol' "HTTP 500 - Internal server error Internet Explorer" error message...
|
Edited by - gpspassion on 26 May 2003 16:50:23 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
gpspassion
Junior Member
 
260 Posts |
Posted - 26 May 2003 : 18:20:59
|
I guess you learn each day, thanks for the tip. Talk about a "friendly error message"... Anyway here goes: "Microsoft VBScript runtime error '800a01c2' Wrong number of arguments or invalid property assignment: 'chkUser' /pdaforums/inc_top.asp, line 120"
Line 120 happens to be: "select case chkUser(strDBNTFUserName, strEncodedPassword,-1)"
Looking at the original inc_top.asp I noticed there was no second ",", so I took out ",-1" and guess what, it works now! Thanks for the pointers!
Now to get the admin login to work ;-) |
 |
|
gpspassion
Junior Member
 
260 Posts |
Posted - 26 May 2003 : 18:23:22
|
I might have rejoiced a bit too quickly as I get logged out as soon as I go to a new page, like forum.asp. Cookie problem I suspect? |
Edited by - gpspassion on 26 May 2003 18:26:02 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 26 May 2003 : 19:00:39
|
quote: Originally posted by gpspassion
hum...all of a sudden I'm getting a odd error: "Name Redefinition /pdaforums/inc_sha256.asp, line 42 Private m_lOnBits(30) --------^"
Don't think I changed anything compared to when it worked!
That probably means you're including the inc_sha256.asp file twice. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
gpspassion
Junior Member
 
260 Posts |
Posted - 26 May 2003 : 19:11:25
|
yes, sorry...I took it out of default.asp where I had added it at some point. Strange thing is that it wasn't a problem at one point ;-) In fact I deleted the message you quoted before seeing you had replied!
I did modify the DoCookies function as step #3 above: "Replaced in inc_functions.asp the existing doCookies(fSavePassWord) sub by the one in inc_func_common.asp from v 3.4". Should I have done this differently? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 26 May 2003 : 19:18:01
|
Frankly I didn't compare the differences between the versions. I thought the 3.3 version just required the addition of the call to the sha256() function. That was my original idea. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
gpspassion
Junior Member
 
260 Posts |
Posted - 26 May 2003 : 19:19:36
|
I'm noticing that after logging in, one click (on a forum category for instance) will keep me logged in, but a second click logs me out! |
Edited by - gpspassion on 26 May 2003 19:25:07 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
gpspassion
Junior Member
 
260 Posts |
Posted - 27 May 2003 : 04:27:02
|
yes, that's right, I click on any link once and everything's ok, but when I click a second time I'm logged out!
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
gpspassion
Junior Member
 
260 Posts |
|
Topic  |
|