Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

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.

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

  • Author

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

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

  • Author

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

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.