FW/1 Installation problem

454 views
Skip to first unread message

scottqx

unread,
Feb 2, 2012, 12:27:19 PM2/2/12
to framework-one, scott_...@dcf.state.fl.us
I am a new user of CF and came across FW/1 recently. I am having
problems getting the FW1 installed and. I am running CF 9.0.1 local
and using CF Builder 2 as the IDE. I am using CF Builder projects and
have them mapped to a folder called CFProjects off the wwwroot
folder.

How do I import the FW1 files (downloaded from fw1.riaforge.org/) into
CF Builder. I've tried various configurations but keep getting an
error stating:

Exception in onError

The action main.default failed.
Unable to find a view for 'main.error' action.

'/cfprojects/fw1/examples/hello1/views/main/views/main/error.cfm' does
not exist. (FW1.viewNotFound)

Do all projects using FW/1 have to be in a folder of the root?

I did create a folder "org" off wwwroot and loaded the framework.cfc.
I then created a mapping via the Admin to /org using directory C:
\ColdFusion9\wwwroot\org.

Any assistance/guidance you can provide will be greatly appreciated.

Scott

Joe Brislin

unread,
Feb 8, 2012, 5:03:57 PM2/8/12
to framew...@googlegroups.com, scott_...@dcf.state.fl.us
Scott, 

There is something wrong with your configuration. If you look at the path in which it is looking for the file, it has duplicated the views path. It's looking in /cfprojects/fw1/examples/hello1/views/main/views/main/error.cfm instead of /cfprojects/fw1/examples/hello1/views/main/error.cfm. If you can post your Application.cfc, it might help decipher the problem.

- Joe

Thanks,
Joe Brislin


Message has been deleted

scottqx

unread,
Feb 18, 2012, 10:55:45 AM2/18/12
to framework-one
Sorry for the delay in responding to your request. I am only now
coming back to this.

Let's try a different approach to this...

I am a newbee to CF. I want to try FW/1 as a framework. I
am using Coldfusion Builder 2 as my IDE and I'm running Coldfusion
9.0.1 locally on a PC that's running Vista.

OK - I've made several unsuccessful attempts at installing FW/1.
There are a lot of different folders in the downloaded zip file.
Unfortunately the instructions to intsall fw/1 aren't clear enough for
me. I did get the entire file loaded in t a folder (see original
request)but still haven't been able to use it. I get different errors
that basically lead me to believe I've install it wrong.

Can some provide detail step by step instructions to get fw/1 install
and running? Also, are there sample apps that I can load that will
give a basic understanding of how fw/1 works.

Thanks in advance...

Scott

