Cf 9 introduced a native function called trace. Thus, we had to change the method trace to addTraceStatement. It looks like we missed updating the quick start.
Sorry for the inconvenience. Please add a ticket to the bug tracker bugs.model-glue.com and i'll update it when I get back from CFUnited. To fix your local code, simply look in the controller, and elsewhere, for a trace method call and change it to addTraceStatement. Thanks! Dan On 8/11/09, CFTAD <[email protected]> wrote: > > Thanks for the response. > > I am using the file that was provided in the download and the > Controller.cfc does not contain the OnRequestStart method.. The > QuickStart has this listed: > > <controller name="MyController" > type="translator.controller.Controller"> > <message-listener message="OnRequestStart" > function="OnRequestStart" /> > <message-listener message="OnRequestEnd" function="OnRequestEnd" / >> > <message-listener message="NeedTranslation" > function="TranslatePhrase" /> > </controller> > > I assume this is making the call to the functions.. I added empty > functions for OnRequestStart and OnRequestEnd to controller.cfc, but > now I get a new error: > > Model-Glue 3 ("Gesture") > Oops! > Message The method trace was not found in component C:\Inetpub > \ModelGlue\gesture\eventrequest\EventContext.cfc. > Detail Ensure that the method is defined, and that it is spelled > correctly. > > Please let me know what may need to be changed... > > Thanks, > > Terry > > On Aug 11, 9:08 am, Charlie Griefer <[email protected]> wrote: >> 1) Do you have an OnRequestStart cffunction in your Controller.cfc file? >> 2) If you do, but just added it, have you reinitialized the framework >> (e.g. >> mysite.com/?init=1)? >> >> >> >> On Tue, Aug 11, 2009 at 8:57 AM, CFTAD <[email protected]> wrote: >> >> > Hello, >> >> > I am new to MG and going through the QuickStart (http://docs.model- >> > glue.com/wiki/QuickStart/ >> > 4%3AHandlingaForm#Quickstart4:HandlingaForm<http://glue.com/wiki/QuickStart/%0A4%3AHandlingaForm#Quickstart4:Hand...>). >> > I am getting below >> > error: >> >> > Message The method OnRequestStart was not found in component C: >> > \Inetpub\wwwroot\translator\controller\Controller.cfc. >> > Detail Ensure that the method is defined, and that it is spelled >> > correctly. >> >> > Please advise what may need to be changed in order for it to work >> > correctly. >> >> > Thanks, >> >> > Terry >> >> -- >> I have failed as much as I have succeeded. But I love my life. I love my >> wife. And I wish you my kind of success. > > > > -- “Come to the edge, he said. They said: We are afraid. Come to the edge, he said. They came. He pushed them and they flew.” Guillaume Apollinaire quotes --~--~---------~--~----~------------~-------~--~----~ Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. 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/model-glue?hl=en -~----------~----~----~----~------~----~------~--~---
