Apparently this had to do with my attempting to overwrite a previously set
local variable called "settings" with a new local variable called "settings"
.. The problem seems to resolve itself when I structappend() the attributes
scope into the existing local variable intead of trying to replace it.

Really strange... I've never seen anything like it before ... and it just
got more bizarre as I looked at it, 'cause I'd have 5 or 6 include files
that would error out, so I'd re-save each ( adding or removing white space
didn't really make a difference, the file just had to be resaved ) in turn
as they errored out and then when I got to the last one, the first one would
error out again, so I could have gone on indefinitely re-saving files and
fixing the re-saved file but never getting to the end of it...

Anyway -- There's a wierd one for the archive. :P

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

> Everyone's going to think I've lost my mind completely...

> CF 5, Win2000 Server ...

> I have a file which includes several other files, and I'm
> getting an error
> on the evaluation of a given structure element, so I use
> <cfdump> prior to
> the include to make sure it's in the structure and it is.
> So I check the
> file in question, nothing suspicious looking about it... I
> ad a _space_ to a
> line in the file ... oh, just anywhere, doesn't matter
> where ... rerun the
> file, and suddenly it no longer has any problems
> evaluating the structure
> element -- now it stops on a different include file with a
> similar message.
> Unable to evaluate another element in the same structure
> -- I open that
> file, and add a space anywhere in the file and rerun the
> page -- and that
> error goes away!!!

> Is it just me? Have I pissed of the gods? ...

> The structure in question is a duplicate() of the
> attributes structure (
> which has had the form and url scopes structappend()ed to
> it ), with a few
> elements structdelete()ed... The error looks like this:

> An error occurred while evaluating the expression:


> "#settings.font_color#"


> Error near line 3, column 34.

> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/index.cfm?sideb
> ar=lists&body=lists/cf_talk
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Structure your ColdFusion code with Fusebox. Get the
> official book at http://www.fusionauthority.com/bkinfo.cfm



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to