Leser: 2
|< 1 2 3 >| | 25 Einträge, 3 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use Env;
use File::Basename;
use DBI;
use lib dirname(__FILE__) . '';
use CGI;
use CGI::Carp "fatalsToBrowser";
use CGI::Session;
my $cgi = new CGI;
my $session = new CGI::Session(undef, $cgi, {Directory=>'/tmp/session'}) or die CGI::Session->errstr;
1
2
session.cgi: Use of uninitialized value in concatenation (.) or string at /opt/webserver/software/perl/lib/5.6.1/CGI/Session.pm line 128.
Can't locate object method "generate_id" via package "CGI::Session::ID::" at /opt/webserver/software/perl/lib/5.6.1/CGI/Session.pm line 74.
my $session = new CGI::Session(undef, undef, {Directory=>'/tmp/session'}) or die
my $session = new CGI::Session("driver:file", $cgi, {Directory=>'/tmp/session'}) or die
Quotekönnte die Perlversion das Problem sein ? Was ergibt die Eingabe von "perl -v" ?5.6.1
1
2
3
4
5
6
[Tue May 8 14:06:12 2007] Session.pm: Can't locate auto/CGI/Session/autosplit.ix in @INC (@INC contains: /home/cgicmd/cgi-bin/lib/5.6.1/sun4-solaris /home/cgicmd/cgi-bin/lib/5.6.1 /home/cgicmd/cgi-bin/lib /opt/webserver/software/perl/lib/5.6.1/sun4-solaris /opt/webserver/software/perl/lib/5.6.1 /opt/webserver/software/perl/lib/site_perl/5.6.1/sun4-solaris /opt/webserver/software/perl/lib/site_perl/5.6.1 /opt/webserver/software/perl/lib/site_perl .) at /opt/webserver/software/perl/lib/5.6.1/AutoLoader.pm line 146.
[Tue May 8 14:06:12 2007] Session.pm: at /home/cgicmd/cgi-bin/lib/5.6.1/CGI/Session.pm line 9
[Tue May 8 14:06:12 2007] session.cgi: CGI::Session doesn't seem to be a valid CGI::Session driver. At least one method ('store') is missing at /home/cgicmd/cgi-bin/lib/5.6.1/CGI/Session.pm line 150
[Tue May 8 14:06:12 2007] session.cgi: CGI::Session::_validate_driver('CGI::Session=HASH(0x364d64)') called at /home/cgicmd/cgi-bin/lib/5.6.1/CGI/Session.pm line 55
[Tue May 8 14:06:12 2007] session.cgi: CGI::Session::new('CGI::Session') called at /home/cgicmd/cgi-bin/session.cgi line 23
[Tue May 8 14:06:12 2007] Carp.pm: (in cleanup) Can't locate auto/CGI/Session/store.al in @INC (@INC contains: /home/cgicmd/cgi-bin/lib/5.6.1/sun4-solaris /home/cgicmd/cgi-bin/lib/5.6.1 /home/cgicmd/cgi-bin/lib /opt/webserver/software/perl/lib/5.6.1/sun4-solaris /opt/webserver/software/perl/lib/5.6.1 /opt/webserver/software/perl/lib/site_perl/5.6.1/sun4-solaris /opt/webserver/software/perl/lib/site_perl/5.6.1 /opt/webserver/software/perl/lib/site_perl .) at /home/cgicmd/cgi-bin/lib/5.6.1/CGI/Session.pm line 429
|< 1 2 3 >| | 25 Einträge, 3 Seiten |