FIATECH
asked on
ErrorTemplate.cfm in application.cfm
I have a root with severval folders and sub directories. The error templates works well in one folder BUT the new folders that I created with 25+ pages doesn't pull the errortemplate files when a error is generated/ Any suggestions?
Here's what I have in the app file:
client.clientpathcust="../ scriptcont ent/";
<cferror type="EXCEPTION" template="#client.clientpa thcust#Err orTemplate .cfm" mailto="#application.webma ster_email #">
I'm very new to this? can I take this clientpathcust stuff out???
Here's what I have in the app file:
client.clientpathcust="../
<cferror type="EXCEPTION" template="#client.clientpa
I'm very new to this? can I take this clientpathcust stuff out???
ASKER
Nope didn't work....
Do you have any folders between the webroot and the script content folder? in an absolute path the first / symbolizes the webroot so you would need to add any other folders between the root and the scriptcontent folder to the path like:
client.clientpathcust="/fo lder1/fold er2/script content/";
client.clientpathcust="/fo
ASKER
yes, the root folder. I have a feeling something is wrong with the paths
This is in my execute time
F:\notweb\wwwroot\Cii\Scri ptContent\ Applicatio n.cfm
This is in my execute time
F:\notweb\wwwroot\Cii\Scri
client.clientpathcust="/Ci i/scriptco ntent/";
ASKER
I changed it to the above and it shut the whole site down! Opps. It said it couldn't find that path.
ASKER
So I took the cii away and the error went away
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
client.clientpathcust="/sc
<cferror type="EXCEPTION" template="#client.clientpa