[Chameleon] drawmap.php error using PHP5

Bart van den Eijnden (OSGIS) bartvde at xs4all.nl
Fri Mar 24 03:46:15 EST 2006


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

-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the Chameleon mailing list