Sam Laundon Posted November 4, 2002 Posted November 4, 2002 My clients create a new record and on submit they are taken to a redirect page where an email confirmation is sent to them, they are then taken through the redirect page to a page where they upload a photo. Some of my clients are getting the FM Error Code #4 and are unable to proceed to the upload photo page. Most of my clients are having no problem and those that are, are using different operating systems so I am having trouble tracking down why it works for some and not others. Here is the code on the redirect page that sends the email (this is where the error code is showing up): <HTML> <HEAD> <META HTTP-EQUIV="refresh" content = " 1; URL=FMPro? -db=cases& -lay=dr& -format=page.html& -mailto=[FMP-field:client::email]& [email protected]& [email protected]& -mailsub=Your Order& -mailhost=pop.qwest.net& -mailformat=mail_order.txt& -recid=[FMP-Currentrecid]&-Find"> </HEAD> </BODY> </HTML> Thanks in advance for your help - Sam
Vaughan Posted November 4, 2002 Posted November 4, 2002 Error code 4 is "Command unknown." My bet is that some of your file names, field names or layout names have spaces in them, and the browser (probably IE) isn't encoding the space with %20. This breaks the URL making it incomplete, hence Web Companion cannot understand it.
cmury Posted November 5, 2002 Posted November 5, 2002 Yes - Vaughan's suggestion is probably your best bet. I've had similar problems when I've been publishing to IE in OSX. The solution was to re-name the fields etc in FM [replacing spaces with "_" ] and updating the associated CDML. Good luck Chris
Sam Laundon Posted November 5, 2002 Author Posted November 5, 2002 Thanks for your answers. I have been very careful about not having spaces in the file names, field names, database or layout names. In this example there are no spaces. Any other ideas as to why only a few of my clients are having problems. Thanks again for your help - Sam
Garry Claridge Posted November 5, 2002 Posted November 5, 2002 Here is a space: -mailsub=Your Order& Try: -mailsub=Your%20Order& I would also place the whole URL on one line. All the best. Garry
Sam Laundon Posted November 7, 2002 Author Posted November 7, 2002 Thanks Gary. "Your Order" was not a space I considered. I will try it out and see if it works. As I said, only a few are having problems, so it makes it difficult to test. Thanks again - Sam
Recommended Posts
This topic is 8121 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now