Here I have found some strange behavior, the result window show the result of the query with cell on the table but empty.
I'm using pmapper 4.0.0 final, Mapserver 5.6.1, php 5.3.1 all installed on
CentOS 5.4 x86_64
MapScript MapServer Version MapServer version 5.6.1 OUTPUT=GIF OUTPUT=PNG
OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG
SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE PHP MapScript Version ($Revision: 9558
$ $Date: 2009-11-20 10:11:50 -0800 (Fri, 20 Nov 2009) $)
Here is my layer definition on .map file
LAYER
NAME "municipios"
STATUS ON
DATA "the_geom from (select * from municipios) as foo using unique gid
using srid=32614"
TYPE POLYGON
CONNECTIONTYPE POSTGIS
CONNECTION "user=geografia password=info1980 dbname=geografia
host=127.0.0.1 port=5432"
UNITS METERS
SIZEUNITS PIXELS
LABELITEM "nombre"
TRANSFORM TRUE
TRANSPARENCY 25
TEMPLATE void
METADATA
"LAYER_ENCODING" "UTF-8"
END
#LABELMINSCALE 10000
#LABELMAXSCALE 350000
CLASS
NAME "Municipios"
LABEL
TYPE TRUETYPE
FONT "monaco"
SIZE 8
POSITION cc
FORCE true
#COLOR 248 240 11
OUTLINECOLOR 255 255 255
COLOR 49 56 105
ANTIALIAS TRUE
END
STYLE
#COLOR 0 0 10
OUTLINECOLOR 0 0 0
BACKGROUNDCOLOR 255 255 255
ANTIALIAS TRUE
END
END
END
Here is the error on the php.log
[18-Feb-2010 16:08:13] PHP Fatal error: Object expected as argument. in
/var/www/html/app41/incphp/
map/map.php on line 813
These behavior does not ocurr on pmapper 3.X.
I also include a screenshot
Thanks
*Update: This behavior does not ocurr on php 5.2.11 and Mapserver 5.2.1
*
--
Nahum Castro González
León, Guanajuato, México
<<attachment: bug.jpg>>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
