Hi All,
Does anyone have a step by step procedure in installing MachII and getting it to work? I'm clueless.
The instructions below is very vague to me:
MachAppSkeleton-Readme.txt
Version: 1.0
Note: Properties in files that should be updated for your application
are typically CAPITALIZED.
1. Copy the MachAppSkeleton folder to your web-root.
2. Rename the folder to the name of your application.
3. Edit the /Application.cfm file:
3a. Set the name of your application by editing the name attribute
of the <cfapplication> tag.
4. Edit the /config/mach-ii.xml file:
4a. Set the applicationRoot property to match the path of your
application's folder relative to the web-root (begin with a /) by editing
the <mach-ii>/<properties>/<property> tag with name applicationRoot.
4b. Set the defaultEvent property by editing the
<mach-ii>/<properties>/<property> tag with name defaultEvent.
4c. Create an event-handler element for the defaultEvent by
defining a <mach-ii>/<event-handlers>/<event-handler> element with a name
attribute that matches the value of the defaultEvent property value.
5. Add and edit any application event-handlers.
6. Add any application listeners.
7. Add any application event-filters.
8. Add any application plugins.
Note: Refer to the configuration guide in the /docs folder for
further configuration information.
I have followed the directory structure recommended and I tried running the sample application wwwroot/Roulette/index.cfm and I get the following error:
Error Occurred While Processing Request
Could not find the ColdFusion Component MachII.framework.AppLoader.
Please check that the given name is correct and that the component exists.
The error occurred in E:\wwwroot\Roulette\mach-ii.cfm: line 18
16 : <cfif NOT (StructKeyExists(application[MACHII_APP_KEY],'appLoader') AND
17 : IsObject(application[MACHII_APP_KEY].appLoader))>
18 : <cfset application[MACHII_APP_KEY].appLoader = CreateObject('component', 'MachII.framework.AppLoader') />
19 : <cfset application[MACHII_APP_KEY].appLoader.init(MACHII_CONFIG_PATH) />
20 : </cfif>
For someone who doesn't speak in this language…I don't even know where to begin…lol
Please help!
I would like to see what MachII can do, if not, no big deal it's not the end of the world for me.
Ron Mast
Truth Hardware
Webmaster
