Gossamer Forum
Home : Products : DBMan : Discussions :

Re: [destiny] Can't add or Delete records

Quote Reply
Re: [destiny] Can't add or Delete records In reply to
Yes, you can just delete the record or make note of what pipes are missing and add them manually.

One record can corrupt the whole database and cause it to not work properly. I have found that by removing trailing and leading spaces in fields there is less chance of problems with corruption.

In your db.cgi file within sub parse_form

after:

$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;

add:

$value =~ s/^\s+//g; # Trim leading blanks
$value =~ s/\s+$//g; # Trim trailing blanks

Hopefully this will prevent problems in the future.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Subject Author Views Date
Thread Can't add or Delete records destiny 4907 Aug 27, 2003, 10:44 AM
Thread Re: [destiny] Can't add or Delete records
Watts 4835 Aug 27, 2003, 12:11 PM
Thread Re: [Watts] Can't add or Delete records
destiny 4820 Aug 28, 2003, 10:44 AM
Thread Re: [destiny] Can't add or Delete records
LoisC 4827 Aug 29, 2003, 11:53 PM
Thread Re: [LoisC] Can't add or Delete records
destiny 4754 Sep 3, 2003, 2:03 PM
Thread Re: [destiny] Can't add or Delete records
LoisC 4751 Sep 3, 2003, 8:24 PM
Thread Re: [LoisC] Can't add or Delete records
destiny 4741 Sep 4, 2003, 8:34 AM
Post Re: [destiny] Can't add or Delete records
LoisC 4748 Sep 4, 2003, 10:45 PM