[Chameleon] MapServer version for Chameleon

Jason Fournier jfournier at dmsolutions.ca
Fri Jun 10 12:13:08 EDT 2005


This isn't correct (unless, of course, you don't have any layers, your extents are incorrect, etc.).

Do you have errors turned on in the php.ini?  Any messages in your logs?

Jason


Gail wrote:
> When I run the script in Internet Explorer I just get a blank page, is this
> correct? Or do I have a problem with the MapFile?
> 
> Gail
> 
> -----Original Message-----
> From: Jason Fournier [mailto:jfournier at dmsolutions.ca] 
> Sent: 10 June 2005 16:50
> To: Gail; chameleon at lists.maptools.org
> Subject: Re: [Chameleon] MapServer version for Chameleon
> 
> Gail,
> 
> You could try rendering the mapfile with the following script:
> 
> <?php
> dl('php_mapscript_44.dll'); //or whatever version you are using
> $oMap = ms_newMapObj( "<path to your map file>" );
> $oImage = $oMap->draw();
> $szURL = $oImage->saveWebImage();
> echo "<img src=$szURL>";
> ?>
> 
> If this renders fine then it's an issue with Chameleon 's setup.
> 
> 
> 
> Gail wrote:
> 
>>Hi Jason,
>>
>>I checked to see the location of the mapfile and it is as
>>C:\Inetpub\wwwroot\MIMAS\mimas.map. I also ran a GetCapabilities request
> 
> and
> 
>>It lists the layer specified in the mapfile so does this mean that the
>>mapfile is valid?
>>
>>Gail
>>
>>-----Original Message-----
>>From: Jason Fournier [mailto:jfournier at dmsolutions.ca] 
>>Sent: 10 June 2005 16:01
>>To: Gail
>>Cc: chameleon at lists.maptools.org
>>Subject: Re: [Chameleon] MapServer version for Chameleon
>>
>>Gail,
>>
>>Chameleon should work with both versions specified.
>>
>>>From the error mentioned it seems like MapServer is unable to find your
>>mapfile.  Can you verify that your mapfile resides in that location and
> 
> the
> 
>>it is valid?
>>
>>Jason
>>
>>
>>
>>Gail wrote:
>>
>>
>>>Hi List,
>>>
>>>
>>>
>>>I was just wondering whether Chameleon 2.0 works with MapServer 4.4.1 or 
>>>does MapServer need to be version 4.4.2?
>>>
>>>
>>>
>>>Also I have several errors in my PHP log file and I am trying to solve 
>>>the issues if anyone has come across these error messages before and 
>>>managed to solve the issues I would appreciate their advice.
>>>
>>>
>>>
>>>[10-Jun-2005 14:12:55] PHP Warning:  [MapServer Error]: msLoadMap():
>>>
>>>in C:\Inetpub\wwwroot\chameleon\htdocs\common\wrapper\map_session.php 
>>>on line 215
>>>
>>>[10-Jun-2005 14:12:55] PHP Warning:  Failed to open map file 
>>>C:\Inetpub\wwwroot\MIMAS\mimas.map in 
>>>C:\Inetpub\wwwroot\chameleon\htdocs\common\wrapper\map_session.php on 
>>>line 215
>>>
>>>[10-Jun-2005 14:12:55] PHP Fatal error:  Call to a member function on a 
>>>non-object in 
>>>c:\Inetpub\wwwroot\chameleon\htdocs\widgets\KeyMap\KeyMap.widget.php on 
>>>line 197
>>>
>>>
>>>
>>>Kind Regards
>>>
>>>
>>>
>>>Gail
>>>
>>>
>>>
>>>-------------------------------------------------------------
>>>Gail Rebecca Millin
>>>Geodata Interoperability Support Officer
>>>-------------------------------------------------------------
>>>MIMAS
>>>Manchester Computing
>>>The University of Manchester
>>>Oxford Road
>>>Manchester
>>>M13 9PL
>>>
>>>
>>>
>>>Telephone: +44 (0) 161 275 0581
>>>
>>>E-mail: Gail.Millin at manchester.ac.uk <mailto:Gail.Millin at manchester.ac.uk>
>>>Website: http://www.mimas.ac.uk/spatial
>>>-------------------------------------------------------------
>>>
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Chameleon mailing list
>>>Chameleon at lists.maptools.org
>>>http://lists.maptools.org/mailman/listinfo/chameleon
>>
>>
> 

-- 
________________________
Jason Fournier

DM Solutions Group Inc.
jfournier at dmsolutions.ca
www.dmsolutions.ca
613.565.5056 x18



More information about the Chameleon mailing list