Initial database setup password

Hi,

wanted to try contentbox locally so I tried

mkdir mysite && cd mysite
install contentbox && server start

Works great. I am on contentbox Datasource Creation Information screen:

CFML Administrator Password: Your CFML engine administrator password. Contact your hosting provider or system administrator if you do not have one. (If you are using the Express edition use ‘contentbox’)

Since I’m using the embedded db server I just tried contentbox as it says above but it doesn’t work.

I get:

Error verifying CFML Administrator password: Invalid CFML Password!

Any idea what I’m doing wrong?

You probably don’t have a password set yet. Visit the admin URL (you can right click on the “Ortus” icon in your system tray for a shortcut there) and set a first-time password when you log in.

Now, the tag should be able to do its magic.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Even after I created a admin password for Lucee admin it still gave me that error. I must not know what I’m doing.
Anyway, I just created mysql datasource in the cf admin and used that to finalize contentbox installer and it works.

Originally I was just trying it with the embedded database using the defaults you have written above the fields.

I clicked the visit site link after the install and it works. I click visit admin -> goes to http://127.0.0.1:38193/cbadmin and I get 404?

I see what’s going on… I add index.cfm/ before anypage and it works - http://127.0.0.1:38193/index.cfm/cbadmin/security/login
Must be url rewrite doesn’t work. All I did was check the radio button for url rewrite. Is tuckey installed with commandbox/express install?

Did you set a password for the server admin or web admin? Honestly, I don’t remember the last time I had the contentbox installer create the datasource for me-- I usually just create it manually so I haven’t used that feature much.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Sounds like URL rewrites aren’t enabled. CommandBox comes with Tuckey, but it’s turned off by default. Start the server using the --rewritesEnable flag.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Everything worked great when I enabled the --rewritesEnable flag.