[Chameleon] PHP Warnings and MapServer Error

Gail Gail.Millin at manchester.ac.uk
Tue May 17 06:48:25 EDT 2005


Hi Jason,

I had already downloaded proj.4 and it appears to be configured correctly.
No image is showing up but if I right click on the image I get the URL

http://camber.mc.man.ac.uk/chameleon//common//wrapper/drawmap.php?map_sessio
n_mode=1&run_query=0&sid=4289c68731fad&dummy=0.55135400+1116325511&UniqId=11
16325812267525

Should there be two forward slashes "//" before and after common in the URL?
Or has something gone wrong in the chameleon configuration? 

I put the above URL in a browser to see if the map would appear I got the
message

CGI Error

The specified CGI application misbehaved by not returning a complete set of
HTTP headers

Would appreciate any suggestions 

Kind Regards

Gail

-----Original Message-----
From: Jason Fournier [mailto:jfournier at dmsolutions.ca] 
Sent: 16 May 2005 17:34
To: Gail
Cc: chameleon at lists.maptools.org
Subject: Re: [Chameleon] PHP Warnings and MapServer Error

Gail,

MapServer is having trouble finding you proj.4 installation.  Have you
installed it?  If you have you will have to set an ENV Variable.  You can
alternatively set CONFIG PROJ_LIB "path/to/epsg".

Thanks,
Jason



Gail wrote:
> Dear Chameleon Users,
> 
>  
> 
> I have now managed to get the .phtml pages for the samples bringing up 
> the below warning for the first few sample links and for the ROI Widget 
> example, a page with the key of the world is appearing and the logo 
> "Loading Image" also appears although no image gets loaded.
> 
>  
> 
> Does anyone have any pointers for how to resolve the below error?
> 
>  
> 
> PHP Warning: [MapServer Error]: msProcessProjection(): no options found 
> in 'init' file in 
> C:\Inetpub\wwwroot\chameleon\htdocs\common\wrapper\map_session.php on 
> line 215 PHP Warning: Failed to open map file 
> C:\Inetpub\wwwroot\chameleon\samples\htdocs/../map/chameleon.map in 
> C:\Inetpub\wwwroot\chameleon\htdocs\common\wrapper\map_session.php on 
> line 215 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
> 
>  
> 
> I managed to get to this stage by commenting out the doc_root in the 
> php.ini file and setting the cgi.force_redirect to 0.
> 
>  
> 
> Any help I would really appreciate
> 
>  
> 
> Gail
> 
> -------------------------------------------------------------
> Gail Rebecca Millin
> Geodata Interoperability Support Officer
> -------------------------------------------------------------
> MIMAS
> Manchester Computing
> The University of Manchester
> Oxford Road
> Manchester
> M13 9PL
> 
>  
> 
> 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