[Chameleon] Upgrade problems to MapServer 4.4.2
Bart van den Eijnden
bartvde at xs4all.nl
Mon May 16 13:49:51 EDT 2005
Hi Jason,
This bug was recently fixed if I recall correctly:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1231
When writing the MAP file Mapscript should use quotes around the MIMETYPE
but apparently it does not in your version.
Do you really need that mimetype? You can also use MIMETYPE image/png that
will work for sure.
Best regards,
Bart
On Mon, 16 May 2005 19:41:30 +0200, Jason Grimes <jgrimes at gi.alaska.edu>
wrote:
> Hi Bart,
>
> Thanks so much for your help. On line 13 the map file in the session
> had the following listing:
>
> MIMETYPE image/png; mode=24bit
>
> It looks like MapServer does not like the "; mode=24bit"??
>
> Jason
>
> On Sat, 2005-05-14 at 01:03, Bart van den Eijnden wrote:
>> Try and examine your session MAP file, and then especially around the
>> OUTPUTFORMAT object.
>>
>> Best regards,
>> Bart
>>
>> On Sat, 14 May 2005 02:01:27 +0200, Jason Grimes <jgrimes at gi.alaska.edu>
>> wrote:
>>
>> > Here is an update on what I have found. It looks to be a problem in
>> the
>> > PHP sessions. Chameleon errors out when map_session_mode=1. If I
>> copy
>> > the URL and change the map_session_mode to 0 it works. If I try and do
>> > anything in the interface, like pan or activate a layer, the page does
>> > not load at all and I get the following errors in the /tmp/php.log
>> file:
>> >
>> > [13-May-2005 14:24:37] PHP Warning: [MapServer Error]:
>> > loadOutputFormat(): Parsing error near (;):(line 13)
>> > in
>> >
>> /usr/local/chameleon/chameleon-2.1pr1-20050412/htdocs/common/wrapper/map_session.php
>> > on line 215
>> > [13-May-2005 14:24:37] PHP Warning: Failed to open map file
>> > /tmp/sess_428529221db94/1116023074-2494.map in
>> >
>> /usr/local/chameleon/chameleon-2.1pr1-20050412/htdocs/common/wrapper/map_session.php
>> > on line 215
>> > [13-May-2005 14:24:38] PHP Fatal error: Call to a member function on
>> a
>> > non-object in
>> >
>> /usr/local/chameleon/chameleon-2.1pr1-20050412/htdocs/widgets/KeyMapDHTML/KeyMapDHTML.widget.php
>> > on line 150
>> >
>> > Any ideas? I'm going to poke through the code and track down the
>> > map_session_mode and see if there is a problem there. I know that
>> 1=R/W
>> > session and 0=Read Only session. Thanks,
>> >
>> > Jason
>> >
>> > On Wed, 2005-05-11 at 09:50, Jason Grimes wrote:
>> >> Hi Bart,
>> >>
>> >> I'm running 2.1pr1-20050412. I modified my php.ini file but nothing
>> was
>> >> written to the error log file. Also no errors in the Apache log
>> >> either. I will try going back to version 2.0 and see if that makes
>> any
>> >> difference. Thanks,
>> >>
>> >> Jason
>> >>
>> >> On Tue, 2005-05-10 at 23:09, Bart van den Eijnden wrote:
>> >> > Hi Jason,
>> >> >
>> >> > could you log your php errors to a file, in php.ini:
>> >> >
>> >> > display_errors = Off
>> >> > log_errors = On
>> >> > error_log = d:/temp/php.log
>> >> >
>> >> > And check your logfile afterwards?
>> >> >
>> >> > Which version of Chameleon are you using btw? I have no trouble
>> >> running Chameleon 2.0 in combination with Mapserver 4.4.2.
>> >> >
>> >> > Best regards,
>> >> > Bart
>> >> >
>> >> > Bart van den Eijnden
>> >> > Syncera-ITSolutions
>> >> > Postbus 270
>> >> > 2600 AG DELFT
>> >> >
>> >> > tel.nr.: 015-7512436
>> >> > email: BEN at Syncera-ITSolutions.nl
>> >> >
>> >> > >>> Jason Grimes <jgrimes at gi.alaska.edu> 05/11/05 01:56am >>>
>> >> > Hi All,
>> >> >
>> >> > I have upgraded to MapServer 4.4.2 from version 4.2.2 and now all I
>> >> get
>> >> > in Chameleon is the following error:
>> >> >
>> >> > Error rendering map image:
>> >> > A fatal error has occurred restoring your session.
>> >> > Please restart the application.
>> >> >
>> >> > I haven't changed anything in my Chameleon configuration. Here is
>> the
>> >> > URL that Chameleon is sending:
>> >> >
>> >> >
>> https://phobos.gina.alaska.edu/chameleon//common//wrapper/drawmap.php?
>> >> > map_session_mode=1&run_query=0&sid=4281468778a3b&
>> >> > dummy=0.08096400+1115768456&UniqId=1115768456785264
>> >> >
>> >> > When I checked the archived messages for this I came across the
>> error
>> >> > about map_session_mode=1. I checked my php.ini file and the
>> >> > session.use_trans_sid parameter is set to 0. If I hand enter the
>> URL
>> >> > into the browser it still returns the same error whether or not it
>> is
>> >> > set to a 1 or a 0. Most everything was working fine with MapServer
>> >> > 4.2.2, do I need to reinstall that version? I have also upgraded
>> >> proj,
>> >> > freetype, and gd. Thanks,
>> >> >
>> >> > Jason
>> >> >
>> >> > _______________________________________________
>> >> > Chameleon mailing list
>> >> > Chameleon at lists.maptools.org
>> >> > http://lists.maptools.org/mailman/listinfo/chameleon
>> >> >
>> >>
>> >> _______________________________________________
>> >> Chameleon mailing list
>> >> Chameleon at lists.maptools.org
>> >> http://lists.maptools.org/mailman/listinfo/chameleon
>> >
>> > _______________________________________________
>> > Chameleon mailing list
>> > Chameleon at lists.maptools.org
>> > http://lists.maptools.org/mailman/listinfo/chameleon
>> >
>>
>>
>
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the Chameleon
mailing list