Andre for a quick test try to comment out line 175 ($_SESSION["existsXYLayer"] = 0;) in initgroups.php and see if the problem remains. What I don't understand is the problem with the query. I will need to check if is related to more than 1 XY layer (which in fact I never tested).
I would guess that XY Layers are not really often used. They are also missing some functions like labeling (which seems not to work due to not understandable Mapscript behaviour and lack of documentation). So in the long run they might probably not be dropped but might not be included in all possible functionalities. armin > Armin, > > Something strange is happening. I didn't get any result in the log-file. > So I tried logging in the initgroups.php. Result: finds 3 XY layers, > which is correct. > When checking in map.php line 319: > // CHECK iF THERE'S AN XY-LAYER AND THEN DRAW IT > if ($_SESSION["existsXYLayer"]) { > > the result is that he is passing the if statement: also: not true > If I remove the "if" statement the code is forcing the pmap_drawXYLayer > function, and my layers are drawn. Even the info button works on this > layers, but if xy layers are ON then the info button does not drill down > the NON-XY layers. When I deselect the xy-layers in layer control, the > info button works correctly on all non-xy layers. > The logging works fie if I use the $sql, the sql strings are fine. I > don't use a projection string in the map. All layers however use dutch > coordinates , even the MapInfo layers are in Dutch coordinates and are > drawn correctly. > Maybe it is a problem in the groups configuration?? I use a different > pm_config_location. > > This is my ini file: > > > -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users