• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

customizing error messages

New Here ,
Apr 19, 2007 Apr 19, 2007

Copy link to clipboard

Copied

i have created a page called errorvalidation.cfm and added the code

<cferror type="exception" template="errorvalidation.cfm">

to my application file, so that if there is an error message my custom page will appear....this works fine if the error occurs on a page in the same folder as the application file, but if it occurs on a page in another folder...i get an error message stating that the template cannot be found, I have tried changing the way i input the location of my template.i.e

<cferror type="exception" template="C:\Inetpub\explained\errorvalidation.cfm">

but this doesnt work either..

anyone got any ideas??

thanks
TOPICS
Advanced techniques

Views

294

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 19, 2007 Apr 19, 2007

Copy link to clipboard

Copied

I believe you can set a default coldfusion error template in CF admin.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 19, 2007 Apr 19, 2007

Copy link to clipboard

Copied

LATEST
yeah i think i have seen that..i just thought this may give me more flexibility maybe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation