Hi Jared,

Thanks for the help.

Yes, they're being created correctly. I can clear the server's
c:\cfusionmx7\charting\cache folder, visit this page
http://www.christchurchnz.net/chart.cfm then download and view the generated
chart in a browser. So they're definitely being generated and they're not
some weird non-browser-compatible format.

There's nothing in the CF logs -- but that's probably right as CF thinks
it's all working; it doesn't know the browser's never retrieving the image,
or at least it doesn't know why the browser's never retrieving it. 

There are entries in the IIS logs. They look like this: 

2005-06-13 00:00:37 W3SVC1171077089 CCM 203.167.250.62 GET /chart.cfm - 80 -
202.0.37.177 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) -
200 0 0 16710 1146

Or: 

Date                    2005-06-13
Time                    00:00:37
s-sitename              W3SVC1171077089
s-computername  CCM
s-ip                    203.167.250.62
cs-method               GET
cs-uri-stem     /chart.cfm
cs-uri-query    -
s-port          80
cs-username     -
c-ip                    202.0.37.177
cs-version              HTTP/1.1
cs(User-Agent)
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
cs(Referer)     -
sc-status               200
sc-substatus    0
sc-win32-status         0
sc-bytes                16710
cs-bytes                1146

So that looks OK to me. I note sc-bytes says 16710, while the file size is
18577 bytes. Don't know if that is meaningful. I don't actually know what
these figures are, but I'm guessing sc-bytes is the amount of data sent from
the server and cs-bytes is the amount sent from the client. 

Curiously, if I do as you say and visit the address image:
http://www.christchurchnz.net/CFIDE/GraphData.cfm?graphCache=wc50&graphID=Im
ages/100010.JPG then I get garbage that looks like it could be a jpg. But if
I download it, graphics software won't open the file. I'm wondering if it's
getting truncated. 

If I try uploading the image I've downloaded earlier from the
c:\cfusionmx7\charting\cache folder, then I get the following in the log
file: 
2005-06-13 00:21:52 W3SVC1171077089 CCM 203.167.250.62 GET /100005.jpg - 80
- 202.0.37.177 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) -
200 0 0 18888 1147

Which has what I'd think is an appropriate number for sc-bytes (i.e.
slightly bigger than the file size rather than slightly smaller). That's
about all I can figure out though. 


-----Original Message-----
From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 11 June 2005 3:38 p.m.
To: CF-Talk
Subject: Re: cfchart not working on new server

....

Matthew, you said these image files were being created correctly, right? Do 
they look like they should even if they're not being sent back to the 
browser? Have you checked (or had the host check) windows and CF error logs?

There should be something. If the issue was the result of a headless Win 
install, chances are that the graphing subsystem would fail during CFMX 
bootstrap... that's how it works on Linux, and also the primary cause of 
CFCHART issues on linux. People fail to understand that CFMX needs the basic

X libraries to get cfchart to work.

If you do a view source after hitting a page that's got a CFChart in it, you

should see some URL information that's used to transfer the images/movies 
from the Chart servlet to the browser... trying hitting that URL alone and 
seeing what error message you get. Go from there, paying particular 
attention to paths, virtual or otherwise, that are missing or incorrect.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209259
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to