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:
James Buckingham
12/06/2008 05:16 PM

Thanks to John's help I'm making some progress on this but still not quite there. After giving him a copy of my files he's found that he can get the Fusebox to work (ignoring a few things like external CFCs which I didn't provide). One comment though, that he didn't setup my mappings made me think. I'd actually setup my mapping to be the same name as the application name. Just to make sure this didn't cause any confuse (I'm not sure how it would but there you go!) I change the app name. When I did this I was returned a new error..... Could not find the ColdFusion Component src.controller.finance.   Please check that the given name is correct and that the component exists.      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_src_controller_finance" default="#createObject('component','src.controller.finance')#" /> 10 : <cfif structKeyExists(__fuseboxCircuitCfc_src_controller_finance,"prefuseaction") and isCustomFunction(__fuseboxCircuitCfc_src_controller_finance.prefuseaction)> 11 : <cfset __fuseboxCircuitCfc_src_controller_finance.prefuseaction(myFusebox=myFusebox,event=event) /> ----- The folder structure of my app is setup to be application.cfc src/controller src/model src/view with the finance circuit sitting at: src/controller/finance.cfc So I'm a bit confused now as to why it can't see it! Where are the calls made when this is executed? In the Fusebox (which is a mapping to the files on another drive) or within the application root? Just in case it helps here are my Fusebox settings (as I say bare in mind that this worked for John)...     FUSEBOX_APPLICATION_PATH           = "src";     // FUSEBOX_CALLER_PATH             = getDirectoryFromPath(getCurrentTemplatePath()) & "src\";     FUSEBOX_PARAMETERS.allowImplicitFusebox   = true;     FUSEBOX_PARAMETERS.allowImplicitCircuits   = true;     FUSEBOX_PARAMETERS.characterEncoding     = 'utf-8';     FUSEBOX_PARAMETERS.conditionalParse     = true;     FUSEBOX_PARAMETERS.debug           = true;     FUSEBOX_PARAMETERS.defaultFuseaction     = 'finance.home';     FUSEBOX_PARAMETERS.fuseactionVariable     = 'action';     FUSEBOX_PARAMETERS.maskedFileDelimiters   = "htm,cfm,cfml,php,php4,asp,aspx";     FUSEBOX_PARAMETERS.mode           = 'development-full-load';     FUSEBOX_PARAMETERS.password          = 'xxxxxx';     FUSEBOX_PARAMETERS.parsePath         = '/myApp/_extensions/fb/parsed/';     FUSEBOX_PARAMETERS.precedenceFormOrUrl     = 'form';     FUSEBOX_PARAMETERS.scriptFileDelimiter     = 'cfm';     FUSEBOX_PARAMETERS.strictMode         = true; ---- I hope this provides enough information but if you need anything else please let me know. Cheers again, James > Thanks for the help so far guys. > > Ant - Good to see a familiar name mate ;-). This is the only Fusebox > app running in this application so I don't think that's relevant > although I'll need to consider that for future proofing so cheers. The > other parameter is what I put in but still nothing :-(. > > John - Cheers John, I'll drop you a mail ASAP. Appreciate any help you > can give ;-)


Search fusebox

February 11, 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