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: General / Classic ASP versions(v3.4.XX)
 Mobile/Wap version?
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 6

gpspassion
Junior Member

260 Posts

Posted - 25 May 2003 :  17:43:08  Show Profile  Visit gpspassion's Homepage
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?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 May 2003 :  18:31:16  Show Profile  Send ruirib a Yahoo! Message
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
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 26 May 2003 :  15:02:24  Show Profile  Visit gpspassion's Homepage
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
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 May 2003 :  17:24:31  Show Profile  Send ruirib a Yahoo! Message
Do as explained here to see the real error message: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=21987


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 26 May 2003 :  18:20:59  Show Profile  Visit gpspassion's Homepage
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 ;-)
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 26 May 2003 :  18:23:22  Show Profile  Visit gpspassion's Homepage
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
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 May 2003 :  18:59:06  Show Profile  Send ruirib a Yahoo! Message
Yeah, I would say that. Did you change the DoCookies function as I told you to?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 May 2003 :  19:00:39  Show Profile  Send ruirib a Yahoo! Message
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
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 26 May 2003 :  19:11:25  Show Profile  Visit gpspassion's Homepage
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?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 May 2003 :  19:18:01  Show Profile  Send ruirib a Yahoo! Message
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
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 26 May 2003 :  19:19:36  Show Profile  Visit gpspassion's Homepage
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
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 May 2003 :  19:28:20  Show Profile  Send ruirib a Yahoo! Message
What kind second click? Any click, over any link?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 27 May 2003 :  04:27:02  Show Profile  Visit gpspassion's Homepage
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!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 27 May 2003 :  05:31:49  Show Profile  Send ruirib a Yahoo! Message
Maybe post a link to a text version of your inc_top.asp and the file with new DoCookies function version.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 27 May 2003 :  16:53:19  Show Profile  Visit gpspassion's Homepage
Sure thing!
http://www.gpspassion.com/temp/inc_functions.txt
http://www.gpspassion.com/temp/inc_top.txt
TIA!
Go to Top of Page
Page: of 6 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.61 seconds. Powered By: Snitz Forums 2000 Version 3.4.07