Re: new in CGI::Session::Driver::postgredsql nonexisting



On Jun 29, 1:04 am, IDK <ulvi...@xxxxxxxxx> wrote:
On Jun 28, 9:46 pm, "J. Gleixner" <glex_no-s...@xxxxxxxxxxxxxxxxxxxxx>
wrote:



IDK wrote:
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:

Now you should do some debugging before posting 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.

Niklas,

Are you sure you are passing the all the params correctly in your
program ?

I use CGI::Session version 4.20 .. and it all works fine ..
[root@deepdark gautam]# perl -MCGI::Session -e 'print
$CGI::Session::VERSION, "\n";'
4.20

If you are sure that your program is correct, you might want to run it
under the debugger and
see what arguments are being passed to DBI->connect( ) from the code
in /usr/share/perl5/CGI/Session/Driver/DBI.pm at line 26

One thing that we can be sure of from the error msg you pasted is that
DBI->connect didn't get its params correctly ...

- Gautam

.



Relevant Pages

  • Re: unable to set breakpoint
    ... I am not sure if the word "not" is a typo or not since you said you had ... of VS debugger. ... the source paths do seem to work well when needed. ... The PDB file format is undocumented, so I do not know of a tool to examine ...
    (microsoft.public.vc.debugger)
  • Re: error msg in outlook express 6
    ... yes, there was a typo, it was com. in her address. ... also in the error msg. ... i called the provider and they said to send her email thru webmail. ... 'smtp.west.cox.net', Protocol: SMTP, Server Response: '550 5.5.0 ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: error msg in outlook express 6
    ... in fact, i have nod 32. ... yes, there was a typo, it was com. in her address. ... also in the error msg. ... 'smtp.west.cox.net', Protocol: SMTP, Server Response: '550 5.5.0 ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: New Oject() {} vs. New Object(-1) {}
    ... Thanks for the replies (and for tolerance of the typo). ... I had seen no difference in the debugger, but the guidance from microsoft ...
    (microsoft.public.dotnet.languages.vb)
  • Re: error msg in outlook express 6
    ... yes, there was a typo, it was com. in her address. ... also in the error msg. ... i called the provider and they said to send her email thru webmail. ... 'smtp.west.cox.net', Protocol: SMTP, Server Response: '550 5.5.0 ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)