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)
 UserGroups v1.0 BETA
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 15

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 17 September 2003 :  09:56:03  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
hrm... still getting errors when creating new groups... went to show off how cool this MOD is to a friend... and got an error...

Microsoft OLE DB Provider for ODBC Drivers error '80040e21' 

ODBC driver does not support the requested properties. 

/forum/admin_usergroups.asp, line 84


still is created... just get an error.

Reinsnitz (Mike)
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 17 September 2003 :  10:01:46  Show Profile
Mike, can you post a text version of that page? (Only reason is I believe you've made some changes that I won't have in the original MOD files.)

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 17 September 2003 :  10:02:42  Show Profile
actually, you know what I think it is. It's the identity thing I think. I was going to rework that part of the code so that it doesn't use it.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 17 September 2003 :  12:31:03  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
kk ;)

sounds right... caus it posts anyhow... so the error is soemthing that is not related to the actual work being done :) http://forum.freeworldsleague.com/forum/admin_usergroups.asp.txt

Reinsnitz (Mike)
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 17 September 2003 :  12:59:28  Show Profile
how about I just post the changes I was gonna make a little later and you can see if it works on your forum?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 17 September 2003 :  13:40:16  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
I think it's the MySQL that is hosing it ;) No biggy here... we're up and running and its not anoying for me ;)

But I would be more than happy to test it for you to see if it does not give the error :)

Reinsnitz (Mike)
Go to Top of Page

altisdesign
Junior Member

United Kingdom
357 Posts

Posted - 17 September 2003 :  13:52:22  Show Profile
Mike,

I had that problem with a forum I was writing, I rewrote the code that did not work on the MySQL db so it inserted the information in a different way, it seems to work for me and a couple of other users have tried it. You might want to wait for Nikkol to rewrite it tho , but if not, this link may help: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=46077

-Altis Design

Altis Design offers all manner of web design services to a variety of commercial and personal clients
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 18 September 2003 :  09:12:56  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
awesome :) Will take a look, but it is working... just gives an error that doesn't affect functionality much :) and it's only for hte admin not end users... I'll go ahead and wait and help Nikkol to troubleshoot her base code for now though :)

Reinsnitz (Mike)
Go to Top of Page

wizard
Junior Member

208 Posts

Posted - 21 September 2003 :  19:19:42  Show Profile  Visit wizard's Homepage
I got this:

ADODB.Recordset error '800a0e79'

Operation is not allowed when the object is open.

/admin_usergroups.asp, line 118
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 21 September 2003 :  22:47:32  Show Profile
what were you trying to do when that happened?

have you modified the code on that page?

(as a side note, you should have posted this in the MOD implementation forum)

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 23 September 2003 :  12:29:09  Show Profile
Hey Nikkol, it's my time to try at your mod and post my findings.

Installing the mod for a client. He had EMail Validation turned on. After a user clicks the link in thier email, they get this error:
error '80020009'

Exception occurred

/portal/forum/inc_func_common.asp, line 685
Which was:
function chkString(pString,fField_Type)
	fString = trim(pString)
So I figured whatever pString was, the trim function didn't like it. I narrowed it down to your code that was sending fautly data to the chkString function. Line 215 in register.asp.
'## Forum_SQL - Delete the Member
strSql = "DELETE FROM " & strMemberTablePrefix & "MEMBERS_PENDING "
strSql = strSql & " WHERE M_KEY = '" & key & "'"

my_Conn.Execute (strSql),,adCmdText + adExecuteNoRecords

Call UserGroupAutoJoin(chkString(rsKey("M_NAME"),"SQLString")) '####### UserGroup MOD #######
Just looking at the code I realized you were still requesting the M_NAME variable from the rsKey connection. But since then, the register page has updated the database twice. So any data in the rsKey connection is erased after those updates.

So rsKey("M_NAME") is invalid and contains no data.
What I did was store the data in a variable (can call it strMemberName) before the database is updated, then use that variable for your code.
else
	strMemberName = chkString(rsKey("M_NAME"),"SQLString")
	'## Forum_SQL
	strSql = "INSERT INTO " & strMemberTablePrefix & "MEMBERS "
	strSql = strSql & "(M_NAME"
And your code woukd look like:
Call UserGroupAutoJoin(strMemberName)
I hope you understand. If not, I'm not explaining it again.

Support Snitz Forums
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 23 September 2003 :  14:01:39  Show Profile
LOL. Thanks Davio. Please let me know if you find anything else!!!

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

ajhvdb
Junior Member

Netherlands
392 Posts

Posted - 23 September 2003 :  17:14:11  Show Profile
I'm a bit lost Davio, We use this Mod also and the call is done before the delete. So i still asume it's not a bug.

Call UserGroupAutoJoin(chkString(rsKey("M_NAME"),"SQLString")) '####### UserGroup MOD #######
'## Forum_SQL - Delete the Member
strSql = "DELETE FROM " & strMemberTablePrefix & "MEMBERS_PENDING "
strSql = strSql & " WHERE M_KEY = '" & key & "'"

my_Conn.Execute (strSql),,adCmdText + adExecuteNoRecords

Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 23 September 2003 :  20:10:37  Show Profile
wasn't there a post a few pages back where I moved it to before the delete?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 23 September 2003 :  21:02:36  Show Profile
I don't know. Occording to the readme and the register.asp file that came with the zip file for this mod, it is after the delete query. Unless Nikkol updated the mod since then.

Support Snitz Forums
Go to Top of Page
Page: of 15 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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07