Ok, open your browser and go to you

yourhost/cfchelloworld/modules/helloworld.cfc

Confirm it gives you the descriptor. Look at top - and you will see that
CF thinks the name is. Confirm it matches your path below.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Neil H. [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, June 25, 2002 8:50 AM
> To: CF-Talk
> Subject: Re: Kevin Towes Presentation.
> 
> 
>       Could not find the template cfchelloworld.modules.helloworld
> 
> 
>       The Error Occurred in C:\Intranet\cfchelloworld\test.cfm: line 5
> 
> 3 :           component="cfchelloworld.modules.helloworld"
> 4 :           method="sayHello"
> 5 :                   returnVariable="message" />
> 6 :       #message#
> 7 : </cfoutput>
> 
> 
> 
> 
> I renamed the directory to cfchelloworld just to be sure the 
> dash wasn't
> causing a problem. (The code was adjusted too)
> 
> Neil
> 
> ----- Original Message -----
> From: "Raymond Camden" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, June 25, 2002 8:42 AM
> Subject: RE: Kevin Towes Presentation.
> 
> 
> > Sorry Neil, I didn't see your response to Todd.
> >
> > So - I made an exact dupe of your cfc test locally and it 
> worked fine.
> > What error are you getting exactly?
> >
> > 
> ==============================================================
> =========
> > Raymond Camden, ColdFusion Jedi Master for Macromedia
> >
> > Email    : [EMAIL PROTECTED]
> > Yahoo IM : morpheus
> >
> > "My ally is the Force, and a powerful ally it is." - Yoda
> >
> > > -----Original Message-----
> > > From: Neil H. [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, June 25, 2002 8:29 AM
> > > To: CF-Talk
> > > Subject: Re: Kevin Towes Presentation.
> > >
> > >
> > > Ok,
> > > My CFC is in mydomain.com/cfc-helloworld/modules and is called
> > > helloworld.cfc
> > >
> > >
> > > The invoke is in mydomain.com/cfc-helloworld/test.cfm
> > >
> > > Thanks,
> > >
> > > Neil
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: <[EMAIL PROTECTED]>
> > > To: "CF-Talk" <[EMAIL PROTECTED]>
> > > Sent: Tuesday, June 25, 2002 8:15 AM
> > > Subject: Re: Kevin Towes Presentation.
> > >
> > >
> > > > Neil,
> > > >
> > > > Your cfinvoke should just be
> > > >
> > > > components="cfc-helloworld.test"
> > > >
> > > > If http://mydomain/cfc-helloworld/test.cfm <-- This is your
> > > component, it
> > > > must end with a .cfc not .cfm
> > > >
> > > > Currently your invoke statement is looking for:
> > > >
> > > > cfc-helloworld.modules.helloworld =
> > > /cfc-helloworld/modules/helloworld.cfc
> > > >
> > > > This make any sense for you?
> > > >
> > > > HTH,
> > > > ~Todd
> > > >
> > > > On Tue, 25 Jun 2002, Neil H. wrote:
> > > >
> > > > > Raymond,
> > > > >
> > > > > This isn't working:
> > > > >
> > > > > <cfoutput>
> > > > >  <cfinvoke
> > > > >          component="cfc-helloworld.modules.helloworld"
> > > > >          method="sayHello"
> > > > >    returnVariable="message" />
> > > > >      #message#
> > > > > </cfoutput>
> > > > >
> > > > > My Path to the site would be
> > > http://mydomain/cfc-helloworld/test.cfm
> > > > >
> > > > > Please let me know what I am missing!
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Neil
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Raymond Camden" <[EMAIL PROTECTED]>
> > > > > To: "CF-Talk" <[EMAIL PROTECTED]>
> > > > > Sent: Tuesday, June 18, 2002 1:42 PM
> > > > > Subject: RE: Kevin Towes Presentation.
> > > > >
> > > > >
> > > > > > Ah - sorry - the 'package' (or path) to the cfc should
> > > be from the web
> > > > > > root (or vitual dir, or custom tag path). Since your
> > > modules folder is
> > > > > > under cfc-helloworld, your path should be:
> > > > > >
> > > > > > component="cfc-helloword.modules.HelloWord"
> > > > > >
> > > > > >
> > > ==============================================================
> > > =========
> > > > > > Raymond Camden, ColdFusion Jedi Master for Macromedia
> > > > > >
> > > > > > Email    : [EMAIL PROTECTED]
> > > > > > Yahoo IM : morpheus
> > > > > >
> > > > > > "My ally is the Force, and a powerful ally it is." - Yoda
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Neil H. [mailto:[EMAIL PROTECTED]]
> > > > > > > Sent: Tuesday, June 18, 2002 12:14 PM
> > > > > > > To: CF-Talk
> > > > > > > Subject: Re: Kevin Towes Presentation.
> > > > > > >
> > > > > > >
> > > > > > >  Here is my code:
> > > > > > >
> > > > > > > <cfoutput>
> > > > > > >  <cfinvoke
> > > > > > >          component="modules.HelloWorld"
> > > > > > >          method="sayHello"
> > > > > > >    returnVariable="message"
> > > > > > >          />
> > > > > > >      #message#
> > > > > > > </cfoutput>
> > > > > > >
> > > > > > > Here is the error:
> > > > > > >       Could not find the template modules.helloworld
> > > > > > >
> > > > > > >
> > > > > > >       The Error Occurred in
> > > > > > > C:\Intranet\cfc-helloworld\test.cfm: line 6
> > > > > > >
> > > > > > > 4 :         method="sayHello"
> > > > > > > 5 : returnVariable="message"
> > > > > > > 6 :         />
> > > > > > > 7 :     #message#
> > > > > > > 8 : </cfoutput>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Neil
> > > > > > > ----- Original Message -----
> > > > > > > From: "Raymond Camden" <[EMAIL PROTECTED]>
> > > > > > > To: "CF-Talk" <[EMAIL PROTECTED]>
> > > > > > > Sent: Tuesday, June 18, 2002 12:02 PM
> > > > > > > Subject: RE: Kevin Towes Presentation.
> > > > > > >
> > > > > > >
> > > > > > > > Can you show us the code, ie, your import - and
> > > maybe share a URL?
> > > > > > > >
> > > > > > > >
> > > > > > > 
> ==============================================================
> > > > > > > =========
> > > > > > > > Raymond Camden, ColdFusion Jedi Master for Macromedia
> > > > > > > >
> > > > > > > > Email    : [EMAIL PROTECTED]
> > > > > > > > Yahoo IM : morpheus
> > > > > > > >
> > > > > > > > "My ally is the Force, and a powerful ally it 
> is." - Yoda
> > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Neil H. [mailto:[EMAIL PROTECTED]]
> > > > > > > > > Sent: Tuesday, June 18, 2002 11:52 AM
> > > > > > > > > To: CF-Talk
> > > > > > > > > Subject: Re: Kevin Towes Presentation.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > As sure as I am writing this email.
> > > > > > > > >
> > > > > > > > > Neil
> > > > > > > > >
> > > > > > > > > ----- Original Message -----
> > > > > > > > > From: "Raymond Camden" <[EMAIL PROTECTED]>
> > > > > > > > > To: "CF-Talk" <[EMAIL PROTECTED]>
> > > > > > > > > Sent: Tuesday, June 18, 2002 11:35 AM
> > > > > > > > > Subject: RE: Kevin Towes Presentation.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > I deleted the .cfc file and I can still run
> > > it!  That is
> > > what
> > > > > > > > > > Ah - yea - restart the server. :>
> > > > > > > > > >
> > > > > > > > > > > is meant by
> > > > > > > > > > > cache.  And when I put Modules.HelloWorld I
> > > get an error
> > > > > > > > > > > about it unable to
> > > > > > > > > > > find the cfc file?
> > > > > > > > > >
> > > > > > > > > > So, you are sure that, under web root, the folder is
> > > > > > > Modules and the
> > > > > > > > > > file name is HelloWorld.cfc?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > ==============================================================
> > > > > > > > > =========
> > > > > > > > > > Raymond Camden, ColdFusion Jedi Master for 
> Macromedia
> > > > > > > > > >
> > > > > > > > > > Email    : [EMAIL PROTECTED]
> > > > > > > > > > Yahoo IM : morpheus
> > > > > > > > > >
> > > > > > > > > > "My ally is the Force, and a powerful ally it
> > > is." - Yoda
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > 
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to