Copy link to clipboard
Copied
Hi All,
I was able to install CF10 on MAC OSx 10.9 yesterday
http://forums.adobe.com/message/6001420#6001420
I create a FB/CF project using this configuration:
CF Standalone option with:
CF root folder = /Applications/ColdFusion10/cfusion
Web root = /Users/myName/Sites
Root URL = http://localhost/~myName/
I got this message:
The web server can be accessed but the CFIDE folder was not found. Please ensure the web root you have specified is the root folder of the web server and not a subfolder, or check the ColdFusion installation.
I copy the CFIDE folder into /Users/myName/Sites and pass the message.
I have a CFC in /Users/myName/Sites/CFtest1/cfcs/users.cfc
My remote Object is declared as
<mx:RemoteObject id="SM_RO" destination="ColdFusion" source="CFtest1.cfcs.users">
When I test the app I am getting this error:
Unable to invoke CFC - Could not find the ColdFusion component or interface CFtest1.cfcs.users.Ensure that the name is correct and that the component or interface exists.
I check services-config.xml and the option for use-mappings is true.
Any ideas about this issue?
Are my CF standalone options correct?
Thanks !
Copy link to clipboard
Copied
Looks like my CGI.http_host in MAC is localhost not localhost/~myName/.
So if I set the source for the remote object as: "~myName.CFtest1.cfcs.users" it works.
I like to setup all my variables in the application.cfc so when I move my project to my windows server i don't have to change paths.
For example listLast(getDirectoryFromPath(getCurrentTemplatePath()), "\"); reads fine in windows but in mac i have to change the "\" for "/".
It is a way to check in application.cfc if i am in MAC or windows?
How can I get my webserver variable in mac as localhost/~myName/?
Thanks