[maplab-users] Re: [Chameleon] How can I use a map file like a context?

Paul Dymecki pdymecki at sympatico.ca
Wed Nov 24 19:53:01 EST 2004


Thanks Paul,
   I'm getting this in my apache error logs,
P



[Wed Nov 24 19:44:42 2004] [error] [client 127.0.0.1] Wed Nov 24 19:44:42
2004 - msInsertHashTable: Hash table error. Invalid hash table or key\r,
referer:
http://localhost/maplab-2.2/htdocs/gmapfactory/appframeset.phtml?sid=41a524d3f3394&gszMapFile=c:/apache2/htdocs/Icewatch/naturewatch.map&gszAppName=better
[Wed Nov 24 19:44:42 2004] [error] [client 127.0.0.1] Wed Nov 24 19:44:42
2004 - msProcessProjection(): Projection library error. projection not
named\r
[Wed Nov 24 19:44:43 2004] [error] [client 127.0.0.1] Wed Nov 24 19:44:43
2004 - msProcessProjection(): Projection library error. projection not
named\r
[Wed Nov 24 19:47:17 2004] [error] [client 69.158.107.69] request failed:
URI too long (longer than 8190)
[Wed Nov 24 19:48:45 2004] [error] [client 127.0.0.1] Wed Nov 24 19:48:45
2004 - msInsertHashTable: Hash table error. Invalid hash table or key\r,
referer:
http://localhost/maplab-2.2/htdocs/gmapfactory/appframeset.phtml?sid=41a524d3f3394&gszMapFile=c:/apache2/htdocs/Icewatch/naturewatch.map&gszAppName=better
[Wed Nov 24 19:48:45 2004] [error] [client 127.0.0.1] Wed Nov 24 19:48:45
2004 - msProcessProjection(): Projection library error. projection not
named\r




----- Original Message ----- 
From: "Paul Spencer" <pspencer at dmsolutions.ca>
To: "Paul Dymecki" <pdymecki at sympatico.ca>
Sent: Wednesday, November 24, 2004 9:12 AM
Subject: Re: [Chameleon] How can I use a map file like a context?


