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 Internationalization (v4-archive)
 BUG+FIX: MemberTablePrefix / TablePrefix
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

kimkr
Starting Member

Denmark
36 Posts

Posted - 13 February 2002 :  17:33:32  Show Profile
I use different prefixes for the strTablePrefix and strMemberTablePrefix, and sofar I have found two errors (I couldn't find anyone how has reportet it yet)

I found it in 4bpatch002:

In default.asp near line 200

strTablePrefix & "FORUM.F_A_COUNT, " &_
strMemberTablePrefix & "FORUM.F_SUBSCRIPTION, " &_
strMemberTablePrefix & "MEMBERS.MEMBER_ID, " &_
strMemberTablePrefix & "MEMBERS.M_NAME " &_

sould be:

strTablePrefix & "FORUM.F_A_COUNT, " &_
strTablePrefix & "FORUM.F_SUBSCRIPTION, " &_
strMemberTablePrefix & "MEMBERS.MEMBER_ID, " &_
strMemberTablePrefix & "MEMBERS.M_NAME " &_


and in file inc_functions.asp near line 1097

function chkForumModerator(fForum_ID, fMember_Name)
'## Forum_SQL
strSql = "SELECT mo.FORUM_ID "
strSql = strSql & " FROM " & strTablePrefix & "MODERATOR mo, " & strTablePrefix & "MEMBERS me "
strSql = strSql & " WHERE mo.FORUM_ID = " & fForum_ID & " "
strSql = strSql & " AND mo.MEMBER_ID = me.MEMBER_ID "

shoul be:

function chkForumModerator(fForum_ID, fMember_Name)
'## Forum_SQL
strSql = "SELECT mo.FORUM_ID "
strSql = strSql & " FROM " & strTablePrefix & "MODERATOR mo, " & strMemberTablePrefix & "MEMBERS me "
strSql = strSql & " WHERE mo.FORUM_ID = " & fForum_ID & " "
strSql = strSql & " AND mo.MEMBER_ID = me.MEMBER_ID "




Edited by - kimkr on 13 February 2002 17:39:12


[moved by bozden on 30 September 2002]

<

Edited by - Deleted on 30 September 2002 18:19:39

Deleted
deleted

4116 Posts

Posted - 27 February 2002 :  16:33:03  Show Profile
Thank you. I just checked that both of them are corrected in v3.4. As it is not critical to all of us, I will correct them in v40b04.

Think PinkPost v40b03 Patches<
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07