traincity has asked for the wisdom of the Perl Monks concerning the following question:
Seems to work ok with workbench until I got to a perl script that writes to the database. Initially I get this error:
'Sun Jan 03 13:58:34.152049 2021 cgi:error pid 4756:tid 1100 client ::1:56303 AH01215: Can't locate object method "finish" via package "DBI::db" at C:/Apache24/htdocs/choo/cgi-bin/ua/newitem.pl line 65.\r: C:/Apache24/htdocs/choo/cgi-bin/ua/newitem.pl, referer: http://localhost/choo/cgi-bin/ua/newitem.pl'
I know dbi is in strawberry/perl/vendor/lib So I'm not sure if it is a configuration problem with apache or something else. This program works well online. I am trying to get it to work localhost for testing purposes. Thanks much for any help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI::db error I am confused!
by 1nickt (Canon) on Jan 03, 2021 at 19:50 UTC | |
|
Re: DBI::db error I am confused!
by kcott (Archbishop) on Jan 04, 2021 at 01:48 UTC | |
|
Re: DBI::db error I am confused!
by Bod (Parson) on Jan 03, 2021 at 21:19 UTC | |
by traincity (Sexton) on Jan 03, 2021 at 21:39 UTC | |
by stevieb (Canon) on Jan 03, 2021 at 21:49 UTC | |
by Bod (Parson) on Jan 03, 2021 at 21:50 UTC | |
by Bod (Parson) on Jan 03, 2021 at 21:53 UTC | |
|
Re: DBI::db error I am confused!
by Anonymous Monk on Jan 04, 2021 at 16:40 UTC | |
by traincity (Sexton) on Jan 04, 2021 at 21:33 UTC | |
by stevieb (Canon) on Jan 04, 2021 at 21:49 UTC |