[Chameleon] Upgrade problems to MapServer 4.4.2

Jason Grimes jgrimes at gi.alaska.edu
Fri May 13 20:01:27 EDT 2005


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



More information about the Chameleon mailing list