<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=068593920-21022006><FONT face=Arial color=#0000ff size=2>Thanks
everyone,</FONT></SPAN></DIV>
<DIV><SPAN class=068593920-21022006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=068593920-21022006><FONT face=Arial color=#0000ff size=2>The
problem was indeed in my map file, I have ignored the warning about my symbol
definitions that caused the error even I don't know why because they worked ok
on my previous installation.</FONT></SPAN></DIV>
<DIV><SPAN class=068593920-21022006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=068593920-21022006><FONT face=Arial color=#0000ff
size=2>Anyway, it is solved now.</FONT></SPAN></DIV>
<DIV><SPAN class=068593920-21022006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=068593920-21022006><FONT face=Arial color=#0000ff
size=2>regards, dejan</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> William Bronsema
[mailto:wbronsema@dmsolutions.ca] <BR><B>Sent:</B> Tuesday, February 21, 2006
1:24 PM<BR><B>To:</B> Gambin Dejan;
chameleon@lists.maptools.org<BR><B>Subject:</B> RE: [Chameleon] error
rendering map image after reinstalling<BR><BR></FONT></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Hi Dejan,<BR><BR>If the samples are working then it is either
a problem with your template or<BR>mapfile. I would start with the
mapfile.<BR><BR>Try loading the map using a simple php script
like:<BR><BR><?php<BR>// load the mapscript module if necessary<BR>if
(!extension_loaded("MapScript"))<BR>{<BR> //
load<BR> dl( 'php_mapscript_46.'. PHP_SHLIB_SUFFIX
);<BR>}<BR><BR>// open map<BR>$oMap = ms_newMapObj( 'mymap.map' );<BR><BR>//
force output<BR>$oMap->selectoutputformat('png');<BR><BR>// draw
map<BR>$oImage = $oMap->draw();<BR><BR>// set
header<BR>header('Content-type: image/png');<BR><BR>// output map<BR>$url =
$oImage->saveImage('');<BR><BR>?><BR><BR>If that works then the next
thing to try is removing all your widgets from<BR>your template and start
putting them back in one at a time to see where the<BR>problem
is.<BR><BR>HTH<BR><BR>Bill<BR>________________________________________________<BR><BR>William
A. Bronsema, C.E.T.<BR>Software & Applications Development,<BR>DM
Solutions Group Inc.<BR><BR><BR>> -----Original Message-----<BR>> From:
chameleon-bounces@lists.maptools.org [<A
href="mailto:chameleon-">mailto:chameleon-</A><BR>>
bounces@lists.maptools.org] On Behalf Of Gambin Dejan<BR>> Sent: Tuesday,
February 21, 2006 4:33 AM<BR>> To: chameleon@lists.maptools.org<BR>>
Subject: RE: [Chameleon] error rendering map image after
reinstalling<BR>><BR>> Hi list,<BR>><BR>> I still can't solve my
problem with "error rendering map image" I have<BR>> tried many things, I
have also tried to remove KeyMapDHTML widget, but<BR>> then I get similar
error, just with "....MapDHTML.widget.php on line<BR>> 220". Samples work
good.<BR>><BR>> Any help??<BR>><BR>> thanks very
much<BR>><BR>> dejan<BR>><BR>> > -----Original
Message-----<BR>> > From: Julien-Samuel Lacroix [<A
href="mailto:jlacroix@dmsolutions.ca">mailto:jlacroix@dmsolutions.ca</A>]<BR>>
> Sent: Monday, February 20, 2006 4:05 PM<BR>> > To: Gambin
Dejan<BR>> > Cc: chameleon@lists.maptools.org<BR>> > Subject: Re:
[Chameleon] error rendering map image after reinstalling<BR>> ><BR>>
><BR>> > Hi,<BR>> > Most of the time, this error occurs when
the session directory is not<BR>> > writable by the web-user. Normally I
think MS4W use the /ms4w/tmp/<BR>> > folder as the session directory.
However it seems that you installed<BR>> > your MS4W package in
/Apps/gis/. It may be the source of the<BR>> > problem. If<BR>> >
I remember well, MS4W as to be at the root of a drive.<BR>> ><BR>>
> Julien<BR>> ><BR>> > Gambin Dejan wrote:<BR>> > >
Hi,<BR>> > ><BR>> > > I have installed my Chameleon
application to another server.<BR>> > > Everything seemed to be fine
but I got "Error rendering map image"<BR>> > > error and "A fatal
error has occured restoring your session. Please<BR>> > > restart the
application". After updating the map I get:<BR>> > ><BR>> >
> Fatal error: Call to a member function on a non-object in<BR>> >
><BR>> >
E:\Apps\gis\ms4w\apps\chameleon\htdocs\widgets\KeyMapDHTML\KeyMapDHTML<BR>>
> > .w<BR>> > > idget.php on line 150<BR>> > ><BR>>
> > I saw some posts regarding this problem, I have tried some<BR>>
> > modifications in my map file but nothing helped.<BR>> >
><BR>> > > Can anyone help?<BR>> > ><BR>> > >
regards,<BR>> > ><BR>> > > dejan<BR>> > ><BR>>
> > _______________________________________________<BR>> > >
Chameleon mailing list<BR>> > > Chameleon@lists.maptools.org<BR>>
> > <A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR>>
><BR>> > --<BR>> >
------------------------------------------------------------<BR>> >
Julien-Samuel
Lacroix
jlacroix@dmsolutions.ca<BR>> > DM Solutions
Group
<A href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A><BR>>
> ------------------------------------------------------------<BR>>
><BR>><BR>> _______________________________________________<BR>>
Chameleon mailing list<BR>> Chameleon@lists.maptools.org<BR>> <A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR><BR><BR></FONT></P></BLOCKQUOTE></BODY></HTML>