[Chameleon] PHP Warnings and MapServer Error

Jason Fournier jfournier at dmsolutions.ca
Tue May 17 08:27:26 EDT 2005


Hi Gail,

Double slashes ('//') are ok in URL's.  

I notice your host is visible to the outside world - what is the URL to your samples?  It would assist in debugging.  If possible please also create a phpinfo() script and place it in the chameleon/samples/htdocs/ directory.

<?php

dl("php_mapscript.dll");
phpinfo();

?>

Alternatively you could post the relevant results of your phpinfo out put to the list. We would need to see the General section and the PHP/MapScript section.

Thanks,
Jason


Gail wrote:
> 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