I just upgraded to v1.6.1 (I was on 1.6.0.8) and still same error. I cleared the template cache, recycled CF but same problem.
Any ideas? Cheers Matthew On Jun 25, 9:00 am, Matthew <[email protected]> wrote: > Hi Peter > > Nope that didn't work. I tried clearing the cache and recycling CF but > still got the same error. I wasn't upgrading anyway. Any other ideas? > > Cheers > Matthew > > On Jun 24, 8:47 pm, "Peter J. Farrell" <[email protected]> wrote: > > > Did you upgrade your version of Mach-II? Sounds like one of the problems > > listed in the README included with the core files. > > > HTH, > > .Peter > > > ---------------------- > > If you are updating your Mach-II installation from an older version, you > > *must* clear > > your template cache and restart your CFML server after you replace your > > older version > > of Mach-II with a newer version. > > > If you do not clear your template cache and restart your server, you > > will receive > > an exceptions similar to: > > > - The value returned from function getAppFactory() is not of type > > MachII.framework.AppFactory. > > - The value returned from function getMessageManager() is not of type > > MachII.framework.MessageManager. > > - Element AppLoader undefined in application[MACHII_APP_KEY]. > > - Etc. (Too many to list here as it vary from what version you upgraded > > from) > > > Matthew said the following on 06/24/2009 05:39 AM: > > > > Hi > > > > I"m trying to call announceEvent from my listener but I keep getting > > > this error: > > > ***ERROR*** > > > MESSAGE: The value returned from the getAppManager function is not of > > > type MachII.framework.AppManager. > > > DETAIL: If the component name is specified as a return type, its > > > possible that a definition file for the component cannot be found or > > > is not accessible. > > > TAG CONTEXT: > > > C:\Inetpub\wwwroot\MachII\framework\BaseComponent.cfc (69) > > > C:\Inetpub\wwwroot\project\listeners\listenerContent.cfc (22) > > > > ***CODE*** > > > <cffunction name="testMethod" access="public" returntype="void"> > > > <cfargument name="event" type="MachII.framework.Event" > > > required="true" /> > > > <cfset announceEvent("test-event") /> > > > </cffunction> > > > > ***XML CONFIG*** > > > <event-handler event="test2" access="public"> > > > <notify listener="ContentListener" method="testMethod" /> > > > </event-handler> > > > > As you can see I've really simplified it to make sure nothing funny > > > was going on in my listener routine. I just can't figure it out. > > > Hopefully someones got the answer or I'll solve it in the morning. > > > > Environment: CF8, M2 v1.6, IIS, WinXP (Transfer, ColdSpring but these > > > shouldn't matter). > > > > Cheers > > > Matthew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/ Wiki / Documentation / Tickets: http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/ -~----------~----~----~----~------~----~------~--~---
