I have my own website running coldbox 3.5 for a while. Tonight I added the additional modules for contextBox. I tried to access the installer via /cbinstaller. That is when the error was thrown.
This is my Coldbox.cfc’s coldbox structure
coldbox = {
appName = “ccserver”,
eventName = “event”,
debugMode = false,
debugPassword = “”,
reinitPassword = “”,
handlersIndexAutoReload = false,
configAutoReload = false,
defaultEvent = “general.index”,
requestStartHandler = “botflyDefault.onRequestStart”,
requestEndHandler = “botflyDefault.onRequestEnd”,
applicationStartHandler = “botflyDefault.onAppInit”,
applicationEndHandler = “botflyDefault.onAppEnd”,
sessionStartHandler = “botflyDefault.onSessionStart”,
sessionEndHandler = “botflyDefault.onSessionEnd”,
missingTemplateHandler = “botflyDefault.onMissingTemplate”,
UDFLibraryFile = “botfly/udf/udf.cfm”,
coldboxExtensionsLocation = “”,
modulesExternalLocation = [“botfly/modules”],
pluginsExternalLocation = “botfly/plugins”,
viewsExternalLocation = “botfly/views”,
layoutsExternalLocation = “botfly/layouts”,
handlersExternalLocation = “botfly/handlers”,
requestContextDecorator = “botfly.model.RequestContextDecorator”,
exceptionHandler = “botflyDefault.onException”,
onInvalidEvent = “botflyDefault.onInvalidEvent”,
customErrorTemplate = “/views/errors/error.cfm”,
handlerCaching = true,
eventCaching = true,
proxyReturnCollection = false,
flashURLPersistScope = “session”
};
I have ALL modules located in a folder off the root
/(root folder)
/coldbox
/botfly
/modules/…(here is where all my modules live)
/…etc…folders/files
here is my application.cfc file
this.mappings[“contentbox-root”] = COLDBOX_APP_ROOT_PATH;
this.mappings[“contentbox”] = COLDBOX_APP_ROOT_PATH & “botfly/modules/contentbox”;
this.mappings[“contentbox-ui”] = COLDBOX_APP_ROOT_PATH & “botfly/modules/contentbox-ui”;
this.mappings[“contentbox-admin”] = COLDBOX_APP_ROOT_PATH & “botfly/modules/contentbox-admin”;
this.mappings[“contentbox-modules”] = COLDBOX_APP_ROOT_PATH & “botfly/modules/contentbox-modules”;
// THE LOCATION OF COLDBOX
this.mappings[“coldbox”] = expandPath("/coldbox");
i hope that helps…
Jeremy R. DeYoung
Phone:615.261.8201
RantsFromAMadMan.com