[mapserver-users] gmap75 Help
Stephen Woodbridge
woodbri at swoodbridge.com
Tue Jan 8 08:48:11 PST 2002
I have a little bit more on this. I have narrowed it down to the
include("gmap75.php3"); line, which by the way should be written as
include("./gmap75.php3") to force php to look in the local directory and
not in the include path if one is set in the php3.ini file as is my
case. This would make it more portable to other people's systems.
I wrote 2 trivial scripts at
http://swoodbridge.com/web2/gmap/htdocs/t.php3
http://swoodbridge.com/web2/gmap/htdocs/t2.php3
where t.php3 is:
<html>
<?php
if (!extension_loaded("MapScript"))
dl("php_mapscript.so"); // Same name for PHP3 and PHP4
include("./gmap75.php3");
phpinfo();
?>
</html>
and t2.php3 is the same except the include is commented out. You will
notice that the phpinfo() output is truncated on t.php3 and not on
t2.php3. There is also a segv logged in the error_log for t.php3.
Any ideas?
-Steve
Stephen Woodbridge wrote:
>
> Hi all,
>
> I just downloaded gmap75 to try with the released mapserver 3.5 and ran
> into the following problems:
>
> 1) the symbols.sym file needs to be edited to change all line:
> "Filled" to "Filled TRUE"
>
> 2) when I tried to load the initial page I go back "The document
> contained no data." dialog box and the apache error log:
>
> [Tue Jan 8 08:42:29 2002] [notice] child pid 18409 exit signal
> Segmentation fault (11)
>
> My config setup is at:
> http://swoodbridge.com/web2/ms_test/phpinfo_mapscript.php3
>
> and the gmap demo is at:
> http://swoodbridge.com/web2/gmap/htdocs/index.php3
>
> I edited the map file for this location. Are there any other hard coded
> paths that might cause this?
>
> Any suggestions on how to debug this?
> Any help would be appreaciated.
> -Steve Woodbridge
More information about the MapServer-users
mailing list