Welcome, Guest. Please login or register.

Login with username, password and session length
Pages: [1]   Go Down
Print
Author Topic: fpCGI and PFDIR variable  (Read 282 times)
0 Members and 1 Guest are viewing this topic.
2p
Member

Posts: 3


View Profile
« on: August 31, 2011, 03:19:54 PM »

We are trying to get started with using fpCGI.  It has been loaded on our linux server and I have written HTML code that when the user clicks on the submit button from the webpage, a .txt file is created.  I have also written the filepro programming to read the file and subsequently create a return .htm file.  I have tested the filepro programming from a command line specifying the .txt file to import and it works (it creates the appropriate .htm file in the correct location).  However, the entire process does not work when I click the submit button on the webpage.  I receive the message "NO HTML GENERATED BY FILEPRO as set in the fpcgi.env file using the FIELD Field_nohtmlfound directive."  It appears that the Field_cmd is not being executed. 

Our filepro is set up with different environments (PFDIR).  Is there someplace that I need to set the PFDIR to tell it where the data file and output processing reside?

   
Logged
Bill Randall
Administrator

Posts: 53


View Profile WWW
« Reply #1 on: September 01, 2011, 07:30:00 AM »

Check the logs in the pathed log directory.  On Windows it is in the C:\temp directory.  Not sure on NIX.  This usually gives you an indication of why it is not executing.  It could have something to do with the environment settings in the fpcgi config file or permissions on the htdocs directory.  The filename on my machine is fpcgi_dbg.log
Logged

Bill Randall
Pages: [1]   Go Up
Print
Jump to:  

Valid XHTML 1.0! Powered by SMF 1.1.15 | SMF © 2011, Simple Machines | Massive Blue Theme By Cadosoas Valid CSS!