Re: new in CGI::Session::Driver::postgredsql nonexisting
- From: IDK <ulvinge@xxxxxxxxx>
- Date: Thu, 28 Jun 2007 18:53:52 -0000
On Jun 28, 8:38 pm, goodgautam <gautam.chek...@xxxxxxxxx> wrote:
In your code the first param being passed to CGI::Session's
constructor reads : "driver:postgredsql;id:md5" ..
Is that a typo in the code too ( s~postgredsql~postgresql~; ) ? I
think it should be like driver:postgresql ...http://search.cpan.org/dist/CGI-Session/lib/CGI/Session/Driver/postgr...
Wow, that's it!
Thanks!
But now it gives me another error:
[Thu Jun 28 20:52:39 2007] login: (in cleanup) Can't connect to
data source '' because I can't work out what driver to use (it doesn't
seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is
not set) at /usr/share/perl5/CGI/Session/Driver/DBI.pm line 26
[Thu Jun 28 20:52:39 2007] login: (in cleanup) Can't call method
"commit" on unblessed reference at /usr/share/perl5/CGI/Session/Driver/
DBI.pm line 130 during global destruction.
.
- Follow-Ups:
- Re: new in CGI::Session::Driver::postgredsql nonexisting
- From: J. Gleixner
- Re: new in CGI::Session::Driver::postgredsql nonexisting
- References:
- new in CGI::Session::Driver::postgredsql nonexisting
- From: IDK
- Re: new in CGI::Session::Driver::postgredsql nonexisting
- From: goodgautam
- new in CGI::Session::Driver::postgredsql nonexisting
- Prev by Date: Re: FAQ 2.11 Perl Books
- Next by Date: Re: "Convert" perl command line to simple script
- Previous by thread: Re: new in CGI::Session::Driver::postgredsql nonexisting
- Next by thread: Re: new in CGI::Session::Driver::postgredsql nonexisting
- Index(es):