[Chameleon] drawmap.php error using PHP5

Julien-Samuel Lacroix jlacroix at mapgears.com
Mon Mar 27 11:03:58 EST 2006


Hi Bart,
I've open a bug for this. It is clear that this code does not belong 
there. I'll review it and remove what is not necessary.

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

Julien

Bart van den Eijnden (OSGIS) wrote:
> 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
> 

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list