[Chameleon] mapDHTMLwidget occasionally fails

Paul Spencer pagameba at magma.ca
Thu Jun 3 09:50:36 EDT 2004


Jacob,

is it possible that something is timing out?  Does it take more than 30 
seconds to render the image (seems unlikely).

I've never seen this problem if it wasn't also associated with some 
other error like a layer failing to draw or something.  If mapserver 
generates any warnings or errors, the image will typically be invalid. 
One way to test this is to right-click on the image and copy the image 
location into another browser tab/window and see if there are any 
mapserver error messages?  If you are using Mozilla, you can also 
right-click on the page, view page info, click the media tab and find 
the image that refers to drawmap.php and use the URL from there (should 
be the same).

Cheers,

Paul

Delfos, Jacob wrote:

> Hi All,
> 
> Occasionally I have the problem that instead of the mapimage, I get the 
> red cross (explorer), or the broken image (mozilla). I am not certain 
> what the cause for this is. I have only seen this happen since I started 
> using Apache. IIS didn't not seem to suffer from this. It happens more 
> frequently when the JPEG quality factor is higher (especially above '80').
> 
> It appears that part of the site runs ahead of itself. Is Apache trying 
> to serve out the image before PHP started creating it? Is there anything 
> in the configuration of Apache or PHP that I need to tweak?
> 
> One point to note is that the server needs to do quite a bit of 
> processing (ECW's and vector data).
> 
> This happens in Chameleon 1.0.4 and 1.99 beta1.
> 
> Regards,
> 
> Jacob
> 
> 
> *JACOB DELFOS
> SPATIAL INFORMATION ANALYST
> *Maunsell Australia Pty Ltd
> 629 Newcastle Street
> PO Box 81
> Leederville 6902
> Western Australia
> ABN 20 093 846 925
> 
> Tel     + 61 8 9281 6185
> Fax    + 61 8 9281 6297
> _jacob.delfos at maunsell.com_
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
  -----------------------------------------------------------------
|Paul Spencer                           pspencer at dmsolutions.ca   |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



More information about the Chameleon mailing list