[Maplab-dev] [Bug 557] New: [MapLab-MapEdit]Adding a legend generates PHP errors

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Mon Jul 19 15:15:04 EDT 2004


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

           Summary: [MapLab-MapEdit]Adding a legend generates PHP errors
           Product: MapLab
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: map editor
        AssignedTo: maplab-dev at lists.maptools.org
        ReportedBy: nsavard at dmsolutions.ca


Add a legend to the map in MapEdit and open the map preview generates PHP errors.

Steps to reproduce:

1.  Load MapLab.
2.  Select MapEdit.
3.  Select Legend in the tree list.
4.  Change width and size of the legend in the "Objects Properties" window.
5.  Apply changes.
6.  Open the map preview (disable ROSA).
7.  Errors appear.

Fedora Core 2
Mozilla 1.6
MapLab 2.2 20040716


---------------
PHP error:
[19-Jul-2004 14:56:47] PHP Warning:  [MapServer Error]: loadLegend(): Parsing
error near (SIZE):(line 84)
 in /home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215
[19-Jul-2004 14:56:47] PHP Warning:  Failed to open map file
/tmp/ms_tmp//40fc121cc509b.map in
/home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215
[19-Jul-2004 14:56:47] PHP Warning:  [MapServer Error]: loadLegend(): Parsing
error near (SIZE):(line 84)
 in /home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215
[19-Jul-2004 14:56:47] PHP Warning:  [MapServer Error]: loadLegend(): Parsing
error near (SIZE):(line 84)
 in /home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215
[19-Jul-2004 14:56:47] PHP Warning:  Failed to open map file
/tmp/ms_tmp//40fc121cc509b.map in
/home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215
[19-Jul-2004 14:56:47] PHP Fatal error:  Call to a member function on a
non-object in /home/nsavard/proj/maplab-2.2/htdocs/mapedit/preview.php on line 308



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


More information about the Maplab-dev mailing list