nsoracle.c:3904:ora_tcl_command: error in `OCIStmtExecute ()': ORA-24324: service handle not initialized
SQL: select to_char(sysdate, 'YYYY') AS year FROM dual
while executing
"ns_ora 0or1row nsdb0 {select to_char(sysdate, 'YYYY') AS year FROM dual}"
("uplevel" body line 1)
invoked from within
"uplevel 2 [list ns_ora $type $db $sql] $args"
invoked from within
"db_exec 0or1row $db $statement_name $sql"
invoked from within
"set selection [db_exec 0or1row $db $statement_name $sql]"
("uplevel" body line 2)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle db {
set selection [db_exec 0or1row $db $statement_name $sql]
}"
(procedure "db_0or1row" line 19)
invoked from within
"db_0or1row time_query "select to_char(sysdate, 'YYYY') AS year FROM dual""
("uplevel" body line 36)
invoked from within
"uplevel {
set server_ip [ns_info address]
set first_directory [lindex [ns_conn urlv] 0]
set second_directory [lindex [ns_conn urlv] 1]
set ta..."
(procedure "code::tcl::/web/wgbh/www/wgbh/elements/thanks" line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {
if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 3)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 31)
invoked from within
"template::adp_parse [template::util::url_to_file "thanks" "$__adp_stub"] [list]"
invoked from within
"append __adp_output [template::adp_parse [template::util::url_to_file "thanks" "$__adp_stub"] [list]]"
("uplevel" body line 10)
invoked from within
"uplevel {
set __adp_output ""
append __adp_output "<!doctype html public \"-//w3c//dtd html 3.2//en\">
"
if { [info exists __adp_slave] } ..."
(procedure "template::code::adp::/web/wgbh/www/wgbh/elements/template-no..." line 2)
invoked from within
"template::code::${template_extension}::$__adp_stub"
(procedure "template::adp_parse" line 58)
invoked from within
"template::adp_parse $__adp_master [concat [list __adp_slave $__adp_output] [array get __adp_properties]]"
(procedure "template::adp_parse" line 64)
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 7)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$path""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$path"
set tcl_url2file([ad_conn url]) [ad_conn file]
set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."