Hi Armin, You were right, the problem was in php_errors and pm_debug logs and, after a search in the pmapper changesets, I found that the problem had already been solved by Thomas Raffin, in the Revisions 1273 and 1308.
Thank you very much for the hint and sorry for the noise. Best regards, Pedro ----- Mensagem original ----- > DE: Armin Burger > > You need to check the PHP error log since "server error 500" means > typically a PHP error. > > > > > > On 12/19/2013 12:15 PM, Pedro Venâncio wrote: >> Hi >> >> I'm having problems with "Zoom to layer" on PostGIS layers. I > have an application where everything works fine, but I have other, based on > the > same version of pMapper (4.2.0), where the "Zoom to layer" works with > raster layers, but does not work with PostGIS layers. >> >> For example, with "lugares" layer, firebug gives: >> >> > http://prociv.local/incphp/xajax/x_load.php?&mode=map&zoom_type=zoomgroup&groupname=lugares&dummy=dummy >> 500 Internal Server Error 20ms jquery_merged.js (linha 16) >> Internal Server Error pm_cjs.js (linha 35) >> >> >> If I select some features of this layer and do "Zoom to > selection", everything works fine. Also, if I use the Query Editor or Query > Search, it also works well. It only fails with "Zoom to layer". >> >> The layer connection is like this: >> >> LAYER >> NAME "lugares" >> STATUS DEFAULT >> TYPE POINT >> CONNECTIONTYPE postgis >> PROCESSING "CLOSE_CONNECTION=DEFER" >> CONNECTION "user=xxxx password=xxxx dbname=carto host=localhost > options='-c client_encoding=LATIN1'" >> DATA "the_geom from topo.lugares using unique id" >> TOLERANCE 3 >> TOLERANCEUNITS pixels >> TEMPLATE void >> PROJECTION >> "init=epsg:3763" >> END >> METADATA >> "DESCRIPTION" "Toponímia de Lugares" >> "RESULT_FIELDS" "nome,xx,yy,tipo,carta_mili" >> "RESULT_HEADERS" "Nome,X,Y,Tipo,Folha" >> "ows_title" "Toponímia de Lugares" >> END >> CLASS >> NAME 'Toponímia' >> COLOR 0 0 255 >> SYMBOL 'circle' >> SIZE 4 >> END >> END >> >> Does anyone have any suggestions on what's wrong? >> >> Thank you very much! >> >> Best regards, >> Pedro Venâncio ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users