![]() |
||||
|
|
||||
[Chameleon] cwcjsapi causes errorsPaul Spencer spencer@dmsolutions.caTue, 09 Sep 2003 20:52:27 -0400
|
||||
Uli,
the cwcjsapi is one of the widgets that still remains to be ported from
Chameleon 1.0 to Chameleon 1.1. I will actually be starting on it this
week. so hang in there and a new dev version of Chameleon will include a
working cwcjsapi widget in a few days.
You should be able to work on your application without the cwcjsapi and
add it in after.
Cheers,
Paul
uli wrote:
>Hi
>
>I got the latest chameleon sample with chamleon-1.1alpha-20030902 to work.
>However when I tried to include the CWC2JSAPI, I got two error messages:
>
>1) Some session variables had not been initialized. I could fix this by
>adding some code to chamelon.php. I added after line 389:
>$_SESSION['gszSchemasLocation'] =
>$this->moContext->getContextValue("ows_schemas_location");
>... the same for all missing variables
>
>2) Now I get an "Fatal error: Call to a member function on a non-object in
>/opt/cwc2/htdocs/common/wrapper/map_session.php on line 1046". This line
>tries to access a php_mapscript-function ($anDrawingOrder =
>$this->oMap->getlayersdrawingorder()).
>$this->oMap is defined and has the correct values corresponding to my
>mapfile. Earlier in map_session.php, php_mapscript also seems to work (e.g.
>in line 238 with "$this->oMap->setextent(...);").
>
>In the end, I can't use the navigation tools. For all of them, "loading
>image...please wait" shows up, but I have to wait forever. The new map does
>not draw.
>
>Help ? > Many thanks
>
>Uli
>
>_______________________________________________
>Chameleon mailing list
>Chameleon@lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>
>
>
--
--
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |