ColdBox 4 BE

I’m running Railo BE with Coldbox 4 BE.

Its a clean install with no modifications at this point.

It appears that Application.cfc on Line 22

application.cbBootstrap = new coldbox.system.Coldbox( COLDBOX_CONFIG_FILE, COLDBOX_APP_ROOT_PATH, COLDBOX_APP_KEY, COLDBOX_APP_MAPPING );

​However I had to change it to

application.cbBootstrap = new coldbox.system.Bootstrap( COLDBOX_CONFIG_FILE, COLDBOX_APP_ROOT_PATH, COLDBOX_APP_KEY, COLDBOX_APP_MAPPING );

to get the framework to load correctly. Am I doing something wrong?​

Yep, please see our compatibility guide :slight_smile:

http://wiki.coldbox.org/wiki/Compatibility:4.0.0.cfm#Application_Bootstrap_Class_Changed

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

yes i know. however i did an install via CommandBox (latest) and it installed the Application.cfc with the error :slight_smile:

I forgot to say that.

Can you show us the commands you used?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

Did you say InstallColdBoxBE? or used the BE templates?

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

I did the following commands from CommandBox

mkdir test
cd test
install coldbox-be
coldbox create app name=default

then inside the test directory it has Application.cfc with it mapped to Coldbox instead of Bootstrap

Ok, that’s what I thought you might have done. Read the help for the “coldbox create app” command by typing “coldbox create app help”. You will see if uses a ColdBox 3.x template by default. You can override this by manually choosing the skeleton to install like so:

coldbox create app name=myapp skeleton=AdvancedScriptBE

Or, an even easier approach is to just use the “–installColdBox” or “–installColdboxBE” flag when creating your app. If you choose the bleeding edge of ColdBox, it will automatically choose a 4.0 skeleton for you.

coldbox create app myApp --installColdBoxBE

Also if you don’t have those options, make sure you are on the latest CommandBox like so:

upgrade --latest

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

love it - ty!

wow – everything is rocking now - amazing how having the right framework/codebase/version makes all the difference! :wink: