I have a new problem that I cannot figure out. I get the above message. I am
using CGIDEV2.



The problem is that something is failing when I display my error section
/$messages. It generates the following, all other sections work correctly:



Here is the message from the log:

[Mon Aug 13 21:51:20 2012] [error] [client 192.168.250.80] ZSRV_MSG0108:
Header from script is not valid. Bad header is <!--- 5 --
------------------------------------------------------------>: File name is
/QSYS.LIB/A4G_TRAINW.LIB/webrpg14.pgm, referer: ..



Here is my HTML code:



/$Header

Content-type: text/html



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



<html>

<head>

<title>Change Customer Master - /%cust_no%/</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<link rel="StyleSheet" href="/amcu_cgi/css/AMCU.css" media="screen"
type="text/css">

</head>



<body>

<!--- 1 -------------------------------------------------------------->

<!-- Banner details -->

<!--- 2 -------------------------------------------------------------->

/$banner

<table width="100%" border="1" cellpadding="1" cellspacing="1" >

<tr>

<td class="textcenter">This is a banner heading</td>

</tr>

</table>

<!--- 3 -------------------------------------------------------------

<!--Messages record

<!--- 4 ------------------------------------------------------------ -->

/$Messages

<h1>Error Log: No parameters were passed to the program</h1>

<!--- 5 --------------------------------------------------------------->

<!-- Display the master record -->

<!--- 6 --------------------------------------------------------------->

/$table01

<br>

<center>

<form id="Form1" method="post" action="/amcu_cgi/webrpg14.pgm" >

<table width="80%" border="5" cellpadding="5" cellspacing="5" >

<tr>

<td class="textright" width="35%">Customer Number :</td>

<td class="text" width="65%">/%Cust_No%/</td>

</tr>

<tr>

<td class="textright" width="35%">Customer Name :</td>

<td class="text" width="65%"><input type="text"
value="/%Cust_Name%/"> </td>

</tr>

<tr>

<td class="textright" width="35%">Address 1 :</td>

<td class="text" width="65%" ><input type="text"
value="/%address_1%/"> </td>

</tr>

<tr>

<td class="textright" width="35%">Address 2 :</td>

<td class="text" width="65%"><input type="text"
value="/%address_2%/"> </td>

</tr>

<tr>

<td class="textright" width="35%">City :</td>

<td class="text" width="65%"><input type="text" value="/%city%/">
</td>

</tr>

<tr>

<td class="textright" width="35%">State :</td>

<td class="text" width="65%"><input type="text" value="/%state%/"
</td>

</tr>

<tr>

<td class="textright" width="35%">Zip :</td>

<td class="text" width="65%"><input type="text" value="/%zip%/">
</td>

</tr>

<tr>

<td class="textright" width="35%">Work telephone number :</td>

<td class="text" width="65%"><input type="text"
value="/%tel_work%/"> </td>

</tr>

<tr>

<td class="textright" width="35%">Mobile telephone number :</td>

<td class="text" width="65%"><input type="text"
value="/%tel_mobile%/"> </td>

</tr>

<tr>

<td>&nbsp</td>

<td><input type="submit" value="Change customer" > </td>

</tr>

</table>

</form>

</center>

<br>

<!--- 8 ----------------------------------------------------------------->

<!--- Display the footer record ->

<!--- 9 ------------------------------------------------------------------>

/$Footer

<table width="100%" border="1" cellpadding="1" cellspacing="1" >

<tr>

<td><center><a href="/amcu_cgi/ex13.pgm">Return to List</a> |
Application: EX13</center></td>

</tr>

</table>





</body>

</html>





Darryl Freinkel | Assignment 400 Group, Inc.

Tel: 770.321.8562 ext 111 | Fax 770.321.8562

2247 La Salle Dr, Marietta GA, 30062, USA | PO Box 72556, Marietta, GA
30007-2556

E-mail: dfreinkel@xxxxxxxxxxxxxxxxx

Web: www.assignment400.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.