Cold Fusion MX server prob...
#2
Scooby Regular
Join Date: May 2002
Location: Pot Belly HQ
Posts: 16,694
Likes: 0
Received 0 Likes
on
0 Posts
Cleared up te server error but not able to include any files...
Anyone know how to include files in ColdFusion through Dreamweaver MX?
[Edited by ScoobyWon't - 10/2/2003 5:44:54 PM]
Anyone know how to include files in ColdFusion through Dreamweaver MX?
[Edited by ScoobyWon't - 10/2/2003 5:44:54 PM]
#3
Scooby Regular
Join Date: May 2002
Location: Pot Belly HQ
Posts: 16,694
Likes: 0
Received 0 Likes
on
0 Posts
I've just installed Cold Fusion MX and I'm having difficulty when trying to view files from localhost.
http://localhost/jamanali/index.htm displays.
http://localhost/jamanali/test.asp displays the main content but doesn't include my include files (http://localhost/jamanali/includes/header.htm etc). Trying it as a PHP page has the same results.
Trying to display a .cfm page just tells me that there is a Internal Server error (#500).
Any ideas on where to begin fixing any of the above?
http://localhost/jamanali/index.htm displays.
http://localhost/jamanali/test.asp displays the main content but doesn't include my include files (http://localhost/jamanali/includes/header.htm etc). Trying it as a PHP page has the same results.
Trying to display a .cfm page just tells me that there is a Internal Server error (#500).
Any ideas on where to begin fixing any of the above?
#4
create a file called moo.cfm then just use <cf_moo> from your other file (both need to be in the same folder unless you play with the template path),this is called a custom tag...
but you also have <cfinclude template="moo.cfm"> or
<cffile action = "read" file = "full_path_name" variable = "var_name" charset = "charset_option" >
HTH
~Jules
but you also have <cfinclude template="moo.cfm"> or
<cffile action = "read" file = "full_path_name" variable = "var_name" charset = "charset_option" >
HTH
~Jules
Thread
Thread Starter
Forum
Replies
Last Post
aaron_ions
General Technical
17
03 November 2021 11:07 AM