We ran the 7.02 updated on 7/9, and ever since, cfchart no longer renders our
flash charts - in IE. I've tried it in Firefox and it works fine. Any
thoughts on why IE would be choking on this? The IE js error message is:
Line: 125, Char: 1, Error:Object Expected, Code: 0
Upon viewing the source, the only thing in that neighborhood of the line
number is this code for the chart(see attached)
Anythoughts?
TIA!
<NOSCRIPT>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,2,0"
ID="Images_2721844310100555_SWF" name="Images_2721844310100555_SWF"
WIDTH="350" HEIGHT="120">
<PARAM NAME="movie"
VALUE="/CFIDE/GraphData.cfm?graphCache=wc50&graphID=Images/2721844310100555.SWF"
/>
<PARAM NAME="quality" VALUE="high"/>
<PARAM NAME="bgcolor" VALUE="#FFFFFF"/>
<EMBED
src="/CFIDE/GraphData.cfm?graphCache=wc50&graphID=Images/2721844310100555.SWF"
quality="high" bgcolor="#FFFFFF" WIDTH="350" HEIGHT="120"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers
ion=ShockwaveFlash">
</EMBED>
</OBJECT>
</NOSCRIPT>
<script type="text/javascript" charset='utf-8'
src='/CFIDE/scripts/CF_RunActiveContent.js'></script>
<script type="text/javascript" charset='utf-8'>
CF_RunContent('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
\r\n
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,2,0"\
r\n ID="Images_2721844310100555_SWF" name="Images_2721844310100555_SWF"
WIDTH="350" HEIGHT="120">\r\n\t<PARAM NAME="movie"
VALUE="/CFIDE/GraphData.cfm?graphCache=wc50&graphID=Images/2721844310100555.SWF"
/>\r\n\t<PARAM NAME="quality" VALUE="high"/>\r\n\t<PARAM NAME="bgcolor"
VALUE="#FFFFFF"/>\r\n<EMBED
src="/CFIDE/GraphData.cfm?graphCache=wc50&graphID=Images/2721844310100555.SWF"
\r\n\t\tquality="high" bgcolor="#FFFFFF" WIDTH="350" HEIGHT="120"
TYPE="application/x-shockwave-flash"\r\n
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers
ion=ShockwaveFlash">\r\n</EMBED>\r\n</OBJECT>');
</script>
John2 - 16 Aug 2006 16:50 GMT
I am also having this exact problem
does any one have a fix?????
GDEXOPS - 18 Sep 2006 00:51 GMT
Me too. Seems that with 7.0.2 the CFCHART code generated for the browser now
contains two methods.. one for NOSCRIPT (older?) browswers.. and a 2nd version
directly under the code for <SCRIPT> enabled browsers.
Dead in the water. Can not generate same (simple) CFCHARTS that worked before
the 7.0.2 update.
haresh - 14 Oct 2006 04:14 GMT
Hi
I am facing a similar problem (not the same as you all).
The graph does generate, however it shows up as blank.
Have you figured out the problem / workaround?
Thanks in advance.
nemrac99 - 23 Mar 2007 22:53 GMT
Same problem here - simple CFchart works FINE in FireFox, broken in IE...apparently after 8 months it's STILL broken.
What's the FIX???
haresh - 23 Mar 2007 23:40 GMT
hi
in our case, the graphs came up fine. we had a name parameter in the graph tag, which was creating it, however supressing the display.
BKBK - 24 Mar 2007 07:18 GMT
A shot in the dark. Verify the existence of the script
[i]/CFIDE/scripts/CF_RunActiveContent.js[/i]. Open IE and
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl
ash&promoid=BIOW
r0brh0d3s@gmail.com - 18 Apr 2007 14:52 GMT
> A shot in the dark. Verify the existence of the script
> [i]/CFIDE/scripts/CF_RunActiveContent.js[/i]. Open IE andhttp://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=...
> ash&promoid=BIOW
Installing shockwave fixes nothing.
ReCap:
With IE7, Flash 9, ColdFusion 7.02 ,and active_content Hotfix cfchart
will not display in IE7.
Object Expected error with cf_runContent....blah...blah...trying to
get shockwave player for some crazy reason.
Firefox 2 doesn;t bother to look for shockwave and charts display
fine.
As far as I'm am aware there is no fix at this time.
I wonder if anyone at adobe knows this is happening.
jerrybucci - 26 May 2007 00:58 GMT
My solution to the problem was to strip out the JavaScript and use the
NOSCRIPT code. The following code also includes a fix for when you create a
chart in SSL mode (HTTPS), it alleviates the message that the page contains
secure and non-secure code:
<cfset sChartFormat = "flash">
<cfsavecontent variable="sChartContent">
<cfchart
format = "#sChartFormat#"
...
>
<cfchartseries
...
>
</cfchartseries>
</cfchart>
</cfsavecontent>
<cfif sChartFormat IS "flash">
<cfif CGI.HTTPS IS "on">
<cfset sChartContent = Replace(sChartContent, "http://", "https://",
"all")>
</cfif>
<cfset sChartContent = REReplaceNoCase(sChartContent, "</?NOSCRIPT>", "",
"all")>
<cfset sChartContent = REReplaceNoCase(sChartContent, "(?:<script.*?>)((\n|\
r|.)*?)(?:<\/script>)", "", "all")>
</cfif>
#sChartContent#
Jortegon - 19 Jan 2010 20:15 GMT
Thank you jerrybucci!!! Your solution works for me perfectly!!! :)
>My solution to the problem was to strip out the JavaScript and use the
>NOSCRIPT code. The following code also includes a fix for when you create a
[quoted text clipped - 32 lines]
>
>#sChartContent#
CFsolar - 19 Jun 2007 04:23 GMT
Did anyone ever solve this issue? Seems to still be a problem for me.
checkout http:\\casadiablo.net\PI\PI_index.cfm with IE and Firefox
lisxforms - 10 Aug 2007 11:27 GMT
Hi CFsolar,
Did you manage to solve this problem? I've just ran into it this morning and
now tearing my hair out.
Thanks
-alastair
>Did anyone ever solve this issue? Seems to still be a problem for me.
>
>checkout http:\\casadiablo.net\PI\PI_index.cfm with IE and Firefox