Gossamer Forum
Home : Products : DBMan : Installation :

Help with installation.. errors..

Quote Reply
Help with installation.. errors..
Here's the url to the DB I'm tryin to set up:
http://www.madeniggaz.net/pmdb/db.cgi?db=pacdb

Here's what I have in the specified section of the config file for the database:

# Database Definition
# --------------------------------------------------------
# Definition of your database. Format is
# field_name => ['position', 'field_type', 'form-length', 'maxlength', 'not_null', 'default', 'valid_expr']

%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Type => [1, 'alpha', 0, 255, 1, '', ''],
Artist or Character => [2, 'alpha', 40, 255, 1, '', ''],
Album or Movie Title => [3, 'alpha', 40, 255, 1, '', ''],
Song => [4, 'alpha', 40, 255, 1, '', ''],
Released => [5, 'alpha', 0, 255, 1, '', ''],
Quote => [6, 'alpha', '40x3', 4000, 0, '', ''],
Userid => [7, 'alpha', -2, 15, 0, '', '']
);




Can anyone help me out?

Thanks in advance!



Quote Reply
Re: Help with installation.. errors.. In reply to
Field names with more than one word need to be surrounded with single quotes.

Installations:http://www.wiredon.net/gt/

Quote Reply
Re: Help with installation.. errors.. In reply to
Thanks for the help Paul :)

I'll give it a shot a little later.



Quote Reply
Re: Help with installation.. errors.. In reply to
Since you have your database up and running, you can now turn debugging off so it doesn't display your information.

In your .cfg file set:

$db_debug = 0;



Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Help with installation.. errors.. In reply to
Yeah I know.. I was gonna do some more work though with the look, so I figured I'd leave it on till it was completely done.

Thanks anyway though,

Jon