ColdBox controller does not exist as application

ISSUE: Trying to apply a patch and you see:

ColdBox controller does not exist as application.cbController

Detail

The coldbox controller does not exist in application scope. Most likely the application has not been initialized.

Stacktrace

The Error Occurred in
C:\inetpub\wwwroot\coldbox\system\ioc\ColdboxFactory.cfc: line 50

48: <!--- Check App Config --->
49: <cfif not structKeyExists(application,coldboxAppKey)>
50: <cfthrow message="ColdBox controller does not exist as application.#variables.coldboxAppKey#" detail="The coldbox controller does not exist in application scope. Most likely the application has not been initialized.">
51: </cfif>
52: called from /Intranet/Application.cfc: line 862

The patch is not applying.

 

RESOLUTION: That error is related to the INTRANETROOT appsetting being incorrect. The most common cause is exporting a database and importing it with the software being installed in a different path than the original server. Restarting the app will rebuild the application state giving it a proper intranet root.

To restart the application, click on Admin and scroll to the bottom of the page. Click [restart] beside SQBOX to restart the application and clear any application cache.

Have more questions? Submit a request

0 Comments

Article is closed for comments.