Remove the comma after the last entry for defGroups and see if it works 
better.

I attached also a script for reading the session id. You have to put the 
groups.php file in the same directory. Modify for $sessLocation the path 
to the directory where the session variables are stored (entry in 
php.ini at "session.save_path = ..."). Then get the session id from the 
application: right mouse click on the application and get the source 
code, there you will find something like 
PHPSESSID=e0c66fccf87c6ee1fb9ff7a0f9136b4f, so insert the part after 
"PHPSESSID=" into the text field of the script in the browser.

Armin

luca marletta wrote:
> No sorry Armin this is the entry I have:
> 
> allGroups = igm5, igm, fotogrammetrico, confini, infrastrutture,
> dissesti_recenti, frane_smottamenti, dissesti_vari,
> dissesti_idrogeologici, incendi
> 
> ; Default Groups (visible at start)
> defGroups = igm5, igm, fotogrammetrico,
> 
> 
> 
>>What are the entries in the PHP session id? Looking at that (and maybe the
>>error log) can help debugging. I can send you a script that formats the
>>session id entries so that it's better readable.
> 
> 
> Give me an hint where I can look for PHP session ID and what look for
> please, and sure send me the script thanks.
> 
> I use debian. and in such server pmapper 1.0.4
> 
> Thanks Armin
> 
> 
> --
> luca marletta
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.faunalia.com/pipermail/pmapper-users/attachments/20051116/9266d19b/readsession.htm
From [EMAIL PROTECTED]  Wed Nov 16 18:45:31 2005
From: [EMAIL PROTECTED] (Armin Burger)
Date: Wed Nov 16 18:46:01 2005
Subject: [Pmapper-users] Re: Legend displaying problem solved
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

I will have to check what the definition of SKIP_LEGEND (1 or 2) was 
actually meant for. It's some time ago that I implemented but not used 
it. I guess 1 is if no legend should be displayed at all, and 2 is in 
case the legend should just be suppressed for a second layer of a group, 
or so.

All the groups and layers and legend things sometimes are sort of a pain 
to handle correctly. And an easy source of bugs, with all possible 
conceivable possibilities and different expectations what groups and 
leyers should be for.

Armin

Gambin Dejan wrote:
> Hi,
> 
> After some investigation, I have realised that p.mapper now uses
> writeTocDTree function and I have modified the line:
> 
> if (($legLayer->type < 3 && $skipLegend < 1) || $numClasses > 1) { 
> 
> to
> 
> if (($legLayer->type < 3 && $skipLegend < 1) || ($numClasses > 1 &&
> $skipLegend < 2)) {
> 
> so now if the layer has more than one class but SKIP_LEGEND is 2, then
> it doesn't display the legends
> 
> I don't know if this is right change but it works for me for now
> 
> regards, dejan
> 
> 

Reply via email to