the link for zoom2extent should look similar to
javascript:PM.Map.zoom2extent('cities10000eu','8919','5620344.5911941+3195804.3745818+5640344.6104432+3215804.3998199','0')

you report a link
javascript:PM.Map.zoom2extent()

if the '()' are empty then the error is somewhere before.

I would encourage you to try various settings of layers enabled, query 
types, and check what works and what not. Otherwise you will not be able 
to narrow down the problem.

BTW: the line 791 in map.php should be
  $qLayer->set("data", $qLayer->getMetaData("PM_RESULT_DATASUBSTITION"));

do you use this METADATA setting...?

armin

On 21/03/2010 17:43, Marcello Benigno wrote:
> Armin, thanks for your help,
>
> Firebug shows the following message when i click in zoom button table
> attributes (javascript:PM.Map.zoom2extent()):
>
> *PHP Fatal error:  [MapServer Error]: _msProcessAutoProjection(): WMS/WFS
> AUTO PROJECTION must be in the format 'AUTO:proj_id,units_id,lon0,lat0' (got
> '').
> in C:\ms4w\Apache\htdocs\pmapper\incphp\map\map.php on line 791*
>
> And Pmapper don´t zooming selected feature... but only in PostGIS Layers, in
> shapefiles everything works fine.
>
> I´m using:
>
>     - PHP 5.2.6
>     - Mapserver 5.2.1
>     - PostGIS 1.4 and PostgreSQL 8.4
>
> Any ideas?
>
> Thanks in advance
>
> 2010/3/21 Armin Burger<armin.bur...@gmx.net>
>>
>> please check your PHP and Javascript error log, report them, and mention
>> also which version of Mapserver (and PHP) you're using, and when/where
>> the error appears exactly.
>>
>> armin
>>
>> On 21/03/2010 15:50, Marcello Benigno wrote:
>>> Hi Armin, hi all,
>>>
>>> First, congratulations to new pmapper version!  It´s really easier to
>>> configured. But I don´t know why, when I use PostGIS Layers, the
> function
>>> javascript:PM.Map.zoom2extent() doesn´t woks. The same layer in
> shapefile
>>> format, works perfectly. I tried in Linux (Ubuntu 9.10) and in Windows
> (7).
>>>
>>> Resuming, when the user clicked in the information button, the
> attributes
>>> window appear, but the zoom button in this window not working, the
> loading
>>> message appears for all the time.
>>>
>>> Am I missing any configuration?
>>>
>>> thanks in advance,
>>>
>>
>>


------------------------------------------------------------------------------
Download Intel&#174; 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
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to