[Chameleon] Chameleon not returning images
Tony Baylis
tony.baylis at resexmap.com.au
Mon Mar 9 06:14:17 EST 2009
All,
The latest offerings from my error log, note I have sorted the data path
issue...I think
<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(): bath_mapserver.tif using full path bath_mapserver
.tif
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 />
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
>>
>
More information about the Chameleon
mailing list