Nahum

Line 794 contains

$qLayer->open();

which should
1. not give an error at all
2. give for sure another error than line 813

Which error do you get when you apply the patch mentioned in the other 
posting?

Also I don't get from your description for which type of query this 
happens. Identify, select, or search, or all of them. And I don't know 
if this just happens for Postgis layers or also for shapefile based ones.

I replaced now appearances of getShape() with getFeature() in all files, 
so you can try using the updated versions (at least for map.php) from 
SVN and see if it works better.

armin


On 19/02/2010 17:07, Nahum Castro wrote:
> 2010/2/19 Armin Burger<armin.bur...@gmx.net>
>
>> http://lmgtfy.com/?q=%22map%2Fmap.php+on+line+813%22
>>
>> ;-)
>>
>>
>> I have already tried that.
>
> even I modified line 794,  who gives same error. Note these errors on lines
> 794 and 813 only ocurr with 5.6.1.
>
> Seems not related, i have found this behavior only on mapserver/mapscript
> 5.6.1
>
> I tried the following configurations:
>
> php 5.2.11, mapserver 5.2.1 works
> php 5.2.11, mapserver 5.4.2 works
> php 5.3.1, mapserver 5.2.1 works
> php 5.3.1, mapserver 5.42 works
> php 5.2.11, mapserver 5.6.1 don't work
> php 5.3.1, mapserver 5.6.1 don't work
>
> Seem to be related to mapserver, mapscript 5.6.1 but i do not how?
>
> The only thing i have found trought wireshark are the mapserver querys to
> postgresql
> this is the first one:
> select * from (select * from municipios) as foo where false limit 0;
>   gid | the_geom | nombre | superficie_km2 | localidades_urbanas |
> localidades_ru
> rales | poblacion_total | densidad_poblacion | poblacion_60_an_mas |
> hablantes_l
> _indigena | hacinamiento | promedio_escolar | marginacion
> -----+----------+--------+----------------+---------------------+---------------
> ------+-----------------+--------------------+---------------------+------------
> ----------+--------------+------------------+-------------
> (0 filas)
>
> and this one:
> select
> "gid","nombre","superficie_km2","localidades_urbanas","localidades_rurales","poblacion_total","densidad_poblacion","poblacion_60_an_mas","hablantes_l_indigena","hacinamiento","promedio_escolar","marginacion",encode(AsBinary(force_collection(force_2d("the_geom")),'NDR'),'hex')
> as geom,"gid" from (select * from municipios) as foo where "gid" = 0;
>   gid | nombre | superficie_km2 | localidades_urbanas | localidades_rurales |
> pob
> lacion_total | densidad_poblacion | poblacion_60_an_mas |
> hablantes_l_indigena |
>   hacinamiento | promedio_escolar | marginacion | geom | gid
> -----+--------+----------------+---------------------+---------------------+----
> -------------+--------------------+---------------------+----------------------+
> --------------+------------------+-------------+------+-----
> (0 filas)
>
> Result window still draw cells but is empty.
> Thanks
>
>
>

------------------------------------------------------------------------------
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