Skip to main content
Known Participant
April 8, 2008
Question

cf 8 gettingstarted exaample code

  • April 8, 2008
  • 1 reply
  • 832 views
Hi,
I downloaded the cf8gettingstarted from Adobe( http://www.adobe.com/devnet/coldfusion/eula_cf8gettingstarted.html)
I am able to set up the datasource in the CF admin just fine, but the setup.cfm page throws an error.
The readme file says:
"3) Run {path_to_CF_Webroot}/cf8gettingstarted/setup.cfm
1. Edit setup.cfm and replace "{cf_admin_password}" with the password of your CF Administrator
2. Run setup.cfm to set up the required mappings

When I change "cf_admin_password" with my cf admin passsword (let's say it is "snoopy"( that is not the real one!), then I go to http://localhost/cf8gettingstarted/setup.cfm to "run" the set up I get a "CFACCESSDENIED" error. Am I doing something really wrong?

Is there a way to set up the mappings without using this file?
I am using the Mac, OS X (powerPC)

Thanks so much,
John


This topic has been closed for replies.

1 reply

May 9, 2008
Hi John

Did you get help with your setup.cfm problem?

Terry
May 9, 2008
First, make sure you are replacing the entire text between the quotes with your password. Do not leave the curly braces in there.

Do you have the "/cf8gettingstarted" mapping? It should point to where you installed cf8gettingstarted.
Do you have the installPath\cf8gettingstarted\community\extensions\components customtag path?
Do you have the installPath\cf8gettingstarted\extranet\extensions\components customtag path?

Add them in CFAdmin if not. These are the 3 items that "setup.cfm" does with the adminAPI. So, add them yourself manually.

Finally, notice the last 2 code blocks of setup.cfm create and index a collection, "bookclub." Comment out all the previous code and run the collection creation and index. Or create a new template and run the code from it:
Participant
November 8, 2008
How do I do this? I don't know and I also get that error message. I tried everything and this is hard to follow. could you tell me this with details. I'll appreciate that
Do you have the "/cf8gettingstarted" mapping? It should point to where you installed cf8gettingstarted.
Do you have the installPath\cf8gettingstarted\community\extensions\components customtag path?
Do you have the installPath\cf8gettingstarted\extranet\extensions\components customtag path?