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: MOD Implementation
 Forum doesnt load posts up
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Viccan
Starting Member

7 Posts

Posted - 21 March 2005 :  19:56:59  Show Profile
Instead of showing the replies and posts of users, forum does just show digits. Topics are loaded up without any problems, but their replies arent. It isn't even possible to delete the posts with the gibberish, since it doesn't seem to exist. When I try to delete or edit such a "corrupted" post I get the error message:

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

[MySQL][ODBC 3.51 Driver][mysqld-4.0.23a-log]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

/forum/post.asp, line 339

OR

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

[MySQL][ODBC 3.51 Driver][mysqld-4.0.23a-log]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND M.M_STATUS = 1' at line 1

/forum/pop_delete.asp, line 820


This is what is in that area in post.asp:

if strRqMethod = "EditTopic" or strRqMethod = "TopicQuote" then
'## Forum_SQL
strSql = "SELECT M.M_NAME, T.CAT_ID, T.FORUM_ID, T.TOPIC_ID, T.T_SUBJECT, T.T_AUTHOR, T.T_STICKY, T.T_SIG, T.T_MESSAGE "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS M, " & strActivePrefix & "TOPICS T "
strSql = strSql & " WHERE M.MEMBER_ID = T.T_AUTHOR AND T.TOPIC_ID = " & strRqTopicID

set rs = my_Conn.Execute (strSql)

TxtSub = rs("T_SUBJECT")
strAuthor = rs("T_AUTHOR")
if strStickyTopic = "1" then
strTopicSticky = rs("T_STICKY")
end if


AND in pop_delete.asp:

function chkUser3(fName, fPassword, fReply)
'## Forum_SQL
strSql = "SELECT M.MEMBER_ID, M.M_LEVEL, M.M_NAME, M.M_PASSWORD, R.R_AUTHOR "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS M, " & strActivePrefix & "REPLY R "
StrSql = strSql & " WHERE M." & strDBNTSQLName & " = '" & fName & "' "
if strAuthType="db" then
strSql = strSql & " AND M.M_PASSWORD = '" & fPassword &"' "
End If
strSql = strSql & " AND R.REPLY_ID = " & fReply
strSql = strSql & " AND M.M_STATUS = " & 1

set rsCheck = my_Conn.Execute (strSql)




ANYBODY HELP?

Edited by - ruirib on 22 March 2005 08:35:24

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 March 2005 :  05:57:30  Show Profile  Send ruirib a Yahoo! Message
You have recently implemented mods, right?


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

Viccan
Starting Member

7 Posts

Posted - 22 March 2005 :  06:02:52  Show Profile
Yeah, I just installed the PM mod...
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 March 2005 :  08:35:10  Show Profile  Send ruirib a Yahoo! Message
Review what you've done. You missed something. Start with a fresh topic.asp and then add the changes recommended by the mod carefully.


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

Viccan
Starting Member

7 Posts

Posted - 22 March 2005 :  10:15:58  Show Profile
I solved the issue... Thanx for the help.

While I was redoing the steps for modifying topic.asp, I saw the problem. Where it says:

Find following: (about line 513)

rM_YAHOO = 5

Add the following directly below on line 514:

rM_PM = 6


The problem is that there is already a value below rM_YAHOO = 5 from the start. That value is set to xxxxxxxxx = 6 and the one below it is set to 7 and so on. When u add rM_PM = 6 below the rM_YAHOO = 5 you have to change the other values as well add them by 1.

THX for the help!
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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07