[Chameleon-dev] [Bug 797] [Chameleon-Widget]Unable to save a context file with "sample_ogc.phtml" application

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Fri Oct 29 11:39:19 EDT 2004


------- Additional Comments From pspencer at dmsolutions.ca  2004-10-29 11:39 -------
interesting.  Cariad reported a similar issue to me when I was fixing another
bug for her application.  The problem was intermittent for her, for some reason.
 I've tried this locally on windows with no problem, I can't reproduce.  The
code reads:

if ($szFileName == '')
    if (!isset( $http_form_vars["file_name"] ) ||
trim($http_form_vars["file_name"]) == "" )
        echo "file id not set or empty";

$szFileName is set if SESSION['DOWNLOADFILE'] is set.  The DownloadContext
widget sets this session variable before loading the download.phtml file.  So
this error should not be occurring.  Norm, can you investigate this further by
dumping the contents of $_GET and $_SESSION where the error is triggered in
download.phtml (line 149) by adding:


and also adding an echo "here!"; on line 131 to see if the code is going into
that section.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Chameleon-dev mailing list