Gossamer Forum
Home : Products : DBMan : Installation :

ID field

Quote Reply
ID field
Ok i got dbman all installed and customized but the ID field no longer works i want it so it has the counter starting from 1 on up but it just dont work anymore.

any sugjestions?

thx

Quote Reply
Re: ID field In reply to
There's a few things you should check here:

In default.cfg:

1) You have set $db_key to 'ID'
2) You have set $db_key_track to 1
3) Your path to the count ($db_id_file_name) file is set properly
(default is $db_script_path . "/default.count")
4) Your ID field is type 'numer' (just for sorting puposes)

Then in html.pl

1) You are calling the field properly - $rec{'ID'}
(assuming you aren't using auto-generate)

These are the more obvious errors that could come about... It's just a matter of double-checking everything. If all else fails, you may want someone to look over your files (sometimes a second pair of eyes helps Smile).

Good luck!

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: ID field In reply to
thanks man yur a big help

Quote Reply
Re: ID field In reply to
ok it is still screwed up when i go to post a new entrie it has the correct number in it but when it gets posted it just says admin

now what should i do? i have checked all the files

thx

Quote Reply
Re: ID field In reply to
This and several other troubleshooting threads can be located in the FAQ noted below:

Userid not showing up in the assigned field
http://gossamer-threads.com/p/88285



Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/