Hello All - attempting to install the single Upload Module. Windows 2000 with IIS. Have been attempting to include JB Deni script instructions, but some things are confusing. - Is there one set of instructions just relative to the SQL version? Help please - Thanks in advance.
Some confusing instructions:
db.cgi
--------
In sub add_record the while statement doesn't exist, but after:: $status = &validate_record; }
we did add:: if (($status eq "ok") && ....etc.
In sub delete_records the following does not exist::
$delete_list{$data[$db_key_pos]} ?
($delete_list{$data[$db_key_pos]} = 0) :
($output .= $line . "\n");
and we have yet to include the code as instructed
default.cfg
--------------
Graphic => [11,'alpha',0,255,0,'','Yes']
Filename => [10,'alpha',0,255,0,'','']
the alpha field type doesn't appear to be acceptable in SQL and we have changed this to
Filename=>[14,'CHAR',0,255,0,'','',0],
Graphic=>[15,'CHAR',0,255,0,'','Yes',0]
----------------------
In attempting to execute
http://localhost/cgi-bin/dbsql102/db.cgi
we get following error:
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
syntax error at c:\inetpub\wwwroot\cgi-bin\dbsql102\db.cgi line 243, near "else"
Execution of c:\inetpub\wwwroot\cgi-bin\dbsql102\db.cgi aborted due to compilation errors.
Some confusing instructions:
db.cgi
--------
In sub add_record the while statement doesn't exist, but after:: $status = &validate_record; }
we did add:: if (($status eq "ok") && ....etc.
In sub delete_records the following does not exist::
$delete_list{$data[$db_key_pos]} ?
($delete_list{$data[$db_key_pos]} = 0) :
($output .= $line . "\n");
and we have yet to include the code as instructed
default.cfg
--------------
Graphic => [11,'alpha',0,255,0,'','Yes']
Filename => [10,'alpha',0,255,0,'','']
the alpha field type doesn't appear to be acceptable in SQL and we have changed this to
Filename=>[14,'CHAR',0,255,0,'','',0],
Graphic=>[15,'CHAR',0,255,0,'','Yes',0]
----------------------
In attempting to execute
http://localhost/cgi-bin/dbsql102/db.cgi
we get following error:
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
syntax error at c:\inetpub\wwwroot\cgi-bin\dbsql102\db.cgi line 243, near "else"
Execution of c:\inetpub\wwwroot\cgi-bin\dbsql102\db.cgi aborted due to compilation errors.