Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7814 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi folks - is it possible to return a custom error page to a users browser rather than the default FM error if the user attempts to connect to a web enabled database that isn't open?

Currently, a (javascript controlled?) error message "Unable to process your request because the database "********" is not open." is returned - I would like to display a customised html page.

I'm using : FileMaker Pro Unlimited version 6 running on a Powermac G4, Mac OS X.

Thanks

Girish..

  • Newbies
Posted

hello

If you are using CDML, as opposed to Instant web publishing, you should be able to spec an error page with the -error=error.htm tag, where "error.htm" is your custom error page.

hih,

steve

Posted

FMP 6 also includes the -ErrNum (error number) CDML tag that lets you specify an error file for a specific error code. Since multiple -ErrNum tags can be used, it appears you can specify a particular error page for each error if you so wish.

I haven't used it myself yet.

Posted

Thanks Steve/Vaughan for these suggestions. I have implemented custom error pages using CDML before, and have also used the [FMP-CurrentError] tag to return specific error messages (I hadn't tried the -ErrNum tag before but have just given it a go as well).

Unfortunately, the error returned when a database isn't open does not seem to have a number associated with it and so I can't think of a way to use these two tags when this error is returned(?)

Posted

Error 100 is "file is missing" I'd start with that. Trap for it in the -error file.

This topic is 7814 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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