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)
 BUG+FIX (3.1sr4): Moderator Administration SQL Bug
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

steverrific
Starting Member

USA
16 Posts

Posted - 30 January 2001 :  11:43:59  Show Profile  Visit steverrific's Homepage
Greetings. I don't know if anyone is having or has had a similar problem, but if so, please share. When I go into my moderator options everything loads correctly except the table with all of the option. Instead I get the following error message. I'm running SQL 6.5.

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

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '='.

/board/inc_functions.asp, line 1089


Thanks in advance if you are able help. I really appreciate it. :)

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 30 January 2001 :  12:39:45  Show Profile  Visit HuwR's Homepage
Have you assigned any users as mederators, by editing their status in their profile?

'Resistance is futile'
Go to Top of Page

steverrific
Starting Member

USA
16 Posts

Posted - 30 January 2001 :  14:57:03  Show Profile  Visit steverrific's Homepage
HuwR, you are a support maniac! Nice job! (this in regards to all of your expediant replies)

Unfortunately, I still get the error, even after I have assigned one person as a moderator, but I'm going to do a new installation tonight upgrading 6.5 to 7.0, so don't bother responding unless I post again.

Thanks again, though, for helping all us implement this very excellent board. :D
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 30 January 2001 :  16:11:11  Show Profile  Visit gor's Homepage
Even with you upgrading to version 7 it might be a good idea to change that sql-statement to:

'## Forum_SQL
strSql = "SELECT MEMBER_ID "
strSql = strSql & " FROM " & strTablePrefix & "MODERATOR "
strSql = strSql & " WHERE FORUM_ID = " & fForum_ID & " "
strSql = strSql & " AND MEMBER_ID = " & MEMBER_ID


(you can find it at line 1083)

Pierre
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 30 January 2001 :  16:14:44  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
should this go into bugfix?


Reinsnitz (Mike)
><)))'>
"The glory of young men is their strength, and the honor of old men is their gray hair." - Proverbs 20:29
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 30 January 2001 :  16:56:54  Show Profile  Visit gor's Homepage
It won't hurt to fix it.

Pierre
Go to Top of Page

steverrific
Starting Member

USA
16 Posts

Posted - 30 January 2001 :  20:00:22  Show Profile  Visit steverrific's Homepage
Thanks for your response. I upgraded my server and it seemed to fix my speed problem. I implented your solution, but it still has the same problem. I also noticed another spot 15 or 20 lines down which had a similar *. I substituted "MEMBER_ID" there, too, just to see if it would help.

Any other ideas? Here is the error code again:

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

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '='.

/forum/inc_functions.asp, line 1089

Thanks again.

Steve
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 01 February 2001 :  15:32:26  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Can you put a response.write "SQL = " & strSQL right BEFORE line 1089 and then let us know what it says? That might help us determine what is happening.

Dave Maxwell
--------------
When's the next meeting of Snitzaholics Anonymous
Go to Top of Page

steverrific
Starting Member

USA
16 Posts

Posted - 09 February 2001 :  12:13:25  Show Profile  Visit steverrific's Homepage
I'd love to do this, but could you clarify just a bit? I need to know if you want me to create a new line before 1089, and what "exactly" to type in. I'm not SQL literate, so I falter on doing some these tweaks.

Thanks so much.

Steverrific
Go to Top of Page

steverrific
Starting Member

USA
16 Posts

Posted - 09 February 2001 :  12:34:21  Show Profile  Visit steverrific's Homepage
Hold on there. Now the function is working. When I was posting this bug initially, I had no more than 20 or 30 posts and few members. Now that I'm bulking up a bit, it seems to work. Very strange.

Thanks for you all your input!

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 09 February 2001 :  13:46:32  Show Profile  Visit gor's Homepage
quote:

I'd love to do this, but could you clarify just a bit? I need to know if you want me to create a new line before 1089, and what "exactly" to type in. I'm not SQL literate, so I falter on doing some these tweaks.



What Doug wanted you to do (and I guess it won't hurt to do it anyway and post the result here) was:

goto line 1088 (or create a new empty line there) and type:

Response.Write "SQL = " & strSQL
Response.End


Then post the output you get on your screen here please.

Pierre
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 11 February 2001 :  20:49:46  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
fixed in source of sf2k_31sr5a3.zip...

Reinsnitz (Mike)
><)))'>
"Blessed are those who hear the word of God and obey it." - Luke 11:28
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07