ecpeel
asked on
Coldfusion pages won't run on Mac OSX
I've installed CF9 on MAC OSX using the built in web-server, port 8500.
under the cfroot/www i've created a test folder. In this directory I have index.cfm adn index.html.
the HTML file runs the .cfm file displays nothing.
The CF admin/cfide... is running fine. Even the derby db's are ok.
No debugging info or anything will show.
New to cf on a mac, please assist.
thanks
under the cfroot/www i've created a test folder. In this directory I have index.cfm adn index.html.
the HTML file runs the .cfm file displays nothing.
The CF admin/cfide... is running fine. Even the derby db's are ok.
No debugging info or anything will show.
New to cf on a mac, please assist.
thanks
What web-server are you using ? In-build CF JRUN or some other ?
Sorry about the first post, please ignore.
>>The CF admin/cfide... is running fine that is also .cfm, so your files should run... what do you have in your index.cfm ??
Also can you paste your admin / CFIDE URL and the index.cfm file URL .... (I know it is internal, just want to check the paths)...
>>The CF admin/cfide... is running fine that is also .cfm, so your files should run... what do you have in your index.cfm ??
Also can you paste your admin / CFIDE URL and the index.cfm file URL .... (I know it is internal, just want to check the paths)...
Hi,
Html files are not processed by CFM server.
You can include an html file inside a cfm file.
Hence please access your file like http:\\localhost:8500\test\index.cfm
or
set default page to run as index.cfm in the webserver.
If you are still confused let me know what is the content of your index.html or how index.html runs index.cfm.
Thanks.
Html files are not processed by CFM server.
You can include an html file inside a cfm file.
Hence please access your file like http:\\localhost:8500\test\index.cfm
or
set default page to run as index.cfm in the webserver.
If you are still confused let me know what is the content of your index.html or how index.html runs index.cfm.
Thanks.
ASKER
Built-in CF JRUN.
http://127.0.0.1:8500/CFIDE/administrator/index.cfm
and for test code in index.cfm
<cfparam name="var" default="hello">
<cfoutput>#var#</cfoutput>
http://127.0.0.1:8500/CFIDE/administrator/index.cfm
and for test code in index.cfm
<cfparam name="var" default="hello">
<cfoutput>#var#</cfoutput>
ASKER
and here's my address to the test dir:
http://127.0.0.1:8500/test/index.cfm
http://127.0.0.1:8500/test/index.cfm
var is actually used to define variable scope inside a function and is a keyword, but it is NOT illegal to use it the way you have,
can you try
and see if that works ?
can you try
<cfset test = 'hello'>
<cfoutput> #test# </cfoutput>
and see if that works ?
ASKER
Sorry no go. yes, var is a scope. apologies. just a blank screen.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Apologies for the delay. We lost our power due to storms last night. I will reply soon.
ASKER
Ahhhh, a reboot did the trick! I should have known!
Thanks for your assistance in keeping my sanity.
Thanks for your assistance in keeping my sanity.