<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Paul,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Removing the keymap makes it work, so it must be to
do with that.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: Paul Spencer
[mailto:pspencer@dmsolutions.ca] <BR>Sent: 9 May 2005 22:11<BR>To: Bart van den
Eijnden<BR>Cc: <A
href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</A>; <A
href="mailto:jacob.delfos@maunsell.com">jacob.delfos@maunsell.com</A><BR>Subject:
Re: [Chameleon] chameleon 2.2beta1 - cannot open session mapfile</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>This is a change in mapserver version that is
generating the error <BR>message. Someone added validation of extents
(minx<maxx, miny<maxy) and <BR>in doing so has broken some parts of
Chameleon - I noticed this first <BR>with the KeymapDHTML, which I fixed, but I
hadn't seen it anywhere else.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Something is allowing extents to be set on the
keymap object that do not <BR>meet the new constraints, but I'm not sure where
this happens ... unless <BR>your widget tags are somehow wrong - I mean the
samples in this case.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I'll take a quick look today.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Paul</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Bart van den Eijnden wrote:<BR>> Hi
Jacob,<BR>> <BR>> I ran into this as well and reported this to Paul
off-list. Must be a bug. I only noticed that the keymap did not work anymore
after submit and that I had a javascript error. I did not check php logs but
this must be the same error.<BR>> <BR>> Best regards,<BR>> Bart<BR>>
<BR>> Bart van den Eijnden<BR>> Syncera-ITSolutions<BR>> Postbus
270<BR>> 2600 AG DELFT<BR>> <BR>> tel.nr.: 015-7512436<BR>>
email: <A
href="mailto:BEN@Syncera-ITSolutions.nl">BEN@Syncera-ITSolutions.nl</A><BR>>
<BR>> <BR>>>>>"Jacob Delfos" <<A
href="mailto:jacob.delfos@maunsell.com">jacob.delfos@maunsell.com</A>>
05/09/05 03:41am >>><BR>> <BR>> Hi All,<BR>> <BR>> I was
just testing the 2.2beta1, and received this error when the page reloads after
submitting:<BR>> <BR>> · No valid map object to write.<BR>> ·Unable to
access map [C:/web/tmp/sess_427ebcc0029e9/1115602113-1985.map].. Check to see
that the file exists and/or that the path and filename are spelled
correctly<BR>> <BR>> my PHP log says:<BR>> <BR>> [09-May-2005
09:37:01] PHP Warning: [MapServer Error]: loadReferenceMap(): Given
reference extent is invalid.<BR>> in
C:\chameleon\epra\htdocs\common\wrapper\map_session.php on line 215<BR>>
[09-May-2005 09:37:01] PHP Warning: Failed to open map file
C:/web/tmp/sess_427ebebb99de8/1115602620-6194.map in
C:\chameleon\epra\htdocs\common\wrapper\map_session.php on line 215<BR>>
<BR>> <BR>> That happens on submit. I was using the
sample_enhanced_jsapi.phtml (I moved the file and the paths to suit my directory
structure, but this shouldn't matter). First page loads fine. Haven't changed my
config file since previous (working) version, so my paths should be ok.<BR>>
Javascript navigation was working, but on submit the error occurs. The session
ID in the first loaded page matches the directory that was created. The path and
file it is referring to exist (file has content), so something goes wrong when
the page is loaded. Because it can't find it, it actually creates a new
directory (new session).<BR>> <BR>> Anybody have any ideas?<BR>>
<BR>> regards,<BR>> <BR>> Jacob<BR>> <BR>> <BR>> JACOB
DELFOS<BR>> SPATIAL INFORMATION ANALYST<BR>> Maunsell Australia Pty
Ltd<BR>> 629 Newcastle Street, WA 6007<BR>> PO Box 81, WA 6902<BR>>
Leederville <BR>> Western Australia<BR>> ABN 20 093 846 925<BR>>
<BR>> Tel + 61 8 9281 6185<BR>>
Fax + 61 8 9281 6297<BR>> <A
href="mailto:jacob.delfos@maunsell.com">jacob.delfos@maunsell.com</A><BR>>
<BR>> <BR>> _______________________________________________<BR>>
Chameleon mailing list<BR>> <A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>>
<A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR>>
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>--
<BR>+-----------------------------------------------------------------+<BR>|Paul
Spencer
<A href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</A>
|<BR>+-----------------------------------------------------------------+<BR>|Applications
& Software
Development
|<BR>|DM Solutions Group
Inc
<A
href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A>|<BR>+-----------------------------------------------------------------+<BR></FONT></DIV></BODY></HTML>