Link to home
Start Free TrialLog in
Avatar of JohnLucania
JohnLucania

asked on

Could not find the included template

Could not find the included template \Inetpub\wwwroot\HumanResources.  
 
The error occurred in D:\Inetpub\wwwroot\ManagersCornerTest\SupervisorsCornerMain.cfm: line 3
 
1 : <cfinclude template="SupervisorsCornerHead.cfm">
2 : <!---<cfinclude template="http://swintranet1/HRHome/">--->
3 : <cfinclude template="\Inetpub\wwwroot\HumanResources">

How do you resolve this?
SOLUTION
Avatar of SidFishes
SidFishes
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JohnLucania
JohnLucania

ASKER

oops...

it should have been <cfinclude template="../HumanResources/index.htm">

'\\SWINTRANET1\HRINTRANET$\index.htm'  (FrontPage), which is the same as '../HumanResources/index.htm'
'\\SWINTRANET1\HRINTRANET$\index.htm'  displays every gif and links,
but with <cfinclude template="../HumanResources/index.htm"> does not disply gif and links when clicked.
hmmm...
try

<cfinclude template="../hrintranet$/HumanResources/index.htm">
or
<cfinclude template="hrintranet$/HumanResources/index.htm">

you clue is what you can browse to using the browser - minus the website url

you can also use the fully qualified url

<cfinclude template="http://swintranet/hrintranet$/HumanResources/index.htm">

(if that's the correct url)

I am getting:

The filename, directory name, or volume label syntax is incorrect  
 
 
The error occurred in D:\Inetpub\wwwroot\ManagersCornerTest\SupervisorsCornerMain.cfm: line 3
 
1 : <cfinclude template="SupervisorsCornerHead.cfm">
2 : <!---<cfinclude template="http://swintranet1/HRHome/">--->
3 : <cfinclude template="http://Swintranet1/HumanResources/Index.htm">
 
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
great!!