<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm still kind of stuck with my problem, and I was
hoping anyone might have come up with any ideas / solutions. In short, instead
of getting a mapimage, I get a 'broken image', or 'red cross', once every so
many times. It happens far more often as the jpeg quality factor is higher, and
as there are more layers (definitely with an ecw). I only had it since I started
using apache instead of IIS. Would this problem be solved by running PHP as a
module, rather than an executable? How do I actually do this, because the last
time I tried, it just didn't work......</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can I force the browser to delay requesting the
DHTML image for about 0.2s? Or anything else to compensate? Can I force
chameleon to start generating the image before it serves out any part of the
page?</FONT></DIV>
<DIV><FONT face=Arial size=2>It occurs in both cwc1.0.4 and chameleon 1.99
beta2.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: Delfos, Jacob
<BR>Sent: 4 June 2004 09:41<BR>To: <A
href="mailto:'spencer@dmsolutions.ca'">'spencer@dmsolutions.ca'</A>; Delfos,
Jacob<BR>Cc: <A
href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</A><BR>Subject:
RE: [Chameleon] mapDHTMLwidget occasionally fails</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>Actually, when it happens, it happens instantly (1 second). In other
words, the failed-image occurs immediately as the image began loading. I have
not seen it happen in Mapserver, only chameleon. It happens much more in
explorer than Firefox/mozilla. With a JPEG quality of 100, it happens roughly
about 1 in 10 times (depending on the mood of my computer). The URL is valid (if
I understand correctly, the url to the image is pretty constant in each session
anyway if the page is not resubmitted). If I try the URL in another browser, it
usually shows up after a long time. It appears the 'session' is stuck on the
server. In version 1.0.4, other images often don't show either on the first load
of the page (compasspoints, etc.). Again, only with apache. I think it's just a
matter of the browser requesting things from the php document that the server
has not yet been able to create. Is there a way to make the server wait with
serving the php page until certain elements have been created?</DIV>
<DIV> </DIV>
<DIV>Jacob</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-----Original Message-----<BR>From: Paul Spencer [mailto:pagameba@magma.ca]
<BR>Sent: Thursday, 3 June 2004 9:51 PM<BR>To: Delfos, Jacob<BR>Cc: <A
href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</A><BR>Subject:
Re: [Chameleon] mapDHTMLwidget occasionally fails</DIV>
<DIV> </DIV>
<DIV><BR>Jacob,</DIV>
<DIV> </DIV>
<DIV>is it possible that something is timing out? Does it take more than
30 <BR>seconds to render the image (seems unlikely).</DIV>
<DIV> </DIV>
<DIV>I've never seen this problem if it wasn't also associated with some
<BR>other error like a layer failing to draw or something. If mapserver
<BR>generates any warnings or errors, the image will typically be invalid.
<BR>One way to test this is to right-click on the image and copy the image
<BR>location into another browser tab/window and see if there are any
<BR>mapserver error messages? If you are using Mozilla, you can also
<BR>right-click on the page, view page info, click the media tab and find
<BR>the image that refers to drawmap.php and use the URL from there (should
<BR>be the same).</DIV>
<DIV> </DIV>
<DIV>Cheers,</DIV>
<DIV> </DIV>
<DIV>Paul</DIV>
<DIV> </DIV>
<DIV>Delfos, Jacob wrote:</DIV>
<DIV> </DIV>
<DIV>> Hi All,<BR>> <BR>> Occasionally I have the problem that instead
of the mapimage, I get<BR>> the<BR>> red cross (explorer), or the broken
image (mozilla). I am not certain <BR>> what the cause for this is. I have
only seen this happen since I started <BR>> using Apache. IIS didn't not seem
to suffer from this. It happens more <BR>> frequently when the JPEG quality
factor is higher (especially above '80').<BR>> <BR>> It appears that part
of the site runs ahead of itself. Is Apache<BR>> trying<BR>> to serve out
the image before PHP started creating it? Is there anything <BR>> in the
configuration of Apache or PHP that I need to tweak?<BR>> <BR>> One point
to note is that the server needs to do quite a bit of <BR>> processing (ECW's
and vector data).<BR>> <BR>> This happens in Chameleon 1.0.4 and 1.99
beta1.<BR>> <BR>> Regards,<BR>> <BR>> Jacob<BR>> <BR>>
<BR>> *JACOB DELFOS<BR>> SPATIAL INFORMATION ANALYST<BR>> *Maunsell
Australia Pty Ltd<BR>> 629 Newcastle Street<BR>> PO Box 81<BR>>
Leederville 6902<BR>> Western Australia<BR>> ABN 20 093 846 925<BR>>
<BR>> Tel + 61 8 9281 6185<BR>>
Fax + 61 8 9281 6297<BR>> <A
href="mailto:_jacob.delfos@maunsell.com">_jacob.delfos@maunsell.com</A>_<BR>>
<BR>> <BR>>
----------------------------------------------------------------------<BR>>
--<BR>> <BR>> _______________________________________________<BR>>
Chameleon mailing list<BR>> <A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>>
<A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A></DIV>
<DIV> </DIV>
<DIV>-- <BR>
-----------------------------------------------------------------<BR>|Paul
Spencer
<A href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</A>
|<BR>|-----------------------------------------------------------------|<BR>|Applications
& Software
Development
|<BR>|DM Solutions Group
Inc
<A href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A>|<BR>
-----------------------------------------------------------------<BR></FONT></DIV></BODY></HTML>