[Chameleon] Session error due to a problem drawing the map

Rafael Báez rbaez at sopde.es
Fri May 25 03:58:46 EDT 2007


Hi Jacob,

First of all, thanks for your reply.

I’ve done what you suggested and I have to say that it seems to solve the
problem to me as well. I’ve been testing my apps quite a lot and the error
has not occurred again.

I changed my php.ini, loaded the php_mapscript.dll extension by default and
it seems to fix the error, at least for the moment.

Anyway, I’ll keep on testing to see if this is really the source of the
problem (it seems to be by now) and will write again in case the error
happens again.

Thanks a lot for your help, Jacob.

Regards,



-----Mensaje original-----
De: Delfos, Jacob [mailto:Jacob.Delfos at maunsell.com]
Enviado el: jueves, 24 de mayo de 2007 1:27
Para: Rafael Báez; chameleon at lists.maptools.org
Asunto: RE: [Chameleon] Session error due to a problem drawing the map



Hi Rafael,

I have been playing around with this since then, and it *appears* that the
error goes away if you load the php_mapscript extension by default. I'm not
sure if this is a fix or a patch, but I think this works. I also made some
minor change to session.php before that, but I don't believe that actually
fixed anything.
So change your php.ini file, try to load the php_mapscript.dll extension by
default, and see whether it works.

I'd be interested to hear whether this fixes it for you.

Regards,

Jacob



» -----Original Message-----
» From: chameleon-bounces at lists.maptools.org
» [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Rafael Báez
» Sent: 23 May 2007 16:32
» To: chameleon at lists.maptools.org
» Subject: [Chameleon] Session error due to a problem drawing the map
»
»
» Hi,
»
» I'm using Chameleon to develop a web map application, and it
» works really
» well most of the time, but sometimes I get an error like the
» one described
» here:
»
» http://lists.maptools.org/pipermail/chameleon/2007-January/004526.html
»
» The problem is that sometimes the image is not generated, causing the
» session error described before, and causing other widgets to fail, for
» instance, in KeyMapDHTML, I get a "Call to a member function on a
»  non-object" error, which is quite obvious because there's no image.
»
» I also get this problem with the Scalebar widget, which
» sometimes also fails
» to show.
»
» I've tried to slightly modify the drawmap.php code which
» causes the error,
» but haven't been able to find what the problem is.
»
» Any hints about this?
»
» I'm now using ms4w 1.5.5 and chameleon 2.4.1 for developing
» and testing my
» web map app, and need to fix this before moving to a Linux
» server machine.
»
» I really need to solve this problem, so your help would be really
» appreciated.
» Thank you in advance.
»
» _______________________________________________
» Chameleon mailing list
» Chameleon at lists.maptools.org
» http://lists.maptools.org/mailman/listinfo/chameleon
»

This email and any attachments are intended solely for the named recipient
and are confidential. The copying or distribution of them or any information
they contain by anyone other than the named recipient is prohibited. If you
have received this document in error, please notify the sender and delete
all copies from your computer system and destroy all hard copies. It is the
recipient's responsibility to check this email and any attachments to this
email for viruses before use.



More information about the Chameleon mailing list