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
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/fusebox/message.cfm/messageid:6955
Subscription: http://www.houseoffusion.com/groups/fusebox/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12

Reply via email to