What the HTML Source Code Looks Like for this retrieval form:
<HTML>
<!.. Copyright 2001, fP Technologies,Inc. All Rights Reserved>
<!.. Author Lee Machan>
<!.. Last Revision 3/21/2001 LHM>
<SCRIPT language=javascript>
function getHost()
{ var fphost=location.hostname
document.myform.action="http://" + fphost + "/cgi-bin/fpcgi"
}
</SCRIPT>
<BODY onload="getHost()">
<FORM name="myform" ACTION="" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="Field_ddir" value="/usr/local/apache/htdocs/">
<INPUT TYPE="Hidden" NAME="Field_rn" VALUE="1">
<INPUT TYPE="HIDDEN" NAME="Field_base" value="xdemo" >
<INPUT TYPE="HIDDEN" NAME="Field_fn" value="democgi" >
<INPUT type="hidden" name="Field_cmd" value="rreport democgi -sr 1 -fp demofind -n">
<INPUT type="hidden" name="Return" value="fpcgidemosco.htm"
<CENTER>
<table border=0>
<TR>
<TD><B><I>Retrieve any Messages You Saved?</I></B></TD>
<TR>
</TABLE>
<TABLE BORDER="3" bgcolor="#D3D3D3">
<TR>
<TD ALIGN="RIGHT"><I>Search Value?</I></TD>
<TD colspan=5><INPUT name="UsingThis" size="40" maxlength="40" ></TD>
</TR>
<TR>
<TD>
<SELECT SIZE="1" NAME="Field_newonly">
<OPTION VALUE="Y" SELECTED="SELECTED">Show New Messages Only</OPTION>
<OPTION VALUE="N">Show New and Read</OPTION>
</SELECT>
</TD>
<TD colspan=5>
<SELECT SIZE="1" NAME="Field_findby">
<OPTION VALUE="indexA" SELECTED="SELECTED">Find by Your Customer Code</OPTION>
<OPTION VALUE="indexB">Find by From Last Name</OPTION>
<OPTION VALUE="indexC">Find by From Company Name</OPTION>
<OPTION VALUE="indexD">Find by From E-mail Address</OPTION>
<OPTION VALUE="indexE">Find by Message To Name</OPTION>
<OPTION VALUE="indexF">Find by Message Reference #</OPTION>
</SELECT>
</TD>
</TR>
</TABLE>
<HR>
<INPUT TYPE="Submit" VALUE="Retrieve Messages">
<INPUT TYPE="RESET" VALUE="Clear Form">
</CENTER>
<HR>
</FORM>
<BLOCKQUOTE>
<OL>
<LI>Enter the value of the item you want to search for.
<LI>Using the drop down list, select whether you want to view New only or New and Read.
<LI>Using the second drop down box, select the search criteria.
<LI>Click on the Retrieve Messages button.
</OL>
</BLOCKQUOTE>
<CENTER>
<P>You can use your browser to view the HTML source and see how fPcgi is set up to run filePro processing.</P>
<HR>
<IMG SRC="images/pwrfpcgi.gif">
<HR>
<H3>filePro and filePro Plus are registered trademarks
<BR>and fPcgi is a trademark of fP Technologies, Inc.</H3>
<font face="Verdana" size=-2>
Copyright 2001, fP Technologies, Inc. All Rights Reserved
<P><I>These sample HTML documents and filePro processing tables are covered under the terms and conditions of the fP Technologies, Inc. Program License Agreement</I></P>
</CENTER>
rev. 3/21/2001</font>
</BODY>
</HTML>
Mar 23, 2001 08:39 File Name: democgi Page 1
Processing: demofind
1 ------- - - - - - - - - - - - - - - - -
If: ' Copyright 2000, fP Technologies, Inc. All rights reserved
Then: declare fp_copyright, fp_ret
2 ------- - - - - - - - - - - - - - - - -
If:
Then: fp_copyright="Copyright 2000, fP Technologies, Inc. All rights rese
rved"
3 ------- - - - - - - - - - - - - - - - -
If: ' DEMOFIND example of processing that accepts a customer # and ret
urns an HTML document with list of messages
Then:
4 ------- - - - - - - - - - - - - - - - -
If:
Then: declare fp_fieldnumber, fp_contents, fp_os ,fp_newonly
5 ------- - - - - - - - - - - - - - - - -
If: ' default = show New and Read Messages
Then: fp_newonly="N"
6 ------- - - - - - - - - - - - - - - - -
If:
Then: fp_os = @os
7 ------- - - - - - - - - - - - - - - - -
isdos If: fp_os co "DOS"
Then:
8 ------- - - - - - - - - - - - - - - - -
isunix If: fp_os co "UNIX" OR fp_os co "LINUX"
Then:
9 ------- - - - - - - - - - - - - - - - -
If:
Then: dim flds(999):1
10 ------- - - - - - - - - - - - - - - - -
If: ' Canned txt file right now
Then: fn=@PW; fn=fn{".txt"
11 ------- - - - - - - - - - - - - - - - -
If:
Then: gosub htmlbld
12 ------- - - - - - - - - - - - - - - - -
get1 If: 'Import Record
Then: import ascii imp=(fn) f=255 r=\n
13 ------- - - - - - - - - - - - - - - - -
If: not imp
Then: goto done
14 ------- - - - - - - - - - - - - - - - -
arnd If:
Then: aa(1033,*) = imp(1)
15 ------- - - - - - - - - - - - - - - - -
If: aa eq " "
Then: goto get1
16 ------- - - - - - - - - - - - - - - - -
If: ' PARSE Input line uses first comma found
Then: v(3)=instr(aa,",");
17 ------- - - - - - - - - - - - - - - - -
If:
Then: ja(20)=mid(aa,"6",v-"6"); w(3)=v+"1"
18 ------- - - - - - - - - - - - - - - - -
If:
Then: jb(250)=mid(aa,w,"100");
19 ------- - - - - - - - - - - - - - - - -
If: ja co "_"
Then: gosub setidx; goto get1
Mar 23, 2001 08:39 File Name: democgi Page 2
Processing: demofind
20 ------- - - - - - - - - - - - - - - - -
If: mid(aa,"1","6") = "Return"
Then: fp_ret=jb ; goto get1
21 ------- - - - - - - - - - - - - - - - -
If: aa = "UsingThis"
Then: gosub findit ; goto get1
22 ------- - - - - - - - - - - - - - - - -
If:
Then: goto get1
23 ------- - - - - - - - - - - - - - - - -
findit If:
Then: io=mid(jb,"1","40")
24 ------- - - - - - - - - - - - - - - - -
If:
Then: return
25 ------- - - - - - - - - - - - - - - - -
setidx If: ja co "_fn" ' PUT Field_fn as first Hidden Field
Then: o(32,,g)=jb
26 ------- - - - - - - - - - - - - - - - -
If: ja co "_newonly" ' Set Show New Only Flag
Then: fp_newonly=jb
27 ------- - - - - - - - - - - - - - - - -
If: ja co "_findby" ' PUT Field_findby at end of hidden field
s
Then: ts=jb ; goto indrtn
28 ------- - - - - - - - - - - - - - - - -
If:
Then: return
29 ------- - - - - - - - - - - - - - - - -
indrtn If: ' INDEXA...B...C is stored in ts at this poi
nt
Then: tt=mid(ts,"6","1")
30 ------- - - - - - - - - - - - - - - - -
If: tt eq "A"
Then: goto indxa
31 ------- - - - - - - - - - - - - - - - -
If: tt eq "B"
Then: goto indxb
32 ------- - - - - - - - - - - - - - - - -
If: tt eq "C"
Then: goto indxc
33 ------- - - - - - - - - - - - - - - - -
If: tt eq "D"
Then: goto indxd
34 ------- - - - - - - - - - - - - - - - -
If: tt eq "E"
Then: goto indxe
35 ------- - - - - - - - - - - - - - - - -
If: tt eq "F"
Then: goto indxf
36 ------- - - - - - - - - - - - - - - - -
If: not ind
Then: goto norecs
37 ------- - - - - - - - - - - - - - - - -
If:
Then: n=ind[@rn]
38 ------- - - - - - - - - - - - - - - - -
If:
Then: lookup - r=n -np
Mar 23, 2001 08:39 File Name: democgi Page 3
Processing: demofind
39 ------- - - - - - - - - - - - - - - - -
If:
Then: return
40 ------- - - - - - - - - - - - - - - - -
indxa If:
Then: fb=io{""
41 ------- - - - - - - - - - - - - - - - -
If: fb=""
Then: goto norecs
42 ------- - - - - - - - - - - - - - - - -
If:
Then: lookup ind = (o) k=io i=A -npx
43 ------- - - - - - - - - - - - - - - - -
noa If: not ind ' first time
Then: goto norecs
44 ------- - - - - - - - - - - - - - - - -
againa If: not ind
Then: goto done
45 ------- - - - - - - - - - - - - - - - -
If: ind[1]= io
Then: gosub htmlmsg
46 ------- - - - - - - - - - - - - - - - -
If: ind[1] ne io
Then: goto done
47 ------- - - - - - - - - - - - - - - - -
If:
Then: getnext ind
48 ------- - - - - - - - - - - - - - - - -
If:
Then: goto againa
49 ------- - - - - - - - - - - - - - - - -
indxb If:
Then: fb=io{""
50 ------- - - - - - - - - - - - - - - - -
If: fb=""
Then: goto norecs
51 ------- - - - - - - - - - - - - - - - -
If:
Then: lookup ind = (o) k=io i=B -npx
52 ------- - - - - - - - - - - - - - - - -
nob If: not ind ' first time
Then: goto norecs
53 ------- - - - - - - - - - - - - - - - -
againb If: not ind
Then: goto done
54 ------- - - - - - - - - - - - - - - - -
If: ind[4] ne io
Then: goto done
55 ------- - - - - - - - - - - - - - - - -
If: ind[4]= io
Then: gosub htmlmsg
56 ------- - - - - - - - - - - - - - - - -
If:
Then: getnext ind
57 ------- - - - - - - - - - - - - - - - -
If:
Then: goto againb
58 ------- - - - - - - - - - - - - - - - -
indxc If:
Then: fb=io{""
Mar 23, 2001 08:39 File Name: democgi Page 4
Processing: demofind
59 ------- - - - - - - - - - - - - - - - -
If: fb=""
Then: goto norecs
60 ------- - - - - - - - - - - - - - - - -
If:
Then: lookup ind = (o) k=io i=C -npx
61 ------- - - - - - - - - - - - - - - - -
noc If: not ind ' first time
Then: goto norecs
62 ------- - - - - - - - - - - - - - - - -
againc If: not ind
Then: goto done
63 ------- - - - - - - - - - - - - - - - -
If: ind[6]= io
Then: gosub htmlmsg
64 ------- - - - - - - - - - - - - - - - -
If: ind[6] ne io
Then: goto done
65 ------- - - - - - - - - - - - - - - - -
If:
Then: getnext ind
66 ------- - - - - - - - - - - - - - - - -
If:
Then: goto againc
67 ------- - - - - - - - - - - - - - - - -
indxd If:
Then: fb=io{""
68 ------- - - - - - - - - - - - - - - - -
If: fb=""
Then: goto norecs
69 ------- - - - - - - - - - - - - - - - -
If:
Then: lookup ind = (o) k=io i=D -npx
70 ------- - - - - - - - - - - - - - - - -
nod If: not ind ' first time
Then: goto norecs
71 ------- - - - - - - - - - - - - - - - -
againd If: not ind
Then: goto done
72 ------- - - - - - - - - - - - - - - - -
If: ind[17]= io
Then: gosub htmlmsg
73 ------- - - - - - - - - - - - - - - - -
If: ind[17] ne io
Then: goto done
74 ------- - - - - - - - - - - - - - - - -
If:
Then: getnext ind
75 ------- - - - - - - - - - - - - - - - -
If:
Then: goto againd
76 ------- - - - - - - - - - - - - - - - -
indxe If:
Then: fb=io{""
77 ------- - - - - - - - - - - - - - - - -
If: fb=""
Then: goto norecs
78 ------- - - - - - - - - - - - - - - - -
If:
Then: lookup ind = (o) k=io i=E -npx
Mar 23, 2001 08:39 File Name: democgi Page 5
Processing: demofind
79 ------- - - - - - - - - - - - - - - - -
noe If: not ind ' first time
Then: goto norecs
80 ------- - - - - - - - - - - - - - - - -
againe If: not ind
Then: goto done
81 ------- - - - - - - - - - - - - - - - -
If: ind[23]= io ' FLAG MESSAGE AS READ
Then: gosub htmlmsg ; ind[25]="Y"
82 ------- - - - - - - - - - - - - - - - -
If: ind[23] ne io
Then: goto done
83 ------- - - - - - - - - - - - - - - - -
If:
Then: getnext ind
84 ------- - - - - - - - - - - - - - - - -
If:
Then: goto againe
85 ------- - - - - - - - - - - - - - - - -
indxf If:
Then: fb=io{""
86 ------- - - - - - - - - - - - - - - - -
If: fb=""
Then: goto norecs
87 ------- - - - - - - - - - - - - - - - -
If:
Then: lookup ind = (o) k=io i=F -npx
88 ------- - - - - - - - - - - - - - - - -
nof If: not ind ' first time
Then: goto norecs
89 ------- - - - - - - - - - - - - - - - -
againf If: not ind
Then: goto done
90 ------- - - - - - - - - - - - - - - - -
If: ind[24]= io
Then: gosub htmlmsg
91 ------- - - - - - - - - - - - - - - - -
If: ind[24] ne io
Then: goto done
92 ------- - - - - - - - - - - - - - - - -
If:
Then: getnext ind
93 ------- - - - - - - - - - - - - - - - -
If:
Then: goto againf
94 ------- - - - - - - - - - - - - - - - -
HTMLBLD If: ' Create return document using fpcgi provided -rw flag value
Then: html "1" :CR @pw{".htm" :TI "Return Thank You"
95 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :BO
96 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :HR
97 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :CE
98 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :FN :CO "#FF0000"
Mar 23, 2001 08:39 File Name: democgi Page 6
Processing: demofind
99 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :TX "Your Stored Message(s):"
100 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX "<BR>Unread Messages are shown in red..."
101 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :FN-
102 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TA :BO "2"
103 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TR
104 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH :AL "Center"
105 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX "Message to"
106 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH-
107 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH :AL "Center"
108 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX "From"
109 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH-
110 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH :AL "Center"
111 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX "Date"
112 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH-
113 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH :AL "Center"
114 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX "Time"
115 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH-
116 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH :AL "Center"
117 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX "Ref #:"
118 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH-
Mar 23, 2001 08:39 File Name: democgi Page 7
Processing: demofind
119 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH :AL "Center"
120 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX "Message"
121 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH-
122 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH :AL "Center"
123 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX "Call Them?"
124 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TH-
125 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TR-
126 ------- - - - - - - - - - - - - - - - -
If:
Then: RETURN
127 ------- - - - - - - - - - - - - - - - -
HTMLMSG If: ' format each message into table row here
Then:
128 ------- - - - - - - - - - - - - - - - -
If: fp_newonly ="Y" AND ind[25]="Y" ' If Show only New = "Y" and mes
sage is already read.
Then: return
129 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TR
130 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD :AL "left" :VL "Top"
131 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX ind[23]
132 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD-
133 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD :AL "left" :VL "Top"
134 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX ind[2]<ind[3]<ind[4]
135 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD-
136 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD :AL "left" :VL "Top"
137 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX ind[19]
138 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD-
Mar 23, 2001 08:39 File Name: democgi Page 8
Processing: demofind
139 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD :AL "center" :VL "Top"
140 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX ind[21]
141 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD-
142 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD :AL "left" :VL "Top"
143 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX (ind[24])
144 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD-
145 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD :AL "left" :VL "Top"
146 ------- - - - - - - - - - - - - - - - -
If: ind[25]="N"
Then: HTML "1" :FN :CO "red"
147 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX ind[22]
148 ------- - - - - - - - - - - - - - - - -
If: ind[25]="N"
Then: HTML "1" :FN-
149 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD-
150 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD :AL "center" :VL "Top"
151 ------- - - - - - - - - - - - - - - - -
If: ind[26]="Y"
Then: HTML "1" :FN :CO "red"
152 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX ind[26]
153 ------- - - - - - - - - - - - - - - - -
If: ind[26]="Y"
Then: HTML "1" :FN-
154 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TD-
155 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TR-
156 ------- - - - - - - - - - - - - - - - -
If:
Then: return
157 ------- - - - - - - - - - - - - - - - -
NORECS If:
Then:
158 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :FN :CO "#FF0000"
Mar 23, 2001 08:39 File Name: democgi Page 9
Processing: demofind
159 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :TX "No messages were found as specified below"
160 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :FN-
161 ------- - - - - - - - - - - - - - - - -
done If:
Then: HTML "1" :HR
162 ------- - - - - - - - - - - - - - - - -
HTMLEND If:
Then: html "1" :TA-
163 ------- - - - - - - - - - - - - - - - -
If: fb=""
Then: io="No value specified"
164 ------- - - - - - - - - - - - - - - - -
If: tt="A"
Then: HTML "1" :TX "Select Criteria... By FROM Customer Code:<FONT COLOR=
#FF0000>"<io<"</FONT>"
165 ------- - - - - - - - - - - - - - - - -
If: tt="B"
Then: HTML "1" :TX "Select Criteria... By FROM Last Name:<FONT COLOR=#FF0
000>"<io<"</FONT>"
166 ------- - - - - - - - - - - - - - - - -
If: tt="C"
Then: HTML "1" :TX "Select Criteria... By FROM Company Name:<FONT COLOR=#
FF0000>"<io<"</FONT>"
167 ------- - - - - - - - - - - - - - - - -
If: tt="D"
Then: HTML "1" :TX "Select Criteria... By FROM E-mail Address:<FONT COLOR
=#FF0000>"<io<"</FONT>"
168 ------- - - - - - - - - - - - - - - - -
If: tt="E"
Then: HTML "1" :TX "Select Criteria... By Message TO Name:<FONT COLOR=#FF
0000>"<io<"</FONT>"
169 ------- - - - - - - - - - - - - - - - -
If: tt="F"
Then: HTML "1" :TX "Select Criteria... By Message Reference #:<FONT COLOR
=#FF0000>"<io<"</FONT>"
170 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :TX "<BR>"
171 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :TX "<A HREF=\"/"{fp_ret{"\">Return to Main Page</A>"
172 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :HR
173 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :TX "<B><I>This web page was interactively created in HTML
at "<@tm<" on "<@t4
174 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :TX "<BR>by filePro processing using the HTML Command</I><
/B>"
175 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :HR
Mar 23, 2001 08:39 File Name: democgi Page 10
Processing: demofind
176 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :IM :SR "/images/pwrfpcgi.gif"
177 ------- - - - - - - - - - - - - - - - -
If:
Then: HTML "1" :CE-
178 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :HR
179 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :H4 "Database software provided by fP Technologies, Inc. h
ome of filePro®" :AL "center"
180 ------- - - - - - - - - - - - - - - - -
If:
Then: html "1" :CL
181 ------- - - - - - - - - - - - - - - - -
If:
Then: end
Troubleshooting fPcgi
The four most common reasons that fPcgi applications do not work are:
- The environment settings in the .profile and the fpcgi.env files are incorrect and do not reflect the proper locations of the filePro executibles and filepro application files.
- The httpd.conf file does not reflect the correct CGI-BIN directory and execute previledges and the correct filepro executibles location and execute previledges.
- The HTML form document has errors such as missing required fPcgi hidden fields, incorrect values for these hidden fields, or an incorrect action line that is failing to execute fPcgi in the first place.
- There is an error or halt in the execution of the filepro processing tables that fPcgi is running.
If the sample demo application does not run properly [usually indicated as a lack of a return document after you hit the submit function], check items 1 and 2:
- Check to see if a flat file was created in the right place by fPcgi. If not the ScriptAlias for the CGI-BIN directory setting in httpd.conf is wrong.
- If the flat file was created, then the either the httpd.conf setting for the /appl/fp directory is wrong or the fpcgi.env file environment variables are wrong.
If the sample demo does run but your application does NOT, there is probably an error in your processing table or HTML document.
A quick way to analyze what is going wrong is to determine what the flat ascii filename fPcgi just ran [look in the htdocs directory for the most recent .txt file]. Then when in the htdocs directory, from a command line prompt, run the command that fPcgi was supposed to run and add the appropriate -rw flag to the end of it.
- For instance, say the name of the flat file was xdemo040.txt and the Field_cmd was rreport democgi -sr 1 -fp demofind
- Run the following command from the command line prompt while in the htdocs directory: /appl/fp/rreport democgi -sr 1 -fp demofind -rw  /usr/local/apache/htdocs/xdemo040
Note that fPcgi fully paths the filepro command and the -rw flatfilename extension it adds.- filePro should report why the processing table failed to complete.
If you still have trouble, the key files to re-examine for correct settings are fpcgi.env, httpd.conf, the profile files, the fpcgi.log [found in /tmp] and ownership/permissions.
Copyright 2000 - 2001, fpTechnologies, Inc. All rights reserved
These sample HTML documents and filePro processing tables are covered under the terms and conditions of the fP Technologies, Inc. Program License Agreement
Specifications subject to change without notice