Hi List,
I have two servers using mod_perl, both having the same modules installed and enabled; server1 got a fresh install of Debian Buster, while server2 was upgraded to Buster from Stretch.
This code :
my $cookie = CGI::Cookie->new(-name => 'session',
-value => $session_id,
-domain => $hostname
) ;
generates the following error on server2 :
[Sun May 31 19:54:03.053725 2020] [perl:error] [pid 30663] [client 83.113.48.133:59196] Can't locate object method "new" via package "CGI::Cookie" (perhaps you forgot to load "CGI::Cookie"?) at /home/lib/Marica/Base/login.pm line 198.\n, referer: https://marica.fr/site/abonnes/index.html
It works fine if add "use CGI::Cookie" to my module.
What could be the reason why it works on server1 without "use CGI::Cookie" and not on server2?
--
https://compta.libremen.com
Logiciel libre de comptabilit? g?n?rale en partie double
I have two servers using mod_perl, both having the same modules installed and enabled; server1 got a fresh install of Debian Buster, while server2 was upgraded to Buster from Stretch.
This code :
my $cookie = CGI::Cookie->new(-name => 'session',
-value => $session_id,
-domain => $hostname
) ;
generates the following error on server2 :
[Sun May 31 19:54:03.053725 2020] [perl:error] [pid 30663] [client 83.113.48.133:59196] Can't locate object method "new" via package "CGI::Cookie" (perhaps you forgot to load "CGI::Cookie"?) at /home/lib/Marica/Base/login.pm line 198.\n, referer: https://marica.fr/site/abonnes/index.html
It works fine if add "use CGI::Cookie" to my module.
What could be the reason why it works on server1 without "use CGI::Cookie" and not on server2?
--
https://compta.libremen.com
Logiciel libre de comptabilit? g?n?rale en partie double