Hello all
I have found an error on the search tool, when i select an item for search,
there are no fields to search.
Also the shp export extension don't work anymore,
Here are the php error log:
[04-Oct-2010 10:15:58] PHP Notice: Uninitialized string offset: 0 in
/var/www/html/pmapper/incphp/init/initmap.php on line 545
[04-Oct-2010 10:15:58] PHP Notice: Uninitialized string offset: 1 in
/var/www/html/pmapper/incphp/init/initmap.php on line 545
[04-Oct-2010 10:16:05] PHP Notice: Uninitialized string offset: 0 in
/var/www/html/pmapper/incphp/init/initmap.php on line 545
[04-Oct-2010 10:16:05] PHP Notice: Uninitialized string offset: 1 in
/var/www/html/pmapper/incphp/init/initmap.php on line 545
[04-Oct-2010 10:16:18] type: 2
[04-Oct-2010 10:16:18] PHP Fatal error: Object expected as argument. in
/var/www/html/pmapper/plugins/export/export.shp.php on line 96
Here are the pm_debug.log
[04-Oct-2010 10:35:25] P.MAPPER debug info
XML->//definition
SimpleXMLElement Object
(
[...@attributes] => Array
(
[type] => suggest
[connectiontype] => db
[sort] => asc
[minlength] => 1
[dependfld] => cmcncd
)
[dsn] => pgsql://postgres:postg...@localhost/geografia
[sql] => SELECT nombre FROM municipios WHERE nombre ~* '^[search]' ORDER
BY nombre
)
[04-Oct-2010 10:35:28] P.MAPPER debug info
XML->//definition
SimpleXMLElement Object
(
[...@attributes] => Array
(
[type] => suggest
[connectiontype] => db
[sort] => asc
[minlength] => 1
[dependfld] => cmcncd
)
[dsn] => pgsql://postgres:postg...@localhost/geografia
[sql] => SELECT DISTINCT nombre FROM localidades WHERE nombre ~*
'^[search]' ORDER BY nombre
)
There are no errors on firebug.
My versions:
pmapper 4 stable from svn downloaded octuber 1, 2010
php 5.2.14
postgresql 9.0.0
postgis 1.5.2
MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF 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=MYGIS
INPUT=SHAPEFILE
OS: CentOS Linux 5.5 x86_64
All vector layers came from Postgis
Thanks.
--
Nahum Castro González
León, Guanajuato, México
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users