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
 Well, this one is surely beyond me!
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Supertacks
Starting Member

31 Posts

Posted - 16 November 2008 :  21:50:43  Show Profile
After years of rolling out Snitz forums in all colors shapes and sizes I have finally experienced a problem that I have no idea where to start on.

Since there are many on here smarter than I, I am hoping someone can peek at this and say . . . dude, you need to (insert remediation here)

The forums is at http://www.tbbwb.com/forums/

Just click on a forum and hit "New Topic"

The forum has the Gatekeeper Anti Spam installed.

Thanks in advance for any tips or direction anyone can offer.


<

Soar
Junior Member

USA
197 Posts

Posted - 16 November 2008 :  22:09:17  Show Profile  Visit Soar's Homepage
Might want to post up a txt copy of your post.asp file.<
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 16 November 2008 :  22:54:47  Show Profile  Visit Etymon's Homepage
You are missing something that could be missing anywhere from inc_header.asp to post.asp and in between. So, no clue without knowing what you did last and what you have done in the past.<
Go to Top of Page

gary b
Junior Member

USA
267 Posts

Posted - 17 November 2008 :  20:34:27  Show Profile  Visit gary b's Homepage
quote:
Originally posted by Soar

Might want to post up a txt copy of your post.asp file.


Error message states:
/forums/post.asp, line 568

You may want to make your post.asp code available as Soar suggests. The error implies that an 'End If' was encountered with no matching IF statement.<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 18 November 2008 :  04:17:34  Show Profile
More than likely you've got an errant &_ on the line preceding the end if.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 18 November 2008 :  07:41:24  Show Profile
I think Shaggy has the right of it. That's a common error when adding mods.<
Go to Top of Page

pwhitehurst
Starting Member

United Kingdom
18 Posts

Posted - 18 November 2008 :  11:13:59  Show Profile
The code I have in my (working) 3.4.06 forum for post.asp around line 568 is (with line 568 highlighted in red). What code do you have around 568?

'## Forum_SQL
strSql = "SELECT CAT_ID, CAT_NAME "
strSql = strSql & " FROM " & strTablePrefix & "CATEGORY "
if mlev = 3 then
strSql = strSql & " WHERE CAT_ID = " & strRqCatID
end if
strSql = strSql & " ORDER BY CAT_ORDER, CAT_NAME ASC;"

set rsCat = Server.CreateObject("ADODB.Recordset")
rsCat.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText

if rsCat.EOF then
recCatCount = ""
else
allCatData = rsCat.GetRows(adGetRowsRest)
recCatCount = UBound(allCatData,2)
end if

rsCat.close
set rsCat = nothing<

Edited by - pwhitehurst on 18 November 2008 11:17:04
Go to Top of Page

Supertacks
Starting Member

31 Posts

Posted - 18 November 2008 :  17:59:55  Show Profile
Thanks for the response so far. This is basically a clean install with the Gatekeeper mod. It worked for a week or two and a few folks registered. there were topics that I cleaned out so we could launch and strat fresh. Here is the code aroud the line with the error with 568 highlighted.

strDefaultFontSize & """><b>Antispam question:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ valign=""top"">" & strGatekeeperQuestion & "</td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Answer:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ valign=""top""><input name=""GateKeeperAnswer"" size=""25"" type=""text"" value=""" & Request.Form("GateKeeperAnswer") & """></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if
'GateKeeper Mod
end if
end if

if strAllowForumCode = "1" and strShowFormatButtons = "1" then
if strRqMethod = "Edit" or strRqMethod = "EditTopic" or _
strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
strRqMethod = "Topic" or strRqMethod = "TopicQuote" then
%>
<!--#INCLUDE FILE="inc_post_buttons.asp" -->
<%
end if
end if
if strRqMethod = "Forum" or _
strRqMethod = "URL" or _
strRqMethod = "EditURL" or _
strRqMethod = "EditForum" then<
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 18 November 2008 :  18:48:28  Show Profile  Visit MaD2ko0l's Homepage
have u tryed deleting that highlighted end if? i mean without looking at your complete file cannout diagnose where it is specificly, but more than likly u need to remove that highlighted end if.

its probly just a copy/paste issue maybe u can conpare that bit of code with a working foum that u have r they meant to be 3 end if there?<

© 1999-2010 MaD2ko0l
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 18 November 2008 :  19:06:13  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
There should be three end if's there. You need to post your post.asp as a txt file (post.txt) so we can see where the problem is.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Supertacks
Starting Member

31 Posts

Posted - 18 November 2008 :  21:03:19  Show Profile
O.K.Lets try this. The text file is at:

http://www.tbbwb.com/forums/post.txt

Thh thing I don't understand is that is was working and I made no mods to it at all.

Hopefully this text post helps.

Thanks again.<
Go to Top of Page

Soar
Junior Member

USA
197 Posts

Posted - 18 November 2008 :  23:23:33  Show Profile  Visit Soar's Homepage
Looks like you have an extra "end if". Try deleting the one in red, below, which is on line 565 in your post.asp file.

Response.Write " <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Antispam question:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ valign=""top"">" & strGatekeeperQuestion & "</td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Answer:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ valign=""top""><input name=""GateKeeperAnswer"" size=""25"" type=""text"" value=""" & Request.Form("GateKeeperAnswer") & """></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if
'GateKeeper Mod
end if
end if
<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 19 November 2008 :  03:19:57  Show Profile
It doesn't really matter which of the three "end if" statements is deleted since they all follow one-another. One is indeed an extra.<
Go to Top of Page

Supertacks
Starting Member

31 Posts

Posted - 20 November 2008 :  15:52:05  Show Profile
O.K. That got rid of that error but now when any user attempts to post they get an error stating they have not answered the anispam question.

I registered a new account and tried it to ensure it wasn't a legacy account and got the same results.<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 November 2008 :  16:00:42  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
There are supposed to be three end if's there (see the edited file in the zip).

Can you upload your current post.asp here - http://www.tbbwb.com/forums/post.txt<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Supertacks
Starting Member

31 Posts

Posted - 20 November 2008 :  16:21:14  Show Profile
I apologize for not following you. Some posts above mention that there is an extra end if. I removed the one suggested by "Soar" and get the results that are curretnly in production.

Current post.asp is here http://www.tbbwb.com/forums/post.txt<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
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.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07