Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Cold Fusion MX server prob...

Thread Tools
 
Search this Thread
 
Old 10 February 2003, 02:53 PM
  #1  
stevem2k
Scooby Regular
Thread Starter
 
stevem2k's Avatar
 
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes on 0 Posts
Post

custom tag path ?

what does the error log on the 500 server error say ?

[Edited by stevem2k - 10/2/2003 2:54:24 PM]
Old 10 February 2003, 05:06 PM
  #2  
ScoobyWon't
Scooby Regular
 
ScoobyWon't's Avatar
 
Join Date: May 2002
Location: Pot Belly HQ
Posts: 16,694
Likes: 0
Received 0 Likes on 0 Posts
Post

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]
Old 02 October 2003, 02:50 PM
  #3  
ScoobyWon't
Scooby Regular
 
ScoobyWon't's Avatar
 
Join Date: May 2002
Location: Pot Belly HQ
Posts: 16,694
Likes: 0
Received 0 Likes on 0 Posts
Post

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?
Old 02 October 2003, 11:43 PM
  #4  
judgejules
Scooby Regular
 
judgejules's Avatar
 
Join Date: Nov 2000
Posts: 1,227
Likes: 0
Received 0 Likes on 0 Posts
Post

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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
aaron_ions
General Technical
17
03 November 2021 11:07 AM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
shorty87
Other Marques
0
25 September 2015 08:52 PM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM



Quick Reply: Cold Fusion MX server prob...



All times are GMT +1. The time now is 02:02 AM.