Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named 'Counties'.
in /var/www/share/2.1.0/share/php/map.class.php on line 141
Warning: [MapServer Error]: prepare_database(): Error executing POSTGIS DECLARE (the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR SELECT "NAME"::text,asbinary(force_collection(force_2d(geom)),'NDR'),gid::text from gis_counties WHERE geom && setSRID('BOX3D(-490138.113669 -16370.4280055,69346.956273 449867.1302795)'::BOX3D, find_srid('','gis_counties','geom') )'
Postgresql reports the error as 'ERROR: column "NAME" does not exist
'
More Help:
Error with POSTGIS data variable. You specified 'check your .map file'.
Standard ways of specifiying are :
(1) 'geometry_column from geometry_table'
(2) 'geometry_column from (sub query) as foo using unique column name using SRID=srid#'
Make sure you put in the 'using unique column name' and 'using SRID=#' clauses in.
For more help, please see http://postgis.refractions.net/documentation/
Mappostgis.c - version of Jan 23/2004.
in /var/www/share/2.1.0/share/php/map.class.php on line 141
Fatal error: Call to a member function on a non-object in /var/www/share/2.1.0/share/php/map.class.php on line 142