[Chameleon] chameleon 2.2beta1 - cannot open session mapfile

Jacob Delfos jacob.delfos at maunsell.com
Sun May 8 21:41:08 EDT 2005


Hi All,

I was just testing the 2.2beta1, and received this error when the page reloads after submitting:

· No valid map object to write.
·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

my PHP log says:

[09-May-2005 09:37:01] PHP Warning:  [MapServer Error]: loadReferenceMap(): Given reference extent is invalid.
 in C:\chameleon\epra\htdocs\common\wrapper\map_session.php on line 215
[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


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.
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).

Anybody have any ideas?

regards,

Jacob


JACOB DELFOS
SPATIAL INFORMATION ANALYST
Maunsell Australia Pty Ltd
629 Newcastle Street, WA 6007
PO Box 81, WA 6902
Leederville 
Western Australia
ABN 20 093 846 925

Tel     + 61 8 9281 6185
Fax    + 61 8 9281 6297
jacob.delfos at maunsell.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20050509/93ee8a4c/attachment.html


More information about the Chameleon mailing list