On Feb 8, 5:03 pm, Joe Brislin <jgbris...@gmail.com> wrote:
> Scott,
>
> There is something wrong with your configuration. If you look at the path in which it is looking for the file, it has duplicated the views path. It's looking in /cfprojects/fw1/examples/hello1/views/main/views/main/error.cfm instead of /cfprojects/fw1/examples/hello1/views/main/error.cfm. If you can post your Application.cfc, it might help decipher the problem.
>
> - Joe
>
> Thanks,
> Joe Brislin
>
>
>
>
>
>
>
> On Thursday, February 2, 2012 at 12:27 PM, scottqx wrote:
> > I am a new user of CF and came across FW/1 recently. I am having
> > problems getting the FW1 installed and. I am running CF 9.0.1 local
> > and using CF Builder 2 as the IDE. I am using CF Builder projects and
> > have them mapped to a folder called CFProjects off the wwwroot
> > folder.
>
> > How do I import the FW1 files (downloaded from fw1.riaforge.org (http://fw1.riaforge.org)/) into

scottqx

unread,
Feb 18, 2012, 3:35:51 PM2/18/12
to framework-one
Just to add to this some more. Today I attempted again and failed to
get something working.

I created a project in CF Builder called fw1. I then imported one of
the example apps (from the examples folder). I did this several
times, but the last attempt was Hello8 (I've done this with several of
the example apps). I copied the framework.cfc into the root of the
project and changed the application.cfc extends to just "framework".
When I execute index.cfm I get:

Invalid CFML construct found on line 46 at column 81.
ColdFusion was looking at the following text:

[

The CFML compiler was processing:

A script statement beginning with public on line 46, column 9.

The error occurred in C:\ColdFusion9\wwwroot\CFProjects
\fw1\framework.cfc: line 46

44 : }
45 :
46 : public void function addRoute( any routes, string target, any
methods = [ ], string statusCode = '' ) {
47 : if ( !isArray( routes ) ) routes = [ routes ];
48 : if ( !isArray( methods ) ) methods = [ methods ];


Still looking for an answer...

Should it be this difficult?

Hey I'm 1 for 3 cause I tried loading Lightfront too without success,
but I did get CFWheels to work the first time.

Sean Corfield

unread,
Feb 18, 2012, 4:00:45 PM2/18/12
to framew...@googlegroups.com
This indicates you're trying to run it on ColdFusion 9.0.0 instead of
9.0.1. It does not work on 9.0.0.

scottqx

unread,
Feb 18, 2012, 7:50:38 PM2/18/12
to framework-one
Thanks Sean for the reply. Ive been somewhat frustrated. I updated
to CF 9.0.1 as you suggested. It seems that the upgrade did work
however I am now getting the below error:

Exception in onError

The action main.default failed.
Element FRAMEWORK.APPLICATIONKEY is undefined in VARIABLES.

(Expression)

following are several cfdumps...


Closer, but not quite there yet...

Please advise me as to what I should do next.

Thanks again for your assistance. I am so looking forward to using fw/
1...

Scott

Sean Corfield

unread,
Feb 19, 2012, 12:02:50 AM2/19/12
to framew...@googlegroups.com
On Sat, Feb 18, 2012 at 4:50 PM, scottqx <sco...@live.com> wrote:
> Thanks Sean for the reply.  Ive been somewhat frustrated.  I updated
> to CF 9.0.1 as you suggested.  It seems that the upgrade did work

Cool.

> however I am now getting the below error:
>
> Exception in onError
>
> The action main.default failed.
> Element FRAMEWORK.APPLICATIONKEY is undefined in VARIABLES.

This suggests the framework is running into an exception during
startup, before it has even initialized the framework itself.

> Please advise me as to what I should do next.

To be honest, I've no idea. I'd need to be on your machine and look at
your configuration - there's clearly something wrong in how you have
FW/1 installed, as Joe indicated. I don't use Windows so I probably
can't help.

If you have a clean ACF9 install and you upgrade it to 9.0.1, then
simply unzip FW/1 into the web root (the wwwroot folder under the CF
installation), it should just work.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

scottqx

unread,
Feb 19, 2012, 7:48:24 AM2/19/12
to framework-one
Thanks Sean - It's working now (at least I'm getting the Welcome to
Framework One! page).

Looking forward to learning and using the framework.

Scott


On Feb 19, 12:02 am, Sean Corfield <seancorfi...@gmail.com> wrote:
> On Sat, Feb 18, 2012 at 4:50 PM, scottqx <scot...@live.com> wrote:
> > Thanks Sean for the reply.  Ive been somewhat frustrated.  I updated
> > to CF 9.0.1 as you suggested.  It seems that the upgrade did work
>
> Cool.
>
> > however I am now getting the below error:
>
> > Exception in onError
>
> > The action main.default failed.
> > Element FRAMEWORK.APPLICATIONKEY is undefined in VARIABLES.
>
> This suggests the framework is running into an exception during
> startup, before it has even initialized the framework itself.
>
> > Please advise me as to what I should do next.
>
> To be honest, I've no idea. I'd need to be on your machine and look at
> your configuration - there's clearly something wrong in how you have
> FW/1 installed, as Joe indicated. I don't use Windows so I probably
> can't help.
>
> If you have a clean ACF9 install and you upgrade it to 9.0.1, then
> simply unzip FW/1 into the web root (the wwwroot folder under the CF
> installation), it should just work.
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View --http://corfield.org/
> World Singles, LLC. --http://worldsingles.com/

Sean Corfield

unread,
Feb 19, 2012, 3:00:36 PM2/19/12
to framew...@googlegroups.com
On Sun, Feb 19, 2012 at 4:48 AM, scottqx <sco...@live.com> wrote:
> Thanks Sean - It's working now (at least I'm getting the Welcome to
> Framework One! page).

Excellent!


--
Sean A Corfield -- (904) 302-SEAN

An Architect's View -- http://corfield.org/

World Singles, LLC. -- http://worldsingles.com/

Reply all
Reply to author
Forward
0 new messages