[Chameleon-dev] [Bug 932] New: ContextSelector choice causes errors

bugzilla-daemon at maptools.org bugzilla-daemon at maptools.org
Fri Jan 21 13:34:21 EST 2005


http://www.maptools.org/bugzilla/show_bug.cgi?id=932

           Summary: ContextSelector choice causes errors
           Product: Chameleon
           Version: 2.0
          Platform: PC
               URL: http://www.gommap.org/
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: eric at gomoos.org
                CC: pspencer at dmsolutions.ca


Service Instance Application which utilizes a ContextSelector widget.

The application loads fine, using the default Context.  But when I try to select
a new context, or even the same default context, causing the map to be redrawn
the following errors are displayed. The ErrorReport widget simply says: ERROR:
Invalid Context File.
But at the top of the page and in my Apache log:

(This is a debug of mine from ows.php) contextURL:
http://www.gommap.org/gommap/contexts/viewer/realtime_ocean_obs.xml
PHP Notice:  Undefined variable:  szFilename in
/usr/opt/chameleon/chameleon-2.0rc1/htdocs/widgets/ows.php on line 146
PHP Warning:  [MapServer Error]: msLoadMapContext(): Unable to read
http://www.gommap.org/gommap/contexts/viewer/realtime_ocean_obs.xml
 in /usr/opt/chameleon/chameleon-2.0rc1/htdocs/widgets/ows.php on line 56
PHP Warning:  [MapServer Error]: msGetMapContextFileText():
(http://www.gommap.org/gommap/contexts/viewer/realtime_ocean_obs.xml)
 in /usr/opt/chameleon/chameleon-2.0rc1/htdocs/widgets/ows.php on line 56
PHP Warning:  Failed loading map context from
http://www.gommap.org/gommap/contexts/viewer/realtime_ocean_obs.xml in
/usr/opt/chameleon/chameleon-2.0rc1/htdocs/widgets/ows.php on line 56

The context file is easily viewable in any browser.



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