fpCGI failure, part 2

Nancy Palmquist nlp at vss3.com
Wed Mar 19 11:35:40 PDT 2008


Tyler wrote:
> Just in case anyone's still interested in my fpcgi saga, here's an update. 
> 
> Adding an entry to the submitted forms for the nohtmlreturn field didn't 
> resolve the issue.  There were minor bomb outs (meaning the filepro 
> processing didn't run and no output was produced) throughout testing, 
> but after about 5 days it stopped outputting anything for any report.
> 
> Working with fptech on the issue, so may have more to follow up with 
> after speaking with them.
> 

Tyler,

I have to say that you are giving fpCGI too much credit.  All it does is act as 
a go-between.   It grabs form data send via POST or GET methods and writes it to 
a file and then it executes a filePro application passing the name of that data 
file, which is responsible to grab the data via an IMPORT of some kind.  Process 
the data and generate output.

The output is then dragged back to the Browser that made the request.

It should be very easy to verify if the filePro application ran and generated 
output.

If it did, it must be where and what the fpCGI was told it would be.

Also, you can tell it to leave the IMPORT file so you can test or see what you 
got from the form submit.

Field_removeflat=NO

Since you keep saying you are getting no output, I would suggest that the 
filePro part is not running correctly.

add some lines to do the following:

putenv "LOGFILE", "Somefilename"
logtext @td<@tm<"Starting my file"

add a few logtext commands at critical places.  I might write the filename I 
will be generating, put one at the every end - put one at the very beginning. 
See what it posts.

I think Mark's suggestion that onegate would solve your problem is wrong, it 
will give you different errors and recovery capabilities.  If you are getting 
filePro errors, or not generating any output, or reading the input file 
incorrectly, you will have the same issue with onegate.

I use them both.  They both work.  Issues with your report generation sounds 
like where the problem can be found.

Nancy





Nancy Palmquist 		MOS & filePro Training Available
Virtual Software Systems	Web Based Training and Consulting	
PHONE: (412) 835-9417		   Web site:  http://www.vss3.com


More information about the Filepro-list mailing list