PDA

View Full Version : Error occured while processing the form...



scud133
21-Oct-2005, 02:08 AM
Form worked, then I tried to implement encryption. Used the decoder to generate keys, had it export the public key to pubkey.txt. Then I uploaded pubkey.txt and fmencoder.exe into cgi-bin.
No specific errors just:

An error occurred while processing the form.

Please contact us directly since this form is not working .
We apologize for any inconvenience this error may have caused.
On the form page I added:

<input type="hidden" name="filter" value="encode" />
<input type="hidden" name="filter_options" value="Attach=neworder.fmencoded" />

And here's what formmail.php looks like:

$FILTERS = array("encode"=>"$REAL_DOCUMENT_ROOT/cgi-bin/fmencoder -kpubkey.txt");

These are the only things that have been changed on these files. Any ideas why it doesn't want to work?

russellr
21-Oct-2005, 06:33 AM
Hi,

Please set DEF_ALERT to your email address so that FormMail can tell you the precise error.

scud133
23-Oct-2005, 03:36 AM
Here we go:

The following error occurred in FormMail :
filter_failed
*****sh: /blah blah/fmencoder: Permission denied
*****
Error=Filter "encode" failed (status 126):

scud133
23-Oct-2005, 03:42 AM
Here we go:

The following error occurred in FormMail :
filter_failed
*****sh: /blah blah/fmencoder: Permission denied
*****
Error=Filter "encode" failed (status 126):
Ok this made it obvious... changed execute permissions for fmencoder, give me a sec to see if it works now

scud133
23-Oct-2005, 03:45 AM
ok that was it... thanks!