portal entry

select a category, or use search below
(searches all categories and all time range)
Title:

Where do set the components directory

| View in Portal
May 17, 2019 07:39:48 PM GMT
1 Comment
<p>How do I set up the components directory in the ColdFusion 2018 server?</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2019/05/set-components-directory/">Where do set the components directory</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: CF2018 Updates, ColdFusion 2018, Question, administrator, cf2018 updates, coldfusion 2018, question

Comments:

<p>Can you elaborate? There are many things you may mean here.</p><p>To be clear, there is no concept of a default “components directory”, being a location where components “should go”.</p><p>There is the concept that CF will search implicitly various locations when you invoke a CFC, starting with where your code is running, or the webroot of where that code is running. (And if you specify a path or package name, it looks for a folder of that name in these locations.)</p><p>Then it will also look for the CFC in CF’s customtags folder, or locations named in the CF admin “custom tag paths” page, or its “mappings” page (you can search for the location of those with the CF2018 admin search feature, in its top right corner).</p><p>And your own code can set application level customtagpaths and mappings, to override the Admin settings.</p><p>Thus my request for more clarification of what you may mean.</p><p>Are you saying you are moving code from some other server to this one running CF2018, and are you getting errors about CF not being able to find the components?</p><p>If so, I would start by looking at the CF admin of the old machine, to see if there are any defined custom tag paths, or any admin mappings. Then look in those folders (on the old machine), as well as the [cf]cfusioncustomtags folder (or the equivalent in any instances other than cfusion). If there are files there of yours, maybe someone forgot to copy those over to the new server, to their corresponding location on the new server.</p><p>Let us know if that helps.</p>
Comment by Charlie Arehart
2054 | May 17, 2019 09:32:49 PM GMT