[Chameleon] CWC2 and IIS setup problems
Paul Spencer
pspencer at dmsolutions.ca
Thu Sep 1 08:33:58 EDT 2005
Debbie,
try moving proj to c:\ and see if that fixes the problem? The default
apache setup in ms4w includes a directive to set an environment variable
(within apache) that specifies the path to proj. You may be able to
accomplish the same thing by setting an environment variable for PROJ_LIB.
Cheers
Paul
Pagurek,Debbie [NCR] wrote:
> I am having problems with the CWC2 setup on a Windows IIS5 server. Chameleon itself seems to be working fine, but the following CWC2 URL which should be using the default template and context documents is spewing out errors. Timothy Spiel had similar problems in his post on Aug 9, 2005 subject Blank Screen. He indicated that he had installed from scratch and had trouble with PROJ. But I installed the ms4w directories. I tried putting the proj.dll where all the other dlls are (same place as mapserv.exe. Do I need to put c:\ms4w\proj\bin in the Path and do I need to reboot the server? Anything else I should try? Does CWC2 write to any directories that I need to set permissions on?
>
> http://mysever.com/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0
>
> Warning: [MapServer Error]: msLoadMapContext(): Unable to set units for projection 'LöLög:42304' in C:\ms4w\apps\chameleon\cwc2\htdocs\cwc2.php on line 719
>
> Warning: [MapServer Error]: msProcessProjection(): No such file or directory in C:\ms4w\apps\chameleon\cwc2\htdocs\cwc2.php on line 719
>
> Warning: Failed loading map context from c:/ms4w/apps/chameleon/cwc2/contexts/gmap_context.xml in C:\ms4w\apps\chameleon\cwc2\htdocs\cwc2.php on line 719
>
> Warning: [MapServer Error]: getSymbol(): Parsing error near (LExecDirectA):(line 9) in C:\ms4w\apps\chameleon\htdocs\widgets\MapDHTML\MapDHTML.widget.php on line 176
>
> Warning: [MapServer Error]: msLoadMapContext(): Unable to set units for projection 'LöLög:42304' in C:\ms4w\apps\chameleon\htdocs\widgets\MapDHTML\MapDHTML.widget.php on line 176
>
> Warning: [MapServer Error]: msProcessProjection(): No such file or directory in C:\ms4w\apps\chameleon\htdocs\widgets\MapDHTML\MapDHTML.widget.php on line 176
>
> Warning: Failed to open map file c:/ms4w/tmp/sess_43161a7eb2250//mapDHTML_adjust.map in C:\ms4w\apps\chameleon\htdocs\widgets\MapDHTML\MapDHTML.widget.php on line 176
>
> Fatal error: [MapServer Error]: setExtent(): Given map extent is invalid. in C:\ms4w\apps\chameleon\htdocs\widgets\MapDHTML\MapDHTML.widget.php on line 178
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
--
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the Chameleon
mailing list