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
 error in seting up every single mod ive attempted
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  15:31:14  Show Profile  Visit stuF's Homepage
Snitz Events Calendar v2 sr1:error

Creating table(s)...
CREATE TABLE FORUM_EVENTS( EVENT_ID INT (11) DEFAULT '' NOT NULL auto_increment , DATE_ADDED varchar (20) NOT NULL , START_DATE varchar (20) NOT NULL , END_DATE varchar (20) NOT NULL , EVENT_TITLE varchar (100) NOT NULL , EVENT_DETAILS text NOT NULL , ADDED_BY int NOT NULL , PRIVATE int NOT NULL DEFAULT 0,KEY FORUM_EVENTS_EVENT_ID(EVENT_ID))
-2147217900 | Syntax error in CREATE TABLE statement.


i also get a long list of errors when trying to setup te classified ads mod..whats gonig wrong?
thanx, stuart




Edited by - stuF on 24 April 2001 16:59:49

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  16:22:22  Show Profile  Visit stuF's Homepage
and these when trying the PRV MSG mod..can anybody offer any help?
-------------------------

Creating table(s)...
CREATE TABLE FORUM_PM( M_ID INT (11) DEFAULT '' NOT NULL auto_increment , M_SUBJECT varchar (50) NULL , M_FROM int (11) NULL , M_TO int (11) NULL , M_SENT varchar (50) NULL , M_MESSAGE text NULL , M_PMCOUNT varchar (50) NULL , M_READ int (11) NULL DEFAULT 0, M_MAIL varchar (50) NULL , M_OUTBOX tinyint NULL DEFAULT 1,KEY FORUM_PM_M_ID(M_ID))
-2147217900 | Syntax error in CREATE TABLE statement.

--------------------------------------------------------------------------------

Adding Column...
ALTER TABLE FORUM_MEMBERS ADD M_PMEMAIL int (11) NULL DEFAULT 0
-2147217900 | Syntax error in ALTER TABLE statement.
Adding Column...
ALTER TABLE FORUM_MEMBERS ADD M_PMRECEIVE int (11) NULL DEFAULT 1
-2147217900 | Syntax error in ALTER TABLE statement.
Table(s) updated

Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  16:44:30  Show Profile  Visit stuF's Homepage
anyone?

Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  16:53:43  Show Profile  Visit stuF's Homepage
im also getting (500)internal server errors when trying to view the files which are part of the mod...

Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  17:16:17  Show Profile  Visit stuF's Homepage
hmm....bumpety bump...

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 24 April 2001 :  17:26:50  Show Profile
In just about all of the MODS, there is a notice that says that it is recommended for you to use the strConnString in config.asp that is labeled as for use with Access 2000, it looks like you are using one that is labeled for use with Access97.

The strConnString that is labeled for use with Access97 uses drivers that don't support having DEFAULT in the SQL code that is used to setup the database, that is why you get errors.
Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  17:31:31  Show Profile  Visit stuF's Homepage
cheers...
would you be able to tell me which of the lines i need to uncomment in config.asp to change this, and how much of the database path needs t be insered to do it, cheers...


Edited by - stuF on 24 April 2001 17:36:15
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 24 April 2001 :  17:45:14  Show Profile
just post what you have now and I'll let you know.
Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  17:48:57  Show Profile  Visit stuF's Homepage
ive done that part, and the forums working now, then i went back to mod_dbsetup.asp and did the prv msg mod, which created the tables fine, then i went to privatemess.asp and got the following error:

Microsoft VBScript runtime error '800a01a8'

Object required: 'my_Conn'

/cgi-bin/forum/privatemess.asp, line 50

cheers, stuart

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 24 April 2001 :  18:08:31  Show Profile
privatemess.asp is meant to be an include file, not a standalone file. Try going to pm_view.asp instead.
Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  18:12:37  Show Profile  Visit stuF's Homepage
thank oyu soo much for that, its working great...however, in the readme, it said to add somthing like this to default.asp:

<%
else
blnHiddenForums = true
end if ' ChkDisplayForum()
rsForum.MoveNext
loop
end if
rs.MoveNext
loop
end if
%>
<!--#include file="privatemess.asp"-->
<%
if strShowStatistics = "1" then
WriteStatistics
end if %>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%">
<tr>
<td>
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<img alt="New Posts" src="icon_folder_new.gif" width=8 height=9> Contains new posts since last visit.<br>
<img alt="Old Posts" src="icon_folder.gif" width=8 height=9> No new posts since the last visit.<br>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>


but when i add it i get an erro saying that there is a loop with no do
?
sorry to be such a hassle, thanx ofr oyur continued help Stuart

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 24 April 2001 :  18:43:03  Show Profile
Just make sure you insert it exactly like it shows and you shouldn't get an error.

here is how mine looks:


<%
else
blnHiddenForums = true
end if ' ChkDisplayForum()
end if ' HideCat
rsForum.MoveNext
loop
end if
rs.MoveNext
loop
end if
%>
<!--#include file="privatemess.asp"-->
<%

if strShowStatistics = "1" then
WriteStatistics
end if
%>
</table>
</td>
</tr>
Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  18:50:19  Show Profile  Visit stuF's Homepage
<%
else
blnHiddenForums = true
end if ' ChkDisplayForum()
end if ' HideCat
rsForum.MoveNext
loop
end if
rs.MoveNext
loop
end if
%>
<!--#include file="privatemess.asp"-->
<%
if strShowStatistics = "1" then
WriteStatistics
end if
%>
</table>
</td>
</tr>
<%
end if
end sub
%>

that is the end of the default.asp code, this is error im getting:
Microsoft VBScript compilation error '800a03f8'

Expected 'Sub'

/cgi-bin/forum/default.asp, line 618

end if ' HideCat
----^


Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 24 April 2001 :  18:53:32  Show Profile  Visit stuF's Homepage
ok, all done, just got to tweak the table setup now, you can see my forum here : http://36-degrees.co.uk/cgi-bin/forum

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 24 April 2001 :  18:59:56  Show Profile
you probably don't have the Minimize Category Mod installed so you can just delete the:


end if ' HideCat
Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 25 April 2001 :  14:19:32  Show Profile  Visit stuF's Homepage
me again...
Snitz Events Calendar v2 sr1

Creating table(s)...
CREATE TABLE FORUM_EVENTS( EVENT_ID COUNTER CONSTRAINT PrimaryKey PRIMARY KEY , DATE_ADDED#varchar (20)## NOT NULL , START_DATE#varchar (20)## NOT NULL , END_DATE#varchar (20)## NOT NULL , EVENT_TITLE#varchar (100)## NOT NULL , EVENT_DETAILS#memo## NOT NULL , ADDED_BY#int## NOT NULL , PRIVATE#int##0 NOT NULL )
-2147217900 | Syntax error in field definition.

thats another error i get when trying to install the calender mod...anyone know what it is?

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.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07