laziness, impatience, and hubris | |
PerlMonks |
DBI::db error I am confused!by traincity (Sexton) |
on Jan 03, 2021 at 19:39 UTC ( [id://11126230]=perlquestion: print w/replies, xml ) | Need Help?? |
traincity has asked for the wisdom of the Perl Monks concerning the following question:
Hi...
I am trying to go localhost on Windows using strawberry. Strawberry Perl (64-bit) 5.30.0.1-64bit Apache 2.4. 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.
Back to
Seekers of Perl Wisdom
|
|