
digioleg54
User
May 2, 2017, 9:52 AM
Post #1 of 6
(1264 views)
|
Premature end of script headers: php-5.5.38, referer: https://staging.int1.dev.fiss.us.intranet.db.com:652/apps/tests.pl
|
Can't Post
|
|
when I run the test script and connection closed
use DBI; use DBD::Oracle; use Spreadsheet::ParseExcel; use File::Basename; use strict; use warnings; my($lib_path,$data_path); BEGIN{ $lib_path=$ENV{'DWEB_SITE_PATH'}; $data_path=$ENV{'DWEB_SITE_CGI_DATADIR'}; } use lib $lib_path.'/lib/web'; require 'GetDates.pl'; print "Content-type: text/html\n\n"; require "dteacl_b.pl"; my $ORACLEHOME = $ENV{'ORACLE_HOME'}; my $this_dbh = &db_connect({'DSN'=> 'NYFISSAD'}); my $sql=(q{SELECT TO_CHAR((parameter_date),'YYYYMMDD') FROM dte_parameter where parameter_name = 'MONITOR_DATE'}); my $this_sth = $this_dbh->prepare($sql); $this_sth->execute(); while (my $process_date = $this_sth->fetchrow_array) { print "Content-type: text/plain\n\n DTE PROCESSING DATE IS $process_date\n"; } &close_and_exit(\$this_dbh); in error log I get a message:
Premature end of script headers: php-5.5.38, referer: https://staging.int1.dev.fiss.us.intranet.db.com:652/apps/tests.pl What it means ? Thanks
|