every time end up with a new error: the error i get now is:#!/jic-atidb/perl/bin/perl package TOPO; use warnings; use Carp; use base 'Apache::MVC'; use Class::DBI::Loader::Relationship; use Data::Dumper; use Maypole::Constants; my $title = "TOPO database. Very rudimentary interface as a starting p +oint for development."; TOPO->setup("dbi:mysql:topo_interpro2","nobody","",{AutoCommit => 1, P +rintError => 1}); TOPO->config->{uri_base} = "http://atidb.org/topo/"; TOPO->config->{rows_per_page} = 20; TOPO->config->{template_root} = "/jic-atidb/w3/topo/"; TOPO->config->{application_name} = $title; TOPO->config->{display_tables} =[qw[ENTRY ABSTRACT]]; TOPO->config->{loader}->relationship($_) for ("entries has abstracts"); 1; sub debug { return 2; } 1;
failed to resolve handler `TOPO': Can't call method "has_many" on an undefined value at /home/jic-atidb/lib/site_perl/5.8.0//Class/DBI/Loader/Relationship.pm line 96.\nCompilation failed in require at (eval 4) line 3.\n, referer: http://www.atidb.org/topo could any one help hw to solve this. thanks rev
In reply to wats the error in maypole :( by revtopo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |