[mapserver-users] Error with mspostgisopenlayer
Obe, Regina DND\MIS
Regina.Obe.PFD@ci.boston.ma.us
Mon, 4 Mar 2002 16:11:32 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1C3C1.28E0A540
Content-Type: text/plain;
charset="iso-8859-1"
Sounds like your PHP mapscript dll is not compiled with Postgis support.
-----Original Message-----
From: giorgio [mailto:giorgio19291@inwind.it]
Sent: Monday, March 04, 2002 2:25 PM
To: MAPSERVER (E-mail)
Subject: [mapserver-users] Error with mspostgisopenlayer
Hello to all,
i have recieved this message on a my implementation of mapserver with
php-mapserver when I try to load a layer using postgis:
"Warning: MapServer Error in msPOSTGISLayerOpen(): msPOSTGISLayerOpen called
but unimplemented!in /var/www/html/probe/my.php on line 731
Fatal error: Call to a member function on a non-object in
/var/www/html/probe/my.php on line 732"
this is strange because the same layer with a perl mapscript is loaded
normally.
Depend It from php mapscript??
This is the last part of my Map.file only the last layer is not loaded.
Any suggestion?? Thanks a lot in advance
Giorgio.
.
.
.
LAYER
NAME aree
TYPE LINE
STATUS OFF
DATA aree
CLASS
NAME "aree"
COLOR 0 0 0
END
END
LAYER
CONNECTIONTYPE postgis
NAME my
CONNECTION "user=nobody dbname=sele host=192.168.0.1"
TYPE LINE
STATUS OFF
DATA "the_geom from mio"
CLASS
NAME "my"
COLOR 0 255 0
END
END # Layer
END # Map File
------_=_NextPart_001_01C1C3C1.28E0A540
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4616.200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=695511021-04032002>Sounds
like your PHP mapscript dll is not compiled with Postgis
support.</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT
size=2>-----Original Message-----<BR><B>From:</B> giorgio
[mailto:giorgio19291@inwind.it]<BR><B>Sent:</B> Monday, March 04, 2002 2:25
PM<BR><B>To:</B> MAPSERVER (E-mail)<BR><B>Subject:</B> [mapserver-users] Error
with mspostgisopenlayer<BR><BR></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>Hello to all,</FONT></DIV>
<DIV><FONT face=Arial size=2>i have recieved this message on a my
implementation of mapserver with php-mapserver when I try to load a
layer using postgis:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><STRONG>"Warning</STRONG>: MapServer Error in
msPOSTGISLayerOpen(): msPOSTGISLayerOpen called but unimplemented!in
<B>/var/www/html/probe/my.php</B> on line <STRONG>731<BR><BR>Fatal
error</STRONG>: Call to a member function on a non-object in
<B>/var/www/html/probe/my.php</B> on line <B>732"</B></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG></STRONG></FONT> </DIV>
<DIV><FONT face=Arial size=2>this is strange because the same
layer with a perl mapscript is loaded normally.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Depend It from php mapscript??</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This is the last part of my Map.file only
the last layer is not loaded.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any suggestion?? Thanks a lot in advance
</FONT></DIV>
<DIV><FONT face=Arial size=2>Giorgio.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=2>
<P>LAYER</P>
<P>NAME aree</P>
<P>TYPE LINE</P>
<P>STATUS OFF</P>
<P>DATA aree</P>
<P>CLASS</P>
<P>NAME "aree"</P>
<P>COLOR 0 0 0</P>
<P>END</P>
<P>END</P>
<P> </P>
<P>LAYER</P>
<P>CONNECTIONTYPE postgis</P>
<P>NAME my</P>
<P>CONNECTION "user=nobody dbname=sele host=192.168.0.1"</P>
<P>TYPE LINE</P>
<P>STATUS OFF</P>
<P>DATA "the_geom from mio"</P>
<P>CLASS</P>
<P>NAME "my"</P>
<P>COLOR 0 255 0</P>
<P>END</P>
<P>END # Layer</P>
<P>END # Map File</P></FONT><BR></DIV></BLOCKQUOTE></FONT></BODY></HTML>
------_=_NextPart_001_01C1C3C1.28E0A540--