[Chameleon] Chameleon not returning images

Julien-Samuel Lacroix jlacroix at mapgears.com
Mon Mar 9 07:51:52 EST 2009


Hi,

It seems that your mapserver installation is not supporting tiff raster 
image. If you run the mapserver cgi on the command-line it will tell you 
what is supported:
/var/www/cgi-bin/mapserv -v

What's the output?

Julien

Tony Baylis wrote:
> Thanks for your reply Julien,
> 
> I've installed Firebug and it has been a great help and definitely 
> allowed me to follow my problems.  I have now solved some of the issues, 
> I have my buttons displaying now but still not the map.  I'll  continue 
> to work at it but from looking through the Firebug details it seems my 
> problems revolve around the drawmap.php.  My response from the GET 
> drawmap.php?map_session_mode=1 as found in Firebug are below, ie the 
> errors with the URL for the GET below
> 
> <br />
> <b>Warning</b>:  [MapServer Error]: msDrawMap(): Failed to draw layer named 'bathymetry'.
>  in <b>/opt/chameleon/htdocs/common/wrapper/drawmap.php</b> on line <b>534</b><br />
> <br />
> <b>Warning</b>:  [MapServer Error]: msDrawRaster(): Unrecognized or unsupported image format
>  in <b>/opt/chameleon/htdocs/common/wrapper/drawmap.php</b> on line <b>534</b><br />
> <br />
> <b>Warning</b>:  [MapServer Error]: drawEPP(): /var/www/chameleondemo/map/../data/bath_mapserver.tif
>  is not an EPPL file.
>  in <b>/opt/chameleon/htdocs/common/wrapper/drawmap.php</b> on line <b>534</b><br />
> <br />
> <b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /opt/chameleon
> /htdocs/common/wrapper/drawmap.php:534) in <b>/opt/chameleon/htdocs/common/wrapper/drawmap.php</b> on
>  line <b>1501</b><br />
> 
> 
> http://mapserver1/chameleon/common//wrapper/drawmap.php?map_session_mode=1&run_query=0&sid=49b4f0696604b&streaming=true&dummy=0.81784400+1236594793&UniqId=1236594811048632
> 
> Any assistance would be grateful and I'd owe you a beer!
> 
> Tony
> 
> Tony Baylis
> Spatial Information Specialist
> Resource and Exploration Mapping
> Suite 8, 290 Boundary St
> Spring Hill QLD 4000
> Ph    3832 1600
> Fax   3832 1603
> Mob   0419 759 131
> Email tony.baylis at resexmap.com.au
> www   resexmap.com.au	
> 
> 
> 
> Julien-Samuel Lacroix wrote:
>> Hi,
>>
>> Welcome to the list!
>>
>> Here's some tips:
>>
>> Did you got MapServer working outside the Chameleon environment?
>> If you are using Firefox, you can use Firebug [1] to get the complete 
>> URL to your map image. Simply open and click on the Inspect button and 
>> then on the map. In the HTML console you should see the URL to the 
>> map. If you copy and paste that in another window or tab, you should 
>> get a more meaningful error message.
>>
>> [1] http://getfirebug.com/
>>
>> Julien
>>
>> Tony Baylis wrote:
>>> Good morning all, this is my first post and I'm very new to Chameleon 
>>> so please be gentle...
>>>
>>> I have worked through the configuration issues and am now trying to 
>>> get the sample map and the first widgets to display.  I have got to a 
>>> stage where no basic config errors are occuring ie paths and the EPSG 
>>> are all available and my page displays BUT there are no images.  
>>> Neither the map or the first buttons (zoom in) are displayed.
>>>
>>> I have 'installed' chameleon in the recommended directory 
>>> /opt/chameleon and created a symlink from webroot 
>>> (/var/www/chameleon) to /opt/chameleon/htdocs/.  When viewing the 
>>> source it seems the symlink is being followed with the following 
>>> being my path to IMG SRC:
>>>
>>> <td><a name="mapanchor" ><IMG 
>>> SRC="http://mapserver1/chameleon>//skins/default/images/a_pixel.gif" 
>>> galleryimg="no" WIDTH="400" HEIGHT="400" NAME="mapimage" 
>>> id="mapimage" border="0"></a></td>
>>>
>>> This image and path is used for what I assume to be the frame and the 
>>> map image.  The imagepath in the map file is /var/www/ms_tmp/ and 
>>> imageurl is /ms_tmp/
>>>
>>> Any ideas?
>>>
>>> Cheers
>>>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list