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
 Not creating tables in the database
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mike359
Starting Member

Canada
11 Posts

Posted - 10 December 2004 :  08:58:54  Show Profile


There seems to be a proublem with thw avatar and guestbook mod.

When I install it in the admin section with dosn't create the tables in the database!



Heres what Im running
* Access 2000 database running on ODBC
* Personal Web Server Running on 98 SE

"Let the Obsession beign. Again"

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 10 December 2004 :  09:08:08  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
What does it say after you run MOD setup? "Table already exists", "Could not create table" Anything of the sort?

eXtremeGossip
Go to Top of Page

philwhite
Starting Member

Germany
47 Posts

Posted - 10 December 2004 :  13:33:14  Show Profile
I have much the same problem with the Private Messages mod.
I'm also using Access/ODBC.
I get the message "Table already exists" at that point in the MOD setup (table FORUM_PM).
I then created the table by hand with a dummy column, created a new MOD setup to alter the table and add all the required columns rather than create the table from scratch.

The mod functions could then find the table and columns they needed., but I get a runtime error from inc_func_secure.asp which was not touched by the mod.

The relevant bit of the MOD setup for the table is
[CREATE]
PM
M_ID
M_SUBJECT#varchar (100)#NULL#
M_FROM#int#NULL#
M_TO#int#NULL#
M_SENT#varchar (50)#NULL#
M_MESSAGE#memo#NULL#
M_PMCOUNT#varchar (50)#NULL#
M_READ#int#NULL#0
M_MAIL#varchar (50)#NULL#
M_OUTBOX#smallint#NULL#1
[END]


I'm sure the first line needs a type for the first column. Since it is taken from the MEMBER_ID, it should by rights be longint.

I've tried making it a longint column, but still get the overflow error in inc_func_secure.asp when it's called in topics.asp.

Getting the table to create correctly from the MOD setup may solve the issue (but then again, it may not).

Note:
The runtime error described above turned out to be an entirely different problem. The MOD now appears to run fine.

Phil White

Edited by - philwhite on 10 December 2004 14:05:38
Go to Top of Page

Mike359
Starting Member

Canada
11 Posts

Posted - 10 December 2004 :  14:46:29  Show Profile
quote:
Originally posted by Jorrit787

What does it say after you run MOD setup? "Table already exists", "Could not create table" Anything of the sort?



I get could not create table

and then for the last 2 I get 'table aready exists'

"Let the Obsession beign. Again"
Go to Top of Page

Mike359
Starting Member

Canada
11 Posts

Posted - 14 December 2004 :  08:23:13  Show Profile
Do I need to reconfigure Config.Asp

I already have.

What could be wrong :(

"Let the Obsession beign. Again"
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 18 December 2004 :  14:07:26  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
If you already ran the db setup once, it makes sense that you get the 'table already exits' error, but I don't know what else the problem could be.

eXtremeGossip
Go to Top of Page

gstring
Starting Member

4 Posts

Posted - 02 April 2005 :  15:04:22  Show Profile
did anyone solve this one? i am getting the same "table already exists" error even on first run-through of the script! i think i will add by hand ...
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