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
 Help with GuestBook
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

quietstorm
Starting Member

27 Posts

Posted - 06 April 2001 :  02:49:14  Show Profile
can someone tell what I might be doing wrong...my forum works fine, but the guestbook mod won't! (have tried the mod_dbsetup.asp)
Thanks
url is "http://www.barcin.net/forum/

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 06 April 2001 :  04:43:11  Show Profile  Visit HuwR's Homepage
looks like your tables were not created for the guestbook, try re-running mod_dbsetup note down any errors it produces

Go to Top of Page

quietstorm
Starting Member

27 Posts

Posted - 06 April 2001 :  04:46:40  Show Profile
quote:

looks like your tables were not created for the guestbook, try re-running mod_dbsetup note down any errors it produces





here is what I get...

Snitz Forum Modifications
Database Setup.....

Your strDBType is not set, please edit your config.asp
to reflect your database type


Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 06 April 2001 :  05:15:32  Show Profile  Visit HuwR's Homepage
The problem is exactly as it states, check your config.asp and ensure you have uncommented one of the strDBType lines to reflect your choice of DB

Go to Top of Page

quietstorm
Starting Member

27 Posts

Posted - 06 April 2001 :  10:17:24  Show Profile
quote:

The problem is exactly as it states, check your config.asp and ensure you have uncommented one of the strDBType lines to reflect your choice of DB





Still having problems when I uncommented all of them..one at a time!!
Strange tho, my forum is working fine, but not this!
what else can I do?

Thanks

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 April 2001 :  18:33:54  Show Profile
Saying you still having problems, isn't helping you or us. You need to tell us what happened when you tried un-commenting one of the strDBType strings. Did you get an error? What was the error?

And what database type are you using? SQL, MySQL or Access?

Go to Top of Page

quietstorm
Starting Member

27 Posts

Posted - 07 April 2001 :  01:23:57  Show Profile
quote:

Saying you still having problems, isn't helping you or us. You need to tell us what happened when you tried un-commenting one of the strDBType strings. Did you get an error? What was the error?

And what database type are you using? SQL, MySQL or Access?





I am using MS 200 Access and it is pondering me why my forum it working..if my strDBType wasn't set correctly, my forum wouldn't be working..but it is!
I am lost!!
Thanks

Go to Top of Page

quietstorm
Starting Member

27 Posts

Posted - 07 April 2001 :  04:50:23  Show Profile
again... I have uncommented either MS Access 97 or 2000 and my forum works perfect!! (Using ACCESS as my database) The guestbook still continues to give me the same error when I uncomment as the beginning....
Snitz Forum Modifications
Database Setup.....
"Your strDBType is not set, please edit your config.asp to reflect your database type"

This must not be my day!!
I might just give up and forget the whole thing!!

Thanks

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 07 April 2001 :  13:00:07  Show Profile
Post your strDBType code from your config.asp file so we can take a look at it.

HuwR, is this an updated version of your mod_dbsetup.asp file he/she is using?

Go to Top of Page

quietstorm
Starting Member

27 Posts

Posted - 07 April 2001 :  19:51:31  Show Profile
quote:

Post your strDBType code from your config.asp file so we can take a look at it.

HuwR, is this an updated version of your mod_dbsetup.asp file he/she is using?






Here you go.....


'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=*:\**\**\***\***\snitz_forums_2000.mdb;" '## MS Access 97
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("*:\***\***\***\****\snitz_forums_2000.mdb;") '## MS Access 2000
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=*:\***\*****\*********\********\snitz_forums_2000.mdb;" '## MS Access 2000
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=SQL_USER;pwd=PASSWORD;database=DATABASE_NAME" '## MS SQL Server 7
'strConnString = "driver=MySQL;server=SERVER_NAME;uid=MYSQL_USER;pwd=PARRWORD;database=DATABASE_NAME" '## MySQL

the path is not shown, due to security reasons

thanks again!!



Edited by - quietstorm on 07 April 2001 19:55:02
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 07 April 2001 :  23:26:44  Show Profile
Ok, that was your strConnString.
I need to see your strDBType code. It comes before the code you just posted, in your config.asp file.

Go to Top of Page

quietstorm
Starting Member

27 Posts

Posted - 08 April 2001 :  00:19:37  Show Profile
quote:

Ok, that was your strConnString.
I need to see your strDBType code. It comes before the code you just posted, in your config.asp file.





