[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: [mapserver-users] Error with mspostgisopenlayer



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