[ic] Ambogius Errormessage

Tobias Henle interchange-users@interchange.redhat.com
Mon Nov 12 03:37:01 2001


Hi mr. Racke,

i have looked for the datatypes and found some differences, but they 
seem not to be the problem, my meta info for the cat table looks like:

inwashopdb=# \d cat
                           Table "cat"
    Attribute   |          Type          |       Modifier
---------------+------------------------+-----------------------
  code          | character varying(20)  | not null
  sel           | character varying(64)  | not null default ''
  name          | character varying(64)  | not null default ''
  which_page    | character(128)         |
  sort          | character varying(4)   | not null default 'ZZ'
  display_type  | character varying(128) |
  image         | character(128)         |
  image_prop    | character(128)         |
  banner_image  | character(128)         |
  banner_text   | character(128)         |
  link_type     | character varying(128) |
  url           | character(128)         |
  tab           | character(128)         |
  page          | character(128)         |
  search        | character(128)         |
  selector      | character varying(128) |
  link_template | character(128)         |
Indices: cat_code,
          cat_pkey


and the only difference is, that the character(128) are text fields in 
the foundation-shop.
The sort-field, which seems to cause this error is the same:

foundation=# \d cat
                           Table "cat"
    Attribute   |         Type          |       Modifier
---------------+-----------------------+-----------------------
[...]
  sort          | character varying(4)  | not null default 'ZZ'
[...]

xxx.xxx.xxx.xxx wSk8mYAr:xxx.xxx.xxx.xxx - [12/November/2001:10:03:35 
+0100] inwa /cgi-bin/inwa/process.html Safe: Uncaught exception from 
user code:
 >       Can't locate DBI object method "do" via package "DBD::Pg::db" 
at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1129.
 >       Vend::Table::DBI::__ANON__(10066, 0001) called at (eval 451) line 5
 >       eval '
 >       my $db = $Db{cat} || return;
 >       my $settor = $db->field_settor(\'sort\');
 >       foreach ( @{ $Scratch->{cat_sort} } ) {
 >               $settor->( @$_ );
 >       }
 >       delete $Scratch->{start_sort};
 >       return;
 >
[something what looks like a error-stacktrace]


mit freundlichen Grüßen

-Tobias Henle
                          _   _    _
  __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _    __ ___ _ __
  \ V  V /\ V  V /\ V  V /  _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ '  \
   \_/\_/  \_/\_/  \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
	mailto:t.henle@thiesen.com    http://www.thiesen.com
_____________________________________________________________________