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
 Smile Manager Help!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

weeweeslap
Senior Member

USA
1077 Posts

Posted - 30 April 2003 :  16:33:47  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
I am getting the following error on post.asp:
Microsoft VBScript compilation error '800a03f6'

Expected 'End'

/forum2/post.asp, line 1739

Here is a txt version of my post.asp:
http://www.weeweeslap.com/post.txt

Can someone pelase help me figure out what the problem is? Thanks!

coaster crazy

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 30 April 2003 :  17:20:11  Show Profile
The problem is somewhere in here:

'############# SmileManager Plus MOD ################ line 940
if strRqMethod = "Edit" or strRqMethod = "URL" or strRqMethod = "EditURL" or _
strRqMethod = "Forum" or strRqMethod = "EditForum" or _
strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
strRqMethod = "EditTopic" or strRqMethod = "Topic" or strRqMethod = "TopicQuote" then 
	Response.Write	"              <tr>" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""middle"" height=""40"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Message:</b><br />" & vbNewLine & _
			"                  <br /><table border=""0"" cellpadding=0 cellspacing=0 width=""100%"">" & vbNewLine & _
			"                    <tr>" & vbNewLine & _
			"                      <td align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
	

	if strIcons = "1" and strShowSmiliesTable = "1" then   (where's the end if for this?
		if strRqMethod = "Edit" or strRqMethod = "EditTopic" or _   (where's the end if for this?
			strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
			strRqMethod = "Topic" or strRqMethod = "TopicQuote" then 
%>
<!--#INCLUDE FILE="inc_smilies.asp" -->
<%
'####################################################
	'################################## Poll Mod ###################################
	'Remember to remove the &_ code from the end of the line above.
	Response.Write	"                <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>" & vbNewLine
	if strRqMethod = "Topic" or strRqMethod = "EditTopic" then
		if Request.QueryString("poll") = "1" then
			Response.Write "Poll Question:"
		else 
			Response.Write "Message:"
		end if
'####EVENTS CALENDAR MOD#########
elseif Request.QueryString("event")="1" or isevent="1" then
                Response.Write strCalEventDetails		 
'################################

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

weeweeslap
Senior Member

USA
1077 Posts

Posted - 30 April 2003 :  21:05:40  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
uhmm ok, thanks!

coaster crazy
Go to Top of Page

megasaxon
Starting Member

10 Posts

Posted - 14 May 2003 :  12:07:00  Show Profile  Visit megasaxon's Homepage
What do I do if I get this message when I go to post:

Microsoft JET Database Engine error '80040e37'
The Microsoft Jet database engine cannot find the input table or query 'FORUM_SMILES2'. Make sure it exists and that its name is spelled correctly.

/megasaxon/forum/inc_smilies.asp, line 62

I have problems
Go to Top of Page

megasaxon
Starting Member

10 Posts

Posted - 14 May 2003 :  12:09:47  Show Profile  Visit megasaxon's Homepage
Nevermind, I figured it out...

I have problems
Go to Top of Page

Mike-E
Starting Member

23 Posts

Posted - 29 May 2003 :  06:28:40  Show Profile
quote:
Originally posted by megasaxon

Nevermind, I figured it out...



Could you please post the solution as I get the same error but when using MS SQL.

- - - -
Microsoft OLE DB Provider for ODBC Drivers error '80040e37'
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'FORUM_SMILES2'.

/scripts/internet/forum/admin_smiles.asp, line 143
- - - -

I guess I should add something to the tables in the database? But how?

Regards,
Maik
Go to Top of Page

Mike-E
Starting Member

23 Posts

Posted - 30 May 2003 :  03:19:28  Show Profile
-kick-
Go to Top of Page

Mike-E
Starting Member

23 Posts

Posted - 31 May 2003 :  03:23:27  Show Profile
Please help...
Go to Top of Page

megasaxon
Starting Member

10 Posts

Posted - 02 June 2003 :  15:55:47  Show Profile  Visit megasaxon's Homepage
Sorry I haven't been on here in a while. I just recieved your email Here's what you have to do. I kinda felt stupid posting the solution to this problem:
All you have to do is install the database. Go to Admin Options--->MOD Setup--->SmileManager Plus and install it. After that go to Add Default Smilies and install that. After that it should be working.

That's what I didn't do. I completely overlooked it. I've been used to not having to install my MODs. I've got ones that only take editing some files and adding some other ones.

I have problems
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 14 July 2003 :  19:35:43  Show Profile  Visit Ryan's Homepage
quote:
Originally posted by Nikkol

The problem is somewhere in here:

'############# SmileManager Plus MOD ################ line 940
if strRqMethod = "Edit" or strRqMethod = "URL" or strRqMethod = "EditURL" or _
strRqMethod = "Forum" or strRqMethod = "EditForum" or _
strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
strRqMethod = "EditTopic" or strRqMethod = "Topic" or strRqMethod = "TopicQuote" then 
	Response.Write	"              <tr>" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""middle"" height=""40"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Message:</b><br />" & vbNewLine & _
			"                  <br /><table border=""0"" cellpadding=0 cellspacing=0 width=""100%"">" & vbNewLine & _
			"                    <tr>" & vbNewLine & _
			"                      <td align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
	

	if strIcons = "1" and strShowSmiliesTable = "1" then   (where's the end if for this?
		if strRqMethod = "Edit" or strRqMethod = "EditTopic" or _   (where's the end if for this?
			strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
			strRqMethod = "Topic" or strRqMethod = "TopicQuote" then 
%>
<!--#INCLUDE FILE="inc_smilies.asp" -->
<%
'####################################################
	'################################## Poll Mod ###################################
	'Remember to remove the &_ code from the end of the line above.
	Response.Write	"                <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>" & vbNewLine
	if strRqMethod = "Topic" or strRqMethod = "EditTopic" then
		if Request.QueryString("poll") = "1" then
			Response.Write "Poll Question:"
		else 
			Response.Write "Message:"
		end if
'####EVENTS CALENDAR MOD#########
elseif Request.QueryString("event")="1" or isevent="1" then
                Response.Write strCalEventDetails		 
'################################




Looks like weeweeslap knew what you were talking about but I havent a clue. I am getting the exact same error. You said
quote:

(where's the end if for this?


So, here is my question. Where do I put the end if? Or what do I do?
Thanks!

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 15 July 2003 :  10:56:18  Show Profile  Visit Ryan's Homepage
*Slightly nudges noone in particular*

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 31 July 2003 :  12:33:34  Show Profile  Visit Aaron S.'s Homepage
It looks like the "end if" code was deleted or moved when you added the Poll MOD. There are a number of topic discussing how to integrate the two MODs.

This is how my code looks, and should fix your problem.



	if strIcons = "1" and strShowSmiliesTable = "1" then
		if strRqMethod = "Edit" or strRqMethod = "EditTopic" or _
			strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
			strRqMethod = "Topic" or strRqMethod = "TopicQuote" then 
%>
<!--#INCLUDE FILE="inc_smilies.asp" -->
<%
'####################################################

		end if
	end if


--Aaron

DOWNLOAD GREAT NEW MODS HERE
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07