RE: [coldbox:15159] Re: First time installing 3.5.1 and baseurl error

So, did the “Element BASEURL is undefined in INSTANCE” error go away?

There used to be a setting in the config for appMapping, but now ColdBox figures it out automatically when the app reinits based on the directory ColdBox is being called from.

The setting in application.cfc only has to be filled out if you are using proxies or something that might initialize the app with a request from inside a subfoler. Ex. If the app timed out and the next request was to www.domain.com/proxy/myWebservice.cfc then the app would try to set its app mapping incorrectly to “proxy”.

Nonetheless, what do you get when you output getSetting(‘AppMapping’)? As long as your app is initializing from a “normal” URL such as www.domain.com/passitonrecovery/index.cfm/handler/action then ColdBox should be setting the appMapping automatically to “passitonrecovery”.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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