[Chameleon-dev] [Bug 1617] New: PHP Fatal error in drawmap.php - using $this when not in object context

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Nov 21 08:44:25 EST 2006


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

           Summary: PHP Fatal error in drawmap.php - using $this when not in
                    object context
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: mfyahya at gmail.com


I noticed the following error in my apache logs:
PHP Fatal error:  Using $this when not in object context in
/usr/local/gis/chameleon/htdocs/common/wrapper/drawmap.php on line 1429

this line in the DrawKeyMap function seems to cause it:
if (isset($this->maSharedResourceWidgets["CWCJSAPI"]))

I didn't figure out what the code does, but I commented out that if block and
things seem to work ok so far.



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