Did you ever get a solution to this? I too am having the same problem with a
fusebox 4.1 app running on Bluedragon 6.2 .NET that is choking when trying to
execute the following code
<cfset request.session = duplicate(session)>
It just seems to be a problem with the 'duplicate' function?
> Okay, we have made some progress on this BlueDragon issue.
>
> When we try to call just the index.cfm without a fuseaction, the error
> changes. The new error we are running into is listed below, and the
> code causing the error is listed below that.
>
> I could be wrong, but it appears BlueDragon does not treat the CF
> application scope as a structure, at least not when it is in a CFLOCK.
>
>
> Is anyone else copying the application scope to a request variable in
> BlueDragon?
>
> Anyways:
>
> ---- Error -----
> Request /web/index.cfm
> File Trace C:/Program Files/New
> Atlanta/BlueDragon_Server/wwwroot/web/index.cfm
> |
> +-- C:/Program Files/New
> Atlanta/BlueDragon_Server/wwwroot/web/fbx_fusebox30_CF50.cfm
> |
> +-- C:/Program Files/New
> Atlanta/BlueDragon_Server/wwwroot/web/fbx_Settings.cfm
>
> Type Application
> Message General Runtime Error
> Tag Context CFPROCESSINGDIRECTIVE: Line=22; Column=7
> |
> +-- CFINCLUDE: Line=26; Column=1
> |
> +-- CFPROCESSINGDIRECTIVE: Line=1; Column=37
> |
> +-- CFTRY: Line=158; Column=1
> |
> +-- CFINCLUDE: Line=159; Column=2
> |
> +-- CFSILENT: Line=10; Column=1
> |
> +-- CFLOCK: Line=23; Column=1
> |
> +-- CFSCRIPT: Line=24; Column=2
> Detail Could not duplicate this variable. Check the variable does not
> contain references to complex types such as Java objects
> Extended Info
> Source 21: }
> 22: </cfscript>
> 23: <cflock scope="application" timeout="20" type="READONLY">
> 24: <cfscript>
> 25: if(isdefined("application")){
> ^ Snippet from underlying CFML source
>
> ----- Code -----
>
> <cfscript>
> if(isdefined("frm_logout_user")){
> structdelete(session,'user');
> request.deleted_userinfo = 1;
> }
> if(isdefined("session")){
> structinsert(request, "session", duplicate(session));
> }
> if(not isdefined("attributes.fuseaction")){
> structinsert(attributes, "fuseaction", "home.main");
> }
> </cfscript>
> <cflock scope="application" timeout="20" type="READONLY">
> <cfscript>
> if(isdefined("application")){
> structinsert(request, "application", duplicate(application));
> }
> </cfscript>
> </cflock>
>
> ----- End Error and Code -----
>
> M
>
> >Vince -
> >
> >Thanks for the response.
> >
> >I think the problem is more complicated than that, createObject() is
> not
> >used anywhere in the code.
> >
>M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222757
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54