> Paul,
>
> it is being somewhat supported.  One of our internal projects is to
> develop a replacement for maplab but its not really active right now due
> to lack of funding.  I would suggest posting whatever errors you get to
> the maplab list and we'll try to find an answer for you.  I do know that
> a couple of things have changed in 4.4 that have an effect on Chameleon,
> perhaps maplab has the same problems.
>
> Cheers,
>
> Paul
>
> Paul Dymecki wrote:
> > Hi Paul,
> >    I just posted a message to the maplab mailing list but thought i
would
> > try you as well.  I've upgraded mapserver4.4beta, and our server is
running
> > chameleon fine, but our old GMAP apps are broken.  Would you know if
maplab
> > is still being supported?
> > thx
> > Paul
> >
> > ----- Original Message ----- 
> > From: "Paul Spencer" <pspencer at dmsolutions.ca>
> > To: "Alvaro Zabala" <azabala at gmail.com>
> > Cc: <chameleon at maptools.org>
> > Sent: Wednesday, November 24, 2004 7:44 AM
> > Subject: Re: [Chameleon] How can I use a map file like a context?
> >
> >
> >
> >>Alvaro,
> >>
> >>you have two choices:
> >>
> >>1. turn your map file into a WMS server then create a context that uses
> >>the layers from your WMS server
> >>
> >>2. don't use the service instance.  Instead, copy one of the sample
> >>files and modify the .phtml file to point to your map file.
> >>
> >>Cheers,
> >>
> >>Paul
> >>
> >>Alvaro Zabala wrote:
> >>
> >>>Hi!
> >>>I have a webmapping service configuration in a map file (all layers
> >>>are local layers).
> >>>I want to use this webmapping service with Chameleon.
> >>>
> >>>How do I have to  make the request to Chameleon instance so it use my
> >>>*.map file and not a context file?
> >>>
> >>>I have tried this:
> >>>
> >>>
> >
> >
http://localhost/chameleon/cwc2/cwc2.php?name=Agilwebmaster&service=VCG&request=GetApplication&version=0.1.0&LANGUAGES=en-CA&TEMPLATES=http%3A%2F%2Flocalhost%2Fchameleon%2Fsamples%2Fhellomap.html&CONTEXTS=http://localhost/prueba1/htdocs/prueba5.map
> >
> >>>without too much success.
> >>>
> >>>May I have to replace CONTEXTS=url_of_my_map_file ?
> >>>
> >>>Thanks in advance!
> >>>
> >>>
> >>>On Tue, 23 Nov 2004 21:31:37 -0500, Paul Spencer
> >>><pspencer at dmsolutions.ca> wrote:
> >>>
> >>>
> >>>>Hi,
> >>>>
> >>>>please make sure that you are not automatically starting a session (in
> >>>>php.ini session.auto_start)
> >>>>
> >>>>Paul
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>joanvp wrote:
> >>>>
> >>>>
> >>>>>Hi list,
> >>>>>
> >>>>>I've tried to use an authorisation against Chameleon app (a sample)
> >>>>>and I've used MySQL. But when the user insert gets authorisation just
> >>>>>can see Chameleon interface. All is fine except map.
> >>>>>
> >>>>>I can see this message under the title:
> >>>>>
> >>>>>/Notice: A session had already been started - ignoring
session_start()
> >>>>>in C:\ms4w\apps\chameleon\htdocs\common\session\session.php on line
487
> >>>>>/
> >>>>>And when I press Error Button I can see all this message:
> >>>>>
> >>>>>/Warning: dl(): Unable to load dynamic library
> >>>>>'/ms4w/Apache/php/extensions/' - No se puede encontrar el módulo
> >>>>>especificado. in
C:\ms4w\apps\chameleon\htdocs\widgets\session.inc.php
> >>>>>on line 59
> >>>>>
> >>>>>Warning(s)
> >>>>>No langauge is set.
> >>>>>No langauge is set.
> >>>>>No Valid map object to restore to.
> >>>>>
> >>>>>Warning: array_reverse(): The argument should be an array in
> >>>>>C:\ms4w\apps\chameleon\htdocs\widgets\CWC2ButtonCache.php on line 162
> >>>>>
> >>>>>Warning: Invalid argument supplied for f! oreach() in
> >>>>>C:\ms4w\apps\chameleon\htdocs\widgets\CWC2ButtonCache.php on line 162
> >>>>>
> >>>>>Warning: array_reverse(): The argument should be an array in
> >>>>>C:\ms4w\apps\chameleon\htdocs\widgets\CWC2ButtonCache.php on line 179
> >>>>>
> >>>>>Warning: Invalid argument supplied for foreach() in
> >>>>>C:\ms4w\apps\chameleon\htdocs\widgets\CWC2ButtonCache.php on line 179
> >>>>>/
> >>>>>Can someone show a way to solve this problem?
> >>>>>
> >>>>>Thanks in advanced... and excuse my english ;)
> >>>>>I'm using:
> >>>>>Chameleon 1.99b3
> >>>>>Apache
> >>>>>MySQL
> >>>>>Windows 2k
> >>>>>
> >>
>
>>>>------------------------------------------------------------------------
> >>>>
> >>>>>Do you Yahoo!?
> >>>>>Check out the new Yahoo! Front Page. www.yahoo.com
> >
> > <http://www.yahoo.com>
> >
> >>>>>
>
>>>>------------------------------------------------------------------------
> >>>>
> >>>>>_______________________________________________
> >>>>>Chameleon mailing list
> >>>>>Chameleon at lists.maptools.org
> >>>>>http://lists.maptools.org/mailman/listinfo/chameleon
> >>>>
> >>>>--
> >>>>+-----------------------------------------------------------------+
> >>>>|Paul Spencer                           pspencer at dmsolutions.ca   |
> >>>>+-----------------------------------------------------------------+
> >>>>|Applications & Software Development                              |
> >>>>|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
> >>>>+-----------------------------------------------------------------+
> >>>>_______________________________________________
> >>>>Chameleon mailing list
> >>>>Chameleon at lists.maptools.org
> >>>>http://lists.maptools.org/mailman/listinfo/chameleon
> >>>>
> >>>
> >>>
> >>>
> >>-- 
> >>+-----------------------------------------------------------------+
> >>|Paul Spencer                           pspencer at dmsolutions.ca   |
> >>+-----------------------------------------------------------------+
> >>|Applications & Software Development                              |
> >>|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
> >>+-----------------------------------------------------------------+
> >>_______________________________________________
> >>Chameleon mailing list
> >>Chameleon at lists.maptools.org
> >>http://lists.maptools.org/mailman/listinfo/chameleon
> >
> >
> >
>
> -- 
> +-----------------------------------------------------------------+
> |Paul Spencer                           pspencer at dmsolutions.ca   |
> +-----------------------------------------------------------------+
> |Applications & Software Development                              |
> |DM Solutions Group Inc                 http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+



More information about the Maplab-users mailing list