install 3.1.299 from beta

0 views
Skip to first unread message

Irv Wilson

unread,
Aug 19, 2010, 4:12:27 PM8/19/10
to model-glue
I removed beta version and installed 3.1.299. One app runs fine
however an older app based off of canvas wiki returns this error.
Ideas?

The method setup was not found in component C:\HTTP\modelglue\gesture
\eventrequest\phase\Initialization.cfc.

Ensure that the method is defined, and that it is spelled correctly.

The error occurred in C:\HTTP\modelglue\gesture\eventrequest
\EventContext.cfc: line 178

Irv Wilson

unread,
Aug 19, 2010, 4:22:00 PM8/19/10
to model-glue
the specific lines are

<cfloop from="1" to="#arrayLen(variables._requestPhases)#" index="i">
<cfset this.addTraceStatement(variables._requestPhases[i].name,
"Setting up request phase.") />
<cfset
variables._requestPhases[i].setup(this,request._modelglue.bootstrap.initializationLockPrefix,request._modelglue.bootstrap.initializationLockTimeout) /
>
<cfset this.addTraceStatement(variables._requestPhases[i].name,
"Executing request phase.") />
<cfset variables._requestPhases[i].execute(this) />

Irv Wilson

unread,
Aug 19, 2010, 11:50:23 PM8/19/10
to model-glue
Sorry. Didn't think of the fact that "init" was on for the app I'm
working on and not for the other. Reinitializing the other fixed it.

Irv

On Aug 19, 1:22 pm, Irv Wilson <i...@iewilson.com> wrote:
> the specific lines are
>
> <cfloop from="1" to="#arrayLen(variables._requestPhases)#" index="i">
>    <cfset this.addTraceStatement(variables._requestPhases[i].name,
> "Setting up request phase.") />
>    <cfset
> variables._requestPhases[i].setup(this,request._modelglue.bootstrap.initial­izationLockPrefix,request._modelglue.bootstrap.initializationLockTimeout) /
>
>    <cfset this.addTraceStatement(variables._requestPhases[i].name,
> "Executing request phase.") />
>    <cfset variables._requestPhases[i].execute(this) />
>
> On Aug 19, 1:12 pm, Irv Wilson <i...@iewilson.com> wrote:
>
>
>
> > I removed beta version and installed 3.1.299.  One app runs fine
> > however an older app based off of canvas wiki returns this error.
> > Ideas?
>
> > The method setup was not found in component C:\HTTP\modelglue\gesture
> > \eventrequest\phase\Initialization.cfc.
>
> > Ensure that the method is defined, and that it is spelled correctly.
>
> > The error occurred in C:\HTTP\modelglue\gesture\eventrequest
> > \EventContext.cfc: line 178- Hide quoted text -
>
> - Show quoted text -

olivierb

unread,
Sep 15, 2010, 11:00:22 AM9/15/10
to model-glue
I got the same error when upgrading from ModelGlue 3 to 3.1 After
replacing the existing ModelGlue directory with the new ModelGlue 3.1
directory, I saw the same error message:

The method setup was not found in component C:\Inetpub\modelglue
\gesture\eventrequest\phase\Initialization.cfc.
Ensure that the method is defined, and that it is spelled correctly.
The error occurred in C:\Inetpub\modelglue\gesture\eventrequest
\EventContext.cfc: line 178

For those who need more details, this is what I did to resolve the
issue:

1) Opened ColdSpring.xml, found the property named "reload" and set
the value to: true
2) Opened application.cfc and added <cfset THIS.OnApplicationStart()>
in the OnRequestStart function.
3) Reloaded the application in my browser. The error was gone and the
application loaded correctly.
4) Changed the ColdSpring.xml property "reload" back to: false
5) Reloaded the application in my browser.
6) Removed the <cfset THIS.OnApplicationStart()> from the
OnRequestStart function in application.cfc.

I've noticed that even if I make changes to my ColdSpring.xml file,
they don't take effect unless I restart the application, which is why
I played with application.cfc file.

I can't say if this was the best way of handling the error but it
worked for me.

--
Olivier

Chris Blackwell

unread,
Sep 15, 2010, 11:38:35 AM9/15/10
to model...@googlegroups.com
Hi Oliver, 

There's no need to change you're app.cfc just to reload modelglue

Assuming you have the default settings for reloadKey and reloadPassword (in coldspring.xml) you can restart your application by appending &init=true to the end of any request to MG.  If you've changed these (and you should in propduction) just use whatever key and password you defined.

Chris

--
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 model...@googlegroups.com
To unsubscribe from this group, send email to
model-glue+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply all
Reply to author
Forward
0 new messages