On Thu, Mar 20, 2008 at 8:17 AM, Geografisches Informationssystem
<[EMAIL PROTECTED]> wrote:
> Hello p.mappers ;-),
>
>  I found out in (my) installation 3.2.0 with the plugin "mapSelect", that
>  at every change of the config an '&' is added to the variable searchLoc
>  i.e.
>
>  1st change it is        http://10.170.0.20:8080/map.phtml?config=lvm&;
>  2nd it is
>  http://10.170.0.20:8080/map.phtml?config=default&&;
>  3rd it is               http://10.170.0.20:8080/map.phtml?config=lvm&&&;
>  and so on. Doesn't look pretty.
>
>  Fixed it with adding the "&"  to the replace statement in line 29 (?):
>         configUrl +=
>  searchLoc.replace(/config=[a-zA-Z0-9\_&]+/,'config=' + $(this).val());
>
>  Don't know what side effect this may have. This or "a professional
>  workaround" should be added to the plugins' source;-).

I guess it has no negative side effect... So I will add it to the SVN


>  The second problem with the plugin is, that after an change no layers
>  are selected. I think that at least the initial layers coming out of the
>  config.ini (= variable "defGroups" ) should be activated by adding
>  "&dg=blabla,blublu" to the variable "configUrl" of the plugin.

Are you by chance using the php.ini setting
session.use_cookies =1

If yes, try to set the value to 0 and see if it works then. I guess
you are keeping the session (which might be wanted to keep scale and
extent, etc, but that causes the problems with other session
settings). I will see how this can be solved.

armin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to