House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Fusebox

Fusebox 5 5 non-xml specifing a directory for my circuits

Author:
Anthony Cooper
12/04/2008 07:02 AM

Hello fellow SCFUG member, on my FB5.5 apps (with XML :-) I just have these two variables in my   index.cfm <cfset FUSEBOX_APPLICATION_KEY = "myApp"> <cfset FUSEBOX_APPLICATION_PATH = "_fbApp" /> The first one is important if you want to run 2 different fusebox apps   under a single CF Application (one Application.cfc). The 2nd one can be also used to move the source out of the web root   using relative paths. Good luck! Ant On 4 Dec 2008, at 11:36, James Buckingham wrote: > Hello everyone, > > I posted this on the Fusebox forum last week but nobody has replied   > so I thought I'd try here instead. Hope you can help. > > ----------------- > > > I'm working on a non-XML Fusebox app just now and wanting to do a   > bit of tidy up in the folders by moving all the Fusebox files into a   > folder called 'src'. > > I've tried the suggested approaches in this blog entry.... > http://aliaspooryorik.wordpress.com/2008/02/15/specifing-a-directory-for-implicitly-locating-circuits-in-fusebox-55-using-fusebox_caller_path/#comment-42 > > ....but when I try this I get the following error from Fusebox: > > -------- > > Could not find the ColdFusion Component   > onlinePayments.controller.finance. > Please check that the given name is correct and that the component   > exists. > > The path should be onlinePayments.src.controller.finance. > > The error occurred in C:\Inetpub\iwsroot\cfusion.war\interact > \onlinePayments\_extensions\fb\parsed\finance.home.cfm: line 9 > Called from C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\fusebox > \Application.cfc: line 228 > Called from C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\fusebox > \Application.cfc: line 218 > > 7 : <cfset myFusebox.thisCircuit = "finance"> > 8 : <cfset myFusebox.thisFuseaction = "home"> > 9 : <cfparam   > name="__fuseboxCircuitCfc_onlinePayments_controller_finance"   > default > ="#createObject('component','onlinePayments.controller.finance')#" /> > > -------- > > I've tried the following code in both the application.cfc (at the   > top along with all my other FB parameters) and in my default.cfm   > which calls the Fusebox. > > FUSEBOX_PARAMETERS.fusebox_application_path = 'src'; > fusebox_application_path > > ....and as the blog suggests (but doesn't recommend) the   > FUSEBOX_CALLER_PATH. All show the same error. > > Any ideas / help would be appreciated. > > Cheers, > James > >


Search fusebox

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29