[mapserver-users] Error with mspostgisopenlayer
giorgio
giorgio19291@inwind.it
Mon, 4 Mar 2002 20:25:06 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0019_01C1C3BA.AC351D60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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"
=20
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=20
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=3Dnobody dbname=3Dsele host=3D192.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_000_0019_01C1C3BA.AC351D60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello to all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i have recieved this message on a my=20
implementation of mapserver with php-mapserver when I try to load =
a layer=20
using postgis:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>"Warning</STRONG>: MapServer =
Error in=20
msPOSTGISLayerOpen(): msPOSTGISLayerOpen called but unimplemented!in=20
<B>/var/www/html/probe/my.php</B> on line <STRONG>731<BR><BR>Fatal=20
error</STRONG>: Call to a member function on a non-object in=20
<B>/var/www/html/probe/my.php</B> on line <B>732"</B></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG> </STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>this is strange because the same=20
layer with a perl mapscript is loaded normally.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Depend It from php =
mapscript??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>This is the last part of my =
Map.file only the=20
last layer is not loaded.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any suggestion?? Thanks a lot in =
advance=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Giorgio.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D2>
<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=3Dnobody dbname=3Dsele host=3D192.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></FONT></BODY></HTML>
------=_NextPart_000_0019_01C1C3BA.AC351D60--