I'm having trouble getting the localhost running. cf keeps saying it
cant find modelMappings. any help?
Error including model mappings file: Could not find the included
template /mycbapp/config/modelMappings.cfm
my local web is this, cb 2.6.4
c:\coldfusion8\wwwroot\
-system
-mycbapp
--\config (includes modelMappings.cfm)
--\handlers
--\layouts
--\model
--\views
--\applicaiton.cfc, etc.
Is mycbapp at c:\coldfusion8\wwwroot\mycbapp\ ?
What is your web server? Is the root c:\coldfusion8\wwwroot\mycbapp? If so, then it would just be config.modelMappings
no no.. like i showed, webroot is one directory above the app. the
coldbox system folder is in that directory. I also tried putting
system inside the application directory, but it didnt make any
difference.
c:\coldfusion8\wwwroot\ <--- webroot of localhost CF8 server
-system
-mycbapp <--- my application under webroot,
contains these directories:
--\config (includes modelMappings.cfm)
--\handlers
--\layouts
--\model
--\views
--\applicaiton.cfc, etc.
actually... that's slighly wrong
under my app (webroot\mycbapp) there's coldbox/system directory. not
in the root. (i had it in the root at one point, trying to make this
all work)
-mycbapp
--\coldbox\system
--\config
--\handlers
etc
The way that I have things set up (running multiple apps successfully) is:
\wwwroot
--\coldbox\system
--\myapp
----\config
----\handlers
etc
In other words, /coldbox/system in the webroot. With /myapp in the
webroot containing the usual cb app structure.
when i have it set up that way, the cf error is:
Could not find the ColdFusion Component or Interface coldbox.system.coldbox