<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: [UMN_MAPSERVER-USERS] problem with php mapscript layerobj functions</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Thanks for your reply, Phil.&nbsp;<BR>
<BR>
That is pretty discouraging news!&nbsp;<BR>
<BR>
Did you abandon using MapServer or migrate to a different OS?<BR>
<BR>
Does anyone else have any ideas about this issue?<BR>
<BR>
Thanks,<BR>
Thomas<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Phillip Neal [<A HREF="mailto:pneal@mbl.edu">mailto:pneal@mbl.edu</A>]<BR>
Sent: Thu 8/11/2005 5:31 AM<BR>
To: Naberhaus, Thomas<BR>
Cc: MAPSERVER-USERS@LISTS.UMN.EDU<BR>
Subject: Re: [UMN_MAPSERVER-USERS] problem with php mapscript layerobj functions<BR>
<BR>
Dear All,<BR>
<BR>
I had the same mapscript 'layer' problem on a Fedora 3 installation.<BR>
<BR>
I got a segmentation fault.<BR>
<BR>
I never figured out what was wrong.<BR>
<BR>
<BR>
I tried all different kinds of recompiles and versions. But I couldn't<BR>
shake the error.<BR>
<BR>
Phil<BR>
<BR>
On Aug 10, 2005, at 6:19 PM, Naberhaus, Thomas wrote:<BR>
<BR>
&gt;<BR>
&gt; Hello List,<BR>
&gt;&nbsp;<BR>
&gt; I am running mapserver on debian sarge and have just begun to work<BR>
&gt; with it.&nbsp; The examples seem to work well.<BR>
&gt; However when attempting to use the php mapscript functions getLayer(),<BR>
&gt; getLayerByName(), or ms_newLayerObj($map), the script fails and apache<BR>
&gt; reports a segmentation fault.<BR>
&gt;&nbsp;<BR>
&gt; I installed MapServer on Windows XP and the same script works properly.<BR>
&gt;&nbsp;<BR>
&gt; Does anyone have any ideas what might be wrong or how to get the<BR>
&gt; functions to work on the debian installation?<BR>
&gt;&nbsp;<BR>
&gt; Thanks,<BR>
&gt; Thomas<BR>
&gt;&nbsp;<BR>
&gt; /***********************************<BR>
&gt; Thomas Naberhaus<BR>
&gt; Technology Coordinator<BR>
&gt; Mountain Prairie Node, NBII<BR>
&gt; Big Sky Institute<BR>
&gt; Montana State University<BR>
&gt; 114 AJM Johnson Hall<BR>
&gt; Bozeman, MT&nbsp; 59717<BR>
&gt; voice: (406) 994-5786<BR>
&gt; fax:&nbsp;&nbsp;&nbsp; (406) 994-5122<BR>
&gt; tnaberhaus@montana.edu<BR>
&gt; ***********************************/<BR>
&gt;&nbsp;<BR>
&gt;&nbsp;<BR>
&gt;<BR>
Phillip Neal<BR>
Senior Research Assistant<BR>
Josephine Bay Paul Center for<BR>
Comparative Molecular Biology and Evolution<BR>
Marine Biological Laboratory<BR>
7 MBL Street<BR>
Woods Hole, MA 02540<BR>
pneal@mbl.edu<BR>
Tel: 508-289-7153<BR>
Fax: 508-289-4727<BR>
<BR>
&quot;Simplicity of character is no hindrance to the subtlety of intellect.&quot;<BR>
<BR>
&nbsp;&nbsp; - John Morley<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>