Hello Larry,
Are you using the Adobe ColdFusion engine? Others (such as Railo) can have
optimizations enabled to prevent looking up the structure for application files?
If you're still having problems with this then Intergral (the makers of
FusionReactor) can help. Check out our ColdFusion
I figured it out on my way into work. I can't believe I missed it, but there
are no files off the web root and the root of this application is in sub
directories for some reason.
Thank you all for trying to help me resolve it and informing me I was building
the CFC incorrectly.
Thanks,
I am quite lost on this one as I have not experienced this yet. We have an
outside application that was built and I am trying to use 1 Application.cfc
versus an Application.cfm. The application uses client variables so in the
main cfc off the root, I have:
cfapplication name=NameHere
Message-
From: Larry Schaberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 10:55 AM
To: CF-Talk
Subject: Coldfusion 8.0.1 Application.cfc issue
I am quite lost on this one as I have not experienced this yet. We have
an outside application that was built and I am trying to use 1
I will give that a shot, but it actually seems like it is not looking for the
file in the root directory and is only looking for the file in any sub
directories.
Larry, I'm no expert but this is what works for me.
From within App.cfc..
I am no expert either.
But I'll tell you what is actually happening.
When setting the application name, client enable etc.
You will want to do this
this.name = Application Name
I suggest you read the docs, on application.cfc and setting Application Name.
Now the reason could be one of two
Is that something new? I have used the cfapplication with CFMX 7 and on CF 8
applications that I built outside of this particular application and they
always work fine. I will give it a shot and see if changing from
cfapplication to script elements will function better.
I am no expert either.
Also, take a look at this:
http://www.coldfusionjedi.com/downloads/application.cfc.txt
m!ke
-Original Message-
From: Larry Schaberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 11:19 AM
To: CF-Talk
Subject: Re: Coldfusion 8.0.1 Application.cfc issue
Is that something new? I
This did not work. It still tells me I have to set the client management.
I am no expert either.
But I'll tell you what is actually happening.
When setting the application name, client enable etc.
You will want to do this
this.name = Application Name
I suggest you read the docs, on
Have you checked your directories to make sure there are not errant
local Application.cfm files overriding the global Application.cfc file?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
As I stated above, it still does not work. CF is acting as if it is not looking
in the directory above it for the application.cfc If I copy/paste the file into
that directory it works fine. The cfapplication even if it is not proper,
which is a mute point right now, does work as I have used it
Yes, I have looked in the 3 directory levels to ensure there are no
application.cfm or application.cfc files and there are none.
Have you checked your directories to make sure there are not errant
local Application.cfm files overriding the global Application.cfc file?
This isn't a valid Application.cfc file. Application.cfc doesn't use the
cfapplication tag. As other's have noted, you'll want to read up on
Application.cfc or consult Ray's overview of it. Once you set it up
correctly you'll find that it will work fine.
On Tue, May 20, 2008 at 11:55 AM, Larry
Are you on Linux or another case-sensitive OS? I believe
Application.cfc needs to have the capital A.
~Brad
-Original Message-
From: Larry Schaberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 11:52 AM
To: CF-Talk
Subject: Re: Coldfusion 8.0.1 Application.cfc issue
Yes, I
No it is windows 2003.
Are you on Linux or another case-sensitive OS? I believe
Application.cfc needs to have the capital A.
~Brad
Yes, I have looked in the 3 directory levels to ensure there are no
application.cfm or application.cfc files and there are none.
Have you checked your
Not sure what to tell you then, except to keep looking. Application.cfc
definitely does what you're trying to do, so there simply has to be
something else going on in your code or your setup. Are you positive there
are not any lingering Application.cfm or Application.cfc files in the
intermediary
to: http://www.winninginthemargins.com
and use passcode: GoldenGrove
-Original Message-
From: Larry Schaberg [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: 5/20/2008 10:07 AM
Subject: Re: Coldfusion 8.0.1 Application.cfc issue
No it is windows 2003.
Are you on Linux
@houseoffusion.com
Sent: 5/20/2008 10:07 AM
Subject: Re: Coldfusion 8.0.1 Application.cfc issue
No it is windows 2003.
Are you on Linux or another case-sensitive OS? I believe
Application.cfc needs to have the capital A.
~Brad
Yes, I have looked in the 3 directory levels to ensure
Are you using any frameworks?
Adam
On Tue, May 20, 2008 at 11:55 AM, Larry Schaberg [EMAIL PROTECTED]
wrote:
I am quite lost on this one as I have not experienced this yet. We have an
outside application that was built and I am trying to use 1 Application.cfc
versus an Application.cfm. The
If you have used cfapplication in Application.cfc on all those version
then you haven't read the Coldfusion tags/functions documents to well,
then you are doomed for more bugs in your code. There is detailed
information on how to use the Application.cfc, and it is not a normal
Coldfusion template,
20 matches
Mail list logo