[Chameleon] layermanager ie javascript and other

Schnider Markus msr at sourcepole.ch
Fri Jun 25 08:45:23 EDT 2004


Hi all

I have some problems. I use the cvs version from 22 june 2004.
php-4.3.4
mapserver 4.2.0
solaris

---------------------------------------
in LayerManager2 the following code does not work in IE
function clickLayerManagerAction(obj, szAction)
{
    document.forms[0]['LAYERMANAGER_ACTION'].value = szAction;
    document.forms[0].submit();

    return;
}

The problem is in the line with the submit.

---------------------------------------
An other problem:

apache error.log:
[Fri Jun 25 13:30:26 2004] [error] [client .......] PHP Notice:  Undefined 
index:  gnLogLevel in /...../cwc2/htdocs/widgets/session.inc.php on line 46, 
referer: http://...../...../demo.phtml
what could I do?

---------------------------------------
other  error  log:
[Fri Jun 25 13:30:30 2004] [error] [client ......] PHP Notice:  Undefined 
index:  gszLogPath in /...../cwc2/htdocs/widgets/session.inc.php on line 43, 
referer: 
http://...../cwc2//widgets/PrintWidget/production.phtml?sid=40dc0c097f8b3&MapWidth=400&MapHeight=300

or 

[Fri Jun 25 13:30:32 2004] [error] [client ......] PHP Notice:  Undefined 
index:  gszLogPath in /opt/apache2/cwc2/htdocs/widgets/session.inc.php on 
line 43, referer: 
http://...../cwc2//widgets/PrintWidget/production.phtml?chkTitleElem=1&txtTitleDesc2=New+Map&titleFont=helvetica&chkNeatElem=1&chkScalebarElem=1&selScalebarPos=BR&chkLegendElem=1&selLegendPos=TR&legendFont=helvetica&txtWidthPix=400&txtHeightPix=300&selFontSize=12&selImageFormat=PNG&bShowPreview=1&bShowDownload=&sid=40dc0c097f8b3&txtTitleDesc=New+Map&txtFootDesc=

---------------------------------------
line 43 to 46 of session.inc.log:
    $gLogFile = new LogFile( $_SESSION["gszLogPath"].
$aszLog[0]."_session.inc.log",
    LOG_TO_FILE, true );
    // set the max log level
    $gLogFile->setMaxLogLevel( $_SESSION["gnLogLevel"] );

Markus Schnider


More information about the Chameleon mailing list