Dave...
check your email and or ICQ!!
Thanks

Go to Top of Page

quietstorm
Starting Member

27 Posts

Posted - 08 April 2001 :  13:32:47  Show Profile
quote:

Ok, that was your strConnString.
I need to see your strDBType code. It comes before the code you just posted, in your config.asp file.





ok..here is everything!!

on error resume next
Session.LCID = 1033 '## Do Not Edit
Response.Buffer = true

dim strDBType, strConnString, strTablePrefix, strMemberTablePrefix '## Do Not Edit

'#################################################################################
'## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver or mysql)
'#################################################################################
'strDBType = "sqlserver"
'strDBType = "access"
'strDBType = "mysql"

'## Make sure to uncomment one of the strConnString lines!
strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=*:\****\*****\*********\********\snitz_forums_2000.mdb;" '## MS Access 97
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("*:\****\*****\*********\********\snitz_forums_2000.mdb;") '## MS Access 2000
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=*:\****\*****\*********\********\snitz_forums_2000.mdb;" '## MS Access 2000
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=SQL_USER;pwd=PASSWORD;database=DATABASE_NAME" '## MS SQL Server 7
'strConnString = "driver=MySQL;server=SERVER_NAME;uid=MYSQL_USER;pwd=PARRWORD;database=DATABASE_NAME" '## MySQL

strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"

Can someone plz help..this is getting out of hand on my hand!!

Thanks

Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 08 April 2001 :  14:32:27  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
the error statement says uncomment one of these:


'strDBType = "sqlserver"
'strDBType = "access"
'strDBType = "mysql"


You're probably using this one:
strDBType = "access"


- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

quietstorm
Starting Member

27 Posts

Posted - 08 April 2001 :  14:52:13  Show Profile
quote:

the error statement says uncomment one of these:


'strDBType = "sqlserver"
'strDBType = "access"
'strDBType = "mysql"


You're probably using this one:
strDBType = "access"


- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource



getting this error now....
Creating table(s)...
CREATE TABLE FORUM_GUESTBOOK( G_ID int IDENTITY (1, 1) NOT NULL , G_NAME VARCHAR (50) NOT NULL , G_EMAIL VARCHAR (100) NOT NULL , G_WEBSITE VARCHAR (100) NULL , G_ICQ VARCHAR (30) NULL , G_MESSAGE memo NOT NULL , G_DATE VARCHAR (50) NOT NULL , G_VARFIELD1 VARCHAR (100) NULL , G_VARFIELD2 VARCHAR (100) NULL , G_VARFIELD3 VARCHAR (100) NULL )
-2147217900 | Table 'FORUM_GUESTBOOK' already exists.

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

Creating table(s)...
CREATE TABLE FORUM_GB_OPTIONS( G_ID int IDENTITY (1, 1) NOT NULL , G_VARFIELD1 VARCHAR (100) NULL , G_VARFIELD2 VARCHAR (100) NULL , G_VARFIELD3 VARCHAR (100) NULL , G_V1_SWITCH INT NOT NULL , G_V2_SWITCH INT NOT NULL , G_V3_SWITCH INT NOT NULL )
-2147217900 | Table 'FORUM_GB_OPTIONS' already exists.

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

Adding new records..
INSERT INTO FORUM_GB_OPTIONS (G_V1_SWITCH, G_V2_SWITCH, G_V3_SWITCH, G_VARFIELD1, G_VARFIELD2, G_VARFIELD3) VALUES (0, 0, 0, 'ab', 'ab', 'ab')

Value(s) updated succesfully
--------------------------------------------------------------------------------

Adding Column...
ALTER TABLE FORUM_GB_OPTIONS ADD COLUMN G_MESSAGE memo NOT NULL DEFAULT 'Welcome to my Guestbook'
-2147217887 | Field 'G_MESSAGE' already exists in table 'FORUM_GB_OPTIONS'.
Table(s) updated

Been working 12-14 hrs a day at my work and trying to gt my forum going when I get home. Must be tired and need the rest..ehh?


Edited by - quietstorm on 08 April 2001 20:16:52
Go to Top of Page

MisterVB
Junior Member

274 Posts

Posted - 08 April 2001 :  21:46:57  Show Profile  Visit MisterVB's Homepage
dude that error happened cause you ran the mod_dbsetup already... thats just telling you the tables are already there. The guestbook will work fine now.

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