in reply to Re: time passed calculation
in thread time passed calculation
after uploading the script this is the error i get, how can i fix it
[Thu Jan 27 13:40:19 2022] [error] [pid 21201] mod_cgi.c(175): [client + 197.234.242.191:44580] AH01215: Use of uninitialized value in lc at +(eval 9) line 15.: /usr/home/file.pl [Thu Jan 27 13:40:19 2022] [error] [pid 21201] mod_cgi.c(175): [clien +t 197.234.242.191:44580] AH01215: Validation failed for type named Nu +m declared in package Specio::Library::Builtins (/usr/local/share/per +l/5.26.1/Specio/Library/Builtins.pm) at line 139 in sub named (eval) +with value undef: /usr/home/file.pl [Thu Jan 27 13:40:19 2022] [error] [pid 21201] mod_cgi.c(175): [clien +t 197.234.242.191:44580] AH01215: Trace begun at Specio::Exception->n +ew line 57: /usr/home/file.pl [Thu Jan 27 13:40:19 2022] [error] [pid 21201] mod_cgi.c(175): [clien +t 197.234.242.191:44580] AH01215: Specio::Exception::throw('Specio::E +xception', 'message', 'Validation failed for type named Num declared +in package Specio::Library::Builtins (/usr/local/share/perl/5.26.1/Sp +ecio/Library/Builtins.pm) at line 139 in sub named (eval) with value +undef', 'type', 'Specio::Constraint::Simple=HASH(0x55cf92bf0450)', 'v +alue', undef) called at (eval 226) line 88: /usr/home/file.pl [Thu Jan 27 13:40:19 2022] [error] [pid 21201] mod_cgi.c(175): [clien +t 197.234.242.191:44580] AH01215: DateTime::_check_from_epoch_params( +'epoch', undef) called at /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 +/DateTime.pm line 481: /usr/home/file.pl [Thu Jan 27 13:40:19 2022] [error] [pid 21201] mod_cgi.c(175): [clien +t 197.234.242.191:44580] AH01215: DateTime::from_epoch('DateTime', 'e +poch', undef) called at file.pl line 63: /usr/home/file.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: time passed calculation
by Anonymous Monk on Jan 28, 2022 at 17:09 UTC | |
|
Re^3: time passed calculation
by frank1 (Monk) on Jan 27, 2022 at 18:55 UTC | |
by frank1 (Monk) on Jan 27, 2022 at 19:32 UTC |