You could have another problem lurking.  If you are running on a shared
server, meaning you are not the only application, the path names need to use
the ACTUAL PATH ON THE FILE SYSTEM vice the webroot.  This makes testing
hell...

-----Original Message-----
From: Troy Simpson [mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 5:59 PM
To: CF-Talk
Subject: CFC Packages...

All,

During development, I saved my components in the URL
/catalog/model/*.cfc like this:

/catalog/model/description.cfc

And I referenced my components like this in my code:

catalog.model.description

Now I am moving my application onto a testing machine and they have
changed the URL to this:

/InsideWood/cataloging/model/description.cfc

And now my application has broke with the error "Could not find the
ColdFusion Component catalog.model.description"

So to keep this from happening again with my next application:  What
should I do?  How should I organized my components?  How should I
package my components?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to