I copied the Reactor and ModelGlue into the correct locations, then copied
his example directory into IT'S correct location. I changed the directories
like they're supposed to be changed but when I browse to this directory I
get this error:
The selected method getConfigSetting was not found.
Either there are no methods with the specified method name and argument
types, or the method getConfigSetting is overloaded with arguments types
that ColdFusion can't decipher reliably. If this is a Java object and
you verified that the method exists, you may need to use the javacast
function to reduce ambiguity.
The error occurred in C:\phpdev\www\ModelGlue\ModelGlue.cfm: line 7
5 : <!--- Does ModelGlue exist? --->
6 : <cfparam name="ModelGlue_APP_KEY" type="string"
default="#GetFileFromPath(ExpandPath("."))#" />
7 : <cfif not structKeyExists(application, ModelGlue_APP_KEY) or
application[ModelGlue_APP_KEY].getConfigSetting("reload") or
(structKeyExists(url,
application[ModelGlue_APP_KEY].getConfigSetting("reloadKey")) and
url[application[ModelGlue_APP_KEY].getConfigSetting("reloadKey")] eq
application[ModelGlue_APP_KEY].getConfigSetting("reloadPassword"))>
8 : <cflock name="ModelGlueInit" type="exclusive" timeout="10"
throwOnTimeout="true">
9 :
Files are located as follows:
/ModelGlue
/reactor
/PhotoGallery
Application name: PhotoGallery
ModelGlue.xml looks like this:
<config>
<setting name="beanMappings"
value="/PhotoGallery/config/beans/" />
<setting name="viewMappings" value="/PhotoGallery/views" />
<setting name="reload" value="true" />
<setting name="defaultEvent" value="Home" />
<setting name="debug" value="false" />
<!-- Photo Gallery Settings -->
<setting name="dsn" value="PhotoGallery" />
<setting name="adminemail" value="[EMAIL PROTECTED]" />
<setting name="imagedir" value="/PhotoGallery/pimages" />
</config>
and
[begin snip]
<controllers>
<controller name="myController"
type="PhotoGallery.controller.Controller">
[/end snip]
Anyone have any ideas?
<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257420
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4