Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 229391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:45:43+00:00 2026-05-11T19:45:43+00:00

Previously (and locally) I’ve placed the fusebox5 directory in the web root, and then

  • 0

Previously (and locally) I’ve placed the fusebox5 directory in the web root, and then applications from anywhere in the tree have been able to access it. I’d previously also used Application.cfm rather than .cfc.

In this environment I don’t have access to the webroot and the FB files don’t really need to be that far down anyway, so I had planned to store them alongside the applications. Am I right in thinking that index.cfm is overlooked if Application.cfc is in use (and therefore there’s no point changing the cfinclude value to be eg. ../fusebox5/)? If so, how can I include the framework without having Fusebox in the root or in a mapping? Error is:

Could not find the ColdFusion Component or Interface fusebox5.Application. 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T19:45:43+00:00Added an answer on May 11, 2026 at 7:45 pm

    You can run Fusebox 5+ in a subfolder of your app root. It just may not be the most obvious thing to make it work.

    Unfortunately, you cannot create a dynamic mapping for extending Application.cfc because your Application.cfc has not yet been instantiated – you get a chicken vs. egg scenario. You can’t create the mapping to Fusebox because your Application.cfc didn’t start, you can’t start your Application.cfc because it can’t find the component it’s supposed to extend.

    THIS IS A BUG IN COLDFUSION 8. ColdFusion should look for mappings in this order:

    • Mapped folders from the CF Administrator
    • Sub directories off the current directory
    • Sub directories off the web root called

    It does this when you use CreateObject(), but not when you use the Extends attribute on cfcomponent.

    The easiest solution is to use your Application.cfc like you would for any application, then include fusebox from your index.cfm. Your folder structure would look like this:

    /myapp/fusebox5/
    /myapp/index.cfm
      -- consists of <cfinclude template="fusebox5/fusebox5.cfm" />
    

    Your index.cfm file will not be ignored as long as you don’t intercept the request with Application.cfc’s OnRequest, or if you use OnRequest, make sure you include the intended target (which will almost always be index.cfm anyway).

    If you want to not require index.cfm to do the include, you can have your Application.cfc’s OnRequest method do the cfinclude.

    <cffunction name="onRequest">
        <cfinclude template="fusebox5/fusebox5.cfm">
    </cffunction>
    

    You still may need an index.cfm so your web server won’t give a directory listing or 404, but it’s ok if the file is empty.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Previously I have been investigating several solutions how to register with email address instead
I have made a TCP server which I have been testing locally and it
I have a repo that I've been using with GitHub. Previously, the repo had
Previously, I have worked on local notifications, but I got problem in it now.
Previously, I have an app that uses core data. I use same store url
I have been trying to set up an svn repository on an ubuntu 11.04
I'm doing some experiments locally that require some data from a production MySQL DB
Our workflow currently has developers working on locally hosted copies of our web application
Sorry if this is a repeat of a question asked previously, but I have
I am working locally on a branch (master). I previously made a rebase to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.