Thanks,
I tried that but it didn't work. I guess I need to use mappings as
suggested by Dave.
Regards,
Stefan
On 16 Feb 2009, at 01:50, Jeffry Houser wrote:
>
> Would this work?
>
> <cferror type="exception" template="/errorexception.cfm">
> <cferror type="request" template="/errorrequest.cfm">
>
>
>
> Stefan Richter wrote:
>> Hi all,
>> I'm using this in my Application.cfc:
>>
>> <cferror type="exception" template="errorexception.cfm">
>> <cferror type="request" template="errorrequest.cfm">
>>
>> Works fine if the page that throws the error is in the root of my
>> site. But if a file in /includes throws an error I get:
>> Error attempting to resolve the template errorexception.cfm.
>>
>> Short of inserting the absolute URL what options do I have? I'd like
>> to use a relative path, but how would that work when I do not know in
>> which subdirectory the error will occur?
>>
>> Sorry if this is obvious to seasoned CFers but I couldn't figure it
>> out.
>>
>>
>> Regards,
>>
>> Stefan
>>
>>
>>
>> email:
stefan@...
>> web: www.flashcomguru.com
>> twitter: @stefanrichter
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;fArchive:
http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5755Subscription:
http://www.houseoffusion.com/groups/flex/subscribe.cfmUnsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37