same thing: "Error building: coldbox.system.Interceptor -> Variable LOADAPPLICATIONHELPERS is undefined. with constructor arguments: {properties={{}},controller={[(Component=coldbox.system.web.Controller)]}} "
You aren’t installing coldbox into the web root, so the “/coldbox” reference going to use whatever mapping you might have set up, or possibly another version of ColdBox actually in the web root.
You haven’t included the full stack trace so it’s difficult to see what file this error is actually happening in.
yep, I justed tested and that’s the error you get if you’re using the ColdBox 4.0 app template on ColdBox 3.x. Add this mapping to your subdirectory’s Application.cfc to make it find the proper ColdBox.
The reason the server start command was working was because it uses the subdirectory as your web root so “/coldbox” resolves differently.
Also, note that the first argument to the “coldbox create app” command is name so you’re passing in “AdvancedScriptBE” as your app name and the skeleton is just defaulting. (It defaults to the 4.0 skeleton based on your --installColdBoxBE param)
Hmm , I thought since years ACF first looks into the approot for the components, than in ther webroot which also the template list in error message indicates
The error occurred in E:/wwwroot/cb4_test/coldbox/system/ioc/Builder.cfc: line 132
Called from E:/wwwroot/cb4_test/coldbox/system/ioc/Injector.cfc: line 288
Called from E:/wwwroot/cb4_test/coldbox/system/ioc/scopes/NoScope.cfc: line 31
Called from E:/wwwroot/cb4_test/coldbox/system/ioc/Injector.cfc: line 261
Called from E:/wwwroot/cb4_test/coldbox/system/ioc/Builder.cfc: line 553
Called from E:/wwwroot/cb4_test/coldbox/system/ioc/Builder.cfc: line 108
Called from E:/wwwroot/cb4_test/coldbox/system/ioc/Injector.cfc: line 288
Called from E:/wwwroot/cb4_test/coldbox/system/ioc/scopes/Singleton.cfc: line 49
Called from E:/wwwroot/cb4_test/coldbox/system/ioc/Injector.cfc: line 261
Called from E:/wwwroot/cb4_test/coldbox/system/web/services/InterceptorService.cfc: line 254
Called from E:/wwwroot/cb4_test/coldbox/system/web/services/InterceptorService.cfc: line 195
Called from E:/wwwroot/cb4_test/coldbox/system/web/services/InterceptorService.cfc: line 107
Called from E:/wwwroot/cb4_test/coldbox/system/web/services/InterceptorService.cfc: line 73
Called from E:/wwwroot/cb4_test/coldbox/system/web/services/LoaderService.cfc: line 74
Called from E:/wwwroot/cb4_test/coldbox/system/Bootstrap.cfc: line 71
Called from E:/wwwroot/cb4_test/Application.cfc: line 29
maybe onother wired ACF path issue ( which I had many)