Another option is to take the output of a cfchart and write it to a file that 
you manage yourself. Use the name attribute of cfchart set to something like 
myChart, then do a cffile write with the output being myChart. Personally I 
kind of prefer this approach to the admin caching settings because it isn't one 
size fits all. I can cache my output for as long or as little as I like and 
where I would like. Just a thought.



----- Original Message ----
From: Scott Councill <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, August 14, 2007 10:16:36 AM
Subject: RE: [ACFUG Discuss] CFChart doesn't display Flash movie or PNG




 
 


<!--
 _filtered {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
 _filtered {font-family:"Comic Sans MS";panose-1:3 15 7 2 3 3 2 2 2 4;}
 _filtered {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times 
New Roman", "serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p
        {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times 
New Roman", "serif";}
span.gmailquote
        {}
span.e
        {}
span.EmailStyle20
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
.MsoChpDefault
        {}
 _filtered {margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {}
-->






This does look like an issue that I will look into.  However,
what I am experiencing is I have 2 copies of the same application – Dev and
Staging, and the Chart works on Dev but not on Staging.  The only difference 
that
I can see between the 2 apps is that Staging has an SSL.  I have chosen to
cache the charts in memory rather than the default of the hard drive.  We have
plenty of memory and this is a relatively low volume app so it won’t be a
problem.
 

  
 

Scott Councill
 

Software Engineer
 

Direct: 404.601.4390
 

[EMAIL PROTECTED]
 

  
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ajas Mohammed

Sent: Tuesday, August 14, 2007 9:56 AM

To: [email protected]

Subject: Re: [ACFUG Discuss] CFChart doesn't display Flash movie or PNG
 




  
 

Hi,

     We had faced the image expired issue as the image is
cached for only sometime. The file you need to edit is I think <cf
install path>\lib\webcharts3d.xml and you can increase minTimeout and
maxTimeout v alues. 



Here are some helpful links



http://cfchart.blogspot.com/2005_06_01_archive.html




http://www.cfguru.org/index.cfm/2006/5/31/CFChart-Issues



I Hope it helps.



Ajas Mohammed.




 



On 8/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
 



The graph files
exists for a short period of time and then they are deleted by the CF server.
If you are caching the page, you will see the behavior you describe - since the
html cache still holds the reference to a file that no longer exist. I think
there is an administrator setting to change how long the graph file lives. One
thing that I have done is make a copy of the graphing file somewhere that I
control. I then change the cached html to reference that file instead. 



Sincerely,



Brooks Wilson 
 

There
is no education like adversity. - Benjamin Disraeli 
 


 
  
  Federal Reserve Bank of Atlanta · 1000
  Peachtree Street, N.E. · Atlanta Georgia 30309-4470

  404.498.8178 · fax 404.498.8239 · [EMAIL PROTECTED]
 
  
 


  
 

  




 


 
  
  "Scott
  Councill" <[EMAIL PROTECTED]> 

  Sent by: [EMAIL PROTECTED] 
 
  08/13/2007
  05:24 PM 
 
  
   
    
    Please respond to

    [email protected]
 
    
   
  
  
  
  
   
    
    To
 
    
    
    <[email protected]>
    
 
    
   
   
    
    cc
 
    
    

   
   
    
    Subject
 
    
    
    [ACFUG
    Discuss] CFChart doesn't display Flash movie or PNG
 
    
   
  
    
 
  
   
    

    

   
  
  
 










I
get a "File Not Found" in the HTTP Header.  A couple things I am
try to understand.  I have a multi-homed IIS setup and 1 instance of CFMX7
running.  When the CFChart is included in a file, it actually calls a file
/CFIDE/GraphData.cfm?graphCache=wc50&graphID=Images/100058.SWF but there is
no such file as GraphData.cfm in the CFIDE folder, nor is there a file called
100058.SWF in the /CFIDE/Images/ folder. 

 


I
have 2 sites (DEV and STAGING) on the same server mentioned above.  On
DEV, the page works like a champ – on STAGING, nothing.  Well, on STAGING
the page comes up without any errors displayed and the placeholder for the SWF
file is there, just no chart.  OK, STAGING is under an SSL and DEV is not.
 I have already updated the WebChart3D.xml file to reflect the HTTPS://
link to the Flash codebase, so that is done.  \CFIDE is set as a virtual
folder under both IIS entries PLUS is a virtual path in CFMX Admin. 

 


Can
someone explain to me first how GraphData.cfm is found on DEV and where exactly
the SWF files are stored. 

 


 


 

 


 
  
  Scott Councill 

  Software Engineer 

  Direct: 404.601.4390 

  [EMAIL PROTECTED] 

  Spunlogic

  Expect More From the Web

  www.spunlogic.com 
 
  
 




Looking for
insights and tips on all aspects of interactive marketing? Visit Spunlogic's
Blog
for a look inside the minds of a leading interactive agency. 

 

 



------------------------------------------------------------- 

Annual Sponsor - Figleaf Software




To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform




For more info, see http://www.acfug.org/mailinglists


Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 

List hosted by FusionLink


------------------------------------------------------------- 
 













-- 

<Ajas Mohammed />

http://ajashadi.blogspot.com

No matter what, find a way. Because thats what winners do. 

You can't improve what you don't measure. 

------------------------------------------------------------- 

Annual Sponsor - Figleaf Software 



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform




For more info, see http://www.acfug.org/mailinglists


Archive @ http://www.mail-archive.com/discussion%40acfug.org/


List hosted by FusionLink 

------------------------------------------------------------- 
 





-------------------------------------------------------------


Annual Sponsor - Figleaf Software





To unsubscribe from this list, manage your profile @ 


http://www.acfug.org?fa=login.edituserform





For more info, see http://www.acfug.org/mailinglists


Archive @ http://www.mail-archive.com/discussion%40acfug.org/


List hosted by FusionLink


-------------------------------------------------------------








-------------------------------------------------------------

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-------------------------------------------------------------


Reply via email to