Good point..
Just FYI:
Here is the code that broke
<CFIF (cfimage.width LT 500) and NOT
FileExists("#cffile.serverdirectory#/l_#local_photo_file#")>
<CFSET Size = "500">
<CFSET Percentage = Evaluate(Size / cfimage.width)>
<CFSET Percentage = Round(Percentage * 100)>
<CFIMAGE
srcfile="#cffile.serverdirectory#/#local_photo_file#"
destfile="#cffile.serverdirectory#/l_#local_photo_file#"
action="edit"
width="#Percentage#%"
height="#Percentage#%"
uridirectory="NO"
>
</CFIF>
And here is the code that worked
<CFIF (cfimage.width LT 500) and NOT
FileExists("#cffile.serverdirectory#/l_#local_photo_file#")>
<CFSET Size = "500">
<CFSET Percentage = Evaluate(Size / cfimage.width)>
<CFSET Percentage = Round(Percentage * 100)>
<CFIMAGE
srcfile="#cffile.serverdirectory#/#local_photo_file#"
destfile="#cffile.serverdirectory#/l_#local_photo_file#"
action="edit"
width="#Percentage#%"
height="#Percentage#%"
uridirectory="NO"
>
</CFIF>
I replaced one with the other and the app stopped breaking.. I've never had
a problem with this or seen this happen since I upgraded. I'm using a
nightly from about 2 weeks ago. It's happened before. Something as simple as
a <CFSET> command breaking, and I simply delete it and rewrite it exactly
the same and then it works. Very puzzling sinceI let myself stare at the
broken code for an hour or so pulling my hair.
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!