Newbie Mac OS X MapServer 4.6 question
David.Fawcett at STATE.MN.US
Tue Aug 9 15:26:18 EDT 2005
Post your map file. What is on or near line 73 in your Map file?
What path do you have set for your symbols? Does this match the location of the files on your system?
Minnesota Office of Environmental Assistance
david.fawcett at moea.state.mn.us
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
Behalf Of William K
Sent: Tuesday, August 09, 2005 1:43 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Newbie Mac OS X MapServer 4.6
On Aug 9, 2005, at 10:21 AM, Bill Whitacre wrote:
> 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"
>> <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/
>> <input type="hidden" name="program" value="/cgi-bin/mapserv">
>> <input type="hidden" name="root" value="/Library/WebServer/
>> <input type="hidden" name="map_web_imagepath" value="/Library/
>> <input type="hidden" name="map_web_imageurl" value="/tmp/">
> What have I done wrong?
The root hidden variable is a web path (URL), not a file system path,
so it should be "/workshop/". That's all I can think of from this
snippet. But, I'm getting the same thing, and the logs don't tell me
anything. Hmm. It's been so long since I used CGI MapServer. Maybe
someone else has an idea.
I see that the itasca readme says it's made for MapServer 4.0, there
have been enough changes from then to MapServer 4.6 that the demo may
not work. I recall seeing some messages on the list about that.
Maybe I should remove that recommendation from my installer readme.
You could try the tutorial from the MapServer documentation page.
> 2. When I try the testphp.php script - that looks like this:
> 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?
Don't know if you did anything wrong, but somehow your httpd.conf is
looking in the wrong location for php_mapscript.so. It should be /
usr/local/php4/lib/php/extensions/no-debug-non-zts-20020429. Are you
using my PHP with this or Apple's PHP? It doesn't work with Apple's
William Kyngesburye <kyngchaos at kyngchaos.com>
[Trillian] What are you supposed to do WITH a maniacally depressed
[Marvin] You think you have problems? What are you supposed to do
if you ARE a maniacally depressed robot? No, don't try and answer,
I'm 50,000 times more intelligent than you and even I don't know the
- HitchHiker's Guide to the Galaxy
More information about the mapserver-users