Ask a Question related to Coldfusion Server Administration, Design and Development.
-
Snazzo #1
Can't Find Components!
We have a development server with a C drive. The C has coldfusion server and
finds components perfectly.
When we push code up to one of our production servers it can't find the
components. The configuration is a C drive and a D drive. The C has
inetpub/wwwroot/CFIDE and the D drive has coldfusion server installed on it
along with the website code.
On a second production server we hace a C drive and a D drive. The C drive has
inetpub/wwwroot/CFIDE AND coldfusion server on it, with the website code on the
D drive. This finds coldfusion components perfectly.
The code used to find components is: createObject('component',
'components.componentFolder.componentName')
Is it possible the location of the coldfusion server on the first production
server is causing this problem? We do not use mappings on any server since we
have never needed to. I thought coldfusion was supposed to follow its sequence
to identify where the component is located in the directory structure.
Any ideas on how to correct this issue?
Thanks!
Snazzo Guest
-
Using DW find to find tags not on page
I transfering content from 1498 static pages into a MySQL database. I've isolated 1450 pages with single h1 or h2 tags that I can use in the title... -
DW and CF Components
I have written several components and they (I think) look exactly like the one in my CFMX7 Web App Const. Kit book. However, when I view them... -
How to use components
For example, I draw a combobox, I want to load the certain movie when the change event is triggered. How to do that? -
trailing slash issue in Find.find
require "find" Find.find("/usr/bin/") { |file| puts file } /usr/bin//rmdir /usr/bin//rm /usr/bin//mv /usr/bin//mknod /usr/bin//mkfifo... -
ASP.NET & COMPONENTS
I am developing a component in VS.NET that is going to hosted on an APSX page. Is there a way I can get a reference to the page from the component.... -
PaulH **AdobeCommunityExpert** #2
Re: Can't Find Components!
Snazzo wrote:
and "components" is a cf mapped dir? then map it the same on your production boxes.> The code used to find components is: createObject('component',
> 'components.componentFolder.componentName')
PaulH **AdobeCommunityExpert** Guest
-
Snazzo #3
Re: Can't Find Components!
Components is a directory in the root of the website. There are no mappings necessary for this to work on development or on the second production server.
Snazzo Guest
-
PaulH **AdobeCommunityExpert** #4
Re: Can't Find Components!
Snazzo wrote:
ok, i seemed to have skipped that part in your message. what happens if you> Components is a directory in the root of the website. There are no mappings
> necessary for this to work on development or on the second production server.
stick a plain jane HTML page in that dir? can you successfully call it?
PaulH **AdobeCommunityExpert** Guest
-
Snazzo #5
Re: Can't Find Components!
All pages work perfect in any of the three environments. The only time I get a
variance is when I try to reference a component. createObject('component',
'components.componentFolder.componentName') gives me the error where is says it
can't find the component or it doesn't exist.
Everything else works as expected, so that led me to question the sequence
that coldfusion finds the components as the possible culprit.
Snazzo Guest
-
PaulH **AdobeCommunityExpert** #6
Re: Can't Find Components!
Snazzo wrote:
and a plain page works in that specific dir?> All pages work perfect in any of the three environments. The only time I get a
PaulH **AdobeCommunityExpert** Guest
-
-
PaulH **AdobeCommunityExpert** #8
Re: Can't Find Components!
Snazzo wrote:
that's rather odd. if you can get to an html or cf page then you should be able> Yes it does.
to get to a CFC as well. something simple? spelling error?
PaulH **AdobeCommunityExpert** Guest
-
Snazzo #9
Re: Can't Find Components!
It has nothing to do with spelling. The exact same code base on the second production server works perfect and finds the components as expected.
Snazzo Guest



Reply With Quote

