Mark,

I just did a search on IIF,DE and Evaluate.... Man.. Its all over the place
in the code..
A few hundred Templates as well.. Very badly organized code.

> If a developer does this and the variable doesn't exist, it will generate
> the "insidetext" error.

I always get a "variable not found or variable misspelled error"

However i am not able to replicate the error with simple test code..

Do you have the source code to
http://dev.cfwebtools.com/showInsideText.cfm

Or do you have some test code?

Appreciate your help.

Thanks,
Joe Eugene



----- Original Message ----- 
From: "Mark A. Kruger - CFG" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 2:20 PM
Subject: RE: ColdFusion 5.0 (INSIDETEXT Error)


> Joe,
>
> I have a clue for you.  I have seen this error before in a CFIF statement
> when a developers practice is to place a variable directly as a boolean
into
> the statement. for example:
>
> <Cfif GetUser.IsAuthorized> ... instead of..  <cfif GetUser.IsAuthorized
IS
> true>
>
> (see http://dev.cfwebtools.com/showInsideText.cfm )
>
> (this isn't always a bad idea if the variable is named appropriately
enough
> to make sense linguistically)
>
> If a developer does this and the variable doesn't exist, it will generate
> the "insidetext" error. The CF parser doesn't find the variable in its
> cascading scope check and therefore assumes you intended to insert it as a
> attribute to the <cfif> tag (or in your case the cfset tag).  Since it is
> not an appropriate attribute it tells you that your attribute doesn't
exist.
> The "insidetext" item is probably from the parser itself - as it crunches
> the code it finds the <cf....> brackets and parses through the
"insideText"
> of the tag - capice? Anyway, if I were you I would look for a shortcut
> <cfset> statement or statements like this:
>
> <cfset  arrayResize(myArray)>
>
> Where there is no left hand assigmnent variable.  It's probably going to
be
> something inside of a function - perhaps an IFF / DE type expression.
>
> -Mark
>
>
> -----Original Message-----
> From: Joe Eugene [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 15, 2003 10:33 AM
> To: CF-Talk
> Subject: ColdFusion 5.0 (INSIDETEXT Error)
>
>
> We have Some Old ColdFusion Applications on CF 5.0 ENT throwing out this
> error
> quite often and it spreads to other applications on the Server making
> ColdFusion 5.0 Un-stable.
>
> Has anybody else experienced these problems? I am not familiar with
> the code, it seems to be using Alot of Evaluate and CFForms and some other
> bad code..
>
> Appreciate any insight.
>
> Thanks,
> Joe Eugene
>
> -------------------------------
> Error Diagnostic Information
>
> Just in time compilation error
>
> An unknown attribute 'PRODSEARCH' has been encountered at document
position
> (50:9) to (50:18) while processing tag CFSET. This tag can only take the
> following attributes:
>
> INSIDETEXT
> The last successfully parsed CFML construct was a CFSET tag occupying
> document position (50:1) to (50:6).
>
> The specific sequence of files included or processed is:
> D:\inetpub\wwwroot\UF_AU\pc\orderentry.cfm
>
> Date/Time: 09/15/03 10:21:25
> Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
> Remote Address: 208.48.12.13
> HTTP Referrer: http://www.unfranchise.com/uf/menu1.cfm
> ---------------------------------
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to