Skip 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.

CDML and error pages

Featured Replies

When a database on my filemaker unlimited server either quits unexpectedly or stops publishing on the web (this is an identified problem with the web companion)and i try to access a CDML web page i get a javascript application error window come up saying that the database is not open. What I want it to do is move to a static error page designed by me. I have specified it as a URL:

<A HREF="http://172.17.201.8/mpc/wg/FMPro?-db=wg_shot_tracker&-lay=cgi&-format=shot_tracker.htm&-Error=default.htm&-view">

I have put error pages in all the folders jsut in case i have got the path to the error page wrong. To no avail.

Any help would be appreciated.

p.s. (the URL will not work for you because it is within our company intranet)

Try this:

<A HREF="http://172.17.201.8/FMPro?-db=wg_shot_tracker&-lay=cgi&-format=mpc/wg/shot_tracker.htm&-Error=mpc/wg/default.htm&-view">

See if having the error page in the "wg" directory makes any difference.

Good Luck.

Garry

Howdy, Steve! Hmmm... I know you're doing this in a link, but in a standard form, I find it depends on how you declare your FORM ACTION as to where your error page should be. If I use <FORM ACTION='http://x.x.x.x/mydirectory/FMPro'> then my -error would be just be error.html (assuming it is inside /mydirectory/). If I use <FORM ACTION='FMPro'> then my -error would have to be /mydirectory/error.html.

In your case, I'd try garry's switcheroo but it looks pretty much like the same thing to me. What happens when the db is open... does it find the correct -format page? The path for -format and -error should be the same. Maybe try a different error (text in a number field or something) and see if it gets there.

--ST

  • 3 weeks later...
  • Author

thanks steve and garry. didn't realise i had any responses. I will give it a go. cheers

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.