[Chameleon-dev] [Bug 1384] New: [Chameleon - drawmap] DrawKeyMap contains JSAPI code

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Mar 27 11:02:45 EST 2006


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

           Summary: [Chameleon - drawmap] DrawKeyMap contains JSAPI code
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: jlacroix at mapgears.com


Reported by Bart:
Hi list,

using PHP 5.0.4 and Chameleon 2.2.1 we get the following error:

[24-Mar-2006 09:33:20] PHP Fatal error:  Using $this when not in object context
in ****/apps/chameleon-2.2.1/htdocs/c
ommon/wrapper/drawmap.php on line 1418

Checking the code in drawmap.php, it seems that this has been copied from a
widget source file since there is no $this in drawmap.php:

       if (isset($this->maSharedResourceWidgets["CWCJSAPI"]))

Best regards,
Bart



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


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list