Skip to main content
Inspiring
December 5, 2008
Question

Missing Template handler w/o Admin Access?

  • December 5, 2008
  • 1 reply
  • 369 views
I know we can create custom error messages / templates for general processing errors etc, but is there some type of magic template that can be used to show if a CFM file is missing altogether? or maybe an undocumented function to assign it?

I know we can do this inside CF Admin itself (missing template handler), but we don't have access to that on the shared server the client is using.

The standard/custom 404 files only get triggered by non-CFM pages, so we can't use them either.

Any ideas?

Thanks in advance.
    This topic has been closed for replies.

    1 reply

    Inspiring
    December 8, 2008
    i you are on CF8, it has a onMissingTemplate() method you can use in
    your Application.cfc.

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/