Installation error

I just tried installing contentbox for the 1st time to check it out. Place the contents of the download in a folder called contentbox and created a mysql datasource called contentbox. When I went to http://localhost/contentbox I got the following error.

Requested instance not found: ‘AdminMenuService@cb’

The instance could not be located in any declared scan location(s) (contentbox.model) or full path location

The error occurred in C:\www\contentbox\coldbox\system\core\util\Util.cfc: line 164
Called from C:\www\contentbox\coldbox\system\ioc\Injector.cfc: line 238
Called from C:\www\contentbox\modules\contentbox\modules\Hello\ModuleConfig.cfc: line 135
Called from C:\www\contentbox\coldbox\system\web\services\ModuleService.cfc: line 324
Called from C:\www\contentbox\coldbox\system\web\services\ModuleService.cfc: line 256
Called from C:\www\contentbox\coldbox\system\web\services\LoaderService.cfc: line 84
Called from C:\www\contentbox\coldbox\system\Coldbox.cfc: line 71
Called from C:\www\contentbox\Application.cfc: line 78

162 : 		<cfargument name="detail" 	required="false" default="">
163 : 		<cfargument name="type"  	required="false" default="Framework">
**164 : 		<cfthrow type="#arguments.type#" message="#arguments.message#"  detail="#arguments.detail#">**
165 : 	</cffunction>
166 : 	

I am guessing that the appmapping hasn’t been decalred correctly.

By default, ColdBox doesn’t work with context paths, without this setting. Let us know if this is the issue.

Dan, not sure why it complains, as that mapping is binder in the ContentBox module. Do you have more info on how to replicate

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Hi Dan,

I got the same error on a fresh installation. How did you fix this?

Mike

I installed Coldbox and Contentbox in my local webroot and tried to run http://www.localhost/contentbox which produced the error.

FTI, making the contentbox directory the webroot solved the issue, but I thought that Contentbox would run in a site’s subdirectory.

  • Mike

ContentBox includes ColdBox.

For some reason if you run it with a sun folder called ContentBox it fails. So rename it.

THANK YOU!