Newbie Mac OS X MapServer 4.6 question
    Bill Whitacre 
    bw at HIS.COM
       
    Tue Aug  9 08:21:06 PDT 2005
    
    
  
I've just installed the MapServer packages from Kyng Chaos and have a  
couple of questions:
1. When I try the CGI I get the "MapServer Itasca Application" page  
OK but when hit the Initialize button with Basic Application selected  
I get the following error:
> getString(): Symbol definition error. Parsing error near (none): 
> (line 73)
My form variables look like this in the /workshop/index.html file:
>     <!-- EDIT THE FORM ACTION -->
>     <form name="demo" method="GET" action="/cgi-bin/mapserv"  
> onSubmit="submit_form()">
>
>       <input type="hidden" name="layer" value="lakespy2">
>       <input type="hidden" name="layer" value="dlgstln2">
>       <input type="hidden" name="zoomsize" value=2>
>
>       <!-- EDIT THESE HIDDEN VARIABLES -->
>       <input type="hidden" name="map" value="/Library/WebServer/ 
> Documents/workshop/itasca.map">
>       <input type="hidden" name="program" value="/cgi-bin/mapserv">
>       <input type="hidden" name="root" value="/Library/WebServer/ 
> Documents/workshop/">
>       <input type="hidden" name="map_web_imagepath" value="/Library/ 
> WebServer/Documents/tmp/">
>       <input type="hidden" name="map_web_imageurl" value="/tmp/">
What have I done wrong?
2. When I try the testphp.php script - that looks like this:
> <?php
>
> dl("php_mapscript.so");
>
> phpinfo();
>
> ?>
I get the following error:
> Warning: dl(): Unable to load dynamic library '/usr/lib/php/ 
> extensions/no-debug-non-zts-20020429/php_mapscript.so' - (null) in / 
> Library/WebServer/Documents/testphp.php on line 2
along with the normal PHP info stuff.
Again, what have I done wrong?
Thanks very much for your help ... and patience.
bw
---
Bill Whitacre
bw at his.com
    
    
More information about the MapServer-users
mailing list