<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Print production error out off the blue</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=828215403-23062006>Updated "production_draw_legend.php" from CVS, now it
works.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=828215403-23062006>But still, why didn't it fail before
today?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=828215403-23062006>And why do these things always happen on a
Friday?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=828215403-23062006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=828215403-23062006>Jacob</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=828215403-23062006></SPAN></FONT> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> chameleon-bounces@lists.maptools.org
[mailto:chameleon-bounces@lists.maptools.org] <B>On Behalf Of </B>Delfos,
Jacob<BR><B>Sent:</B> 23 June 2006 11:39<BR><B>To:</B>
Chameleon-users<BR><B>Subject:</B> [Chameleon] Print production error out off
the blue<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hi List,</FONT> </P>
<P><FONT face=Arial size=2>I am in debugging hell, with a weird problem
appearing out of nowhere, without much logic. Basically, when trying to print
with the print production tool, I get this error:</FONT></P>
<P><FONT face="Courier New" size=2>[23-Jun-2006 11:29:32] PHP Fatal
error: [MapServer Error]: msPrepareImage(): Unable to initialize
image.</FONT> <BR><FONT face="Courier New" size=2> in
C:\chameleon\hwy\htdocs\widgets\PrintProduction\production_draw_legend.php on
line 397</FONT> </P>
<P><FONT face=Arial size=2>This occurs only when no raster image is turned on
(except for one image, which doesn't help make it work).</FONT> <BR><FONT
face=Arial size=2>It didn't occur last week, but I haven't changed anything
since (yes, you've heard that one before :) )</FONT> <BR><FONT face=Arial
size=2>It occurs on both our internal and external servers.</FONT> <BR><FONT
face=Arial size=2>It occurs only on one website, whereas all other sites use
the same configuration. I tried making it use the program files from another
site (make another site use that mapfile and template), but the error still
happens. </FONT></P>
<P><FONT face=Arial size=2>It happens in IE and Mozilla.</FONT> </P>
<P><FONT face=Arial size=2>If anyone recognises this error, or can give me a
clue what it relates to, I'd really appreciate it. </FONT></P>
<P><FONT face=Arial size=2>Regards,</FONT> </P>
<P><FONT face=Arial size=2>Jacob</FONT> </P><BR>
<P><B><FONT face=Arial color=#009500>J</FONT><FONT face=Arial color=#009500
size=1>ACOB</FONT> <FONT face=Arial color=#009500>D</FONT><FONT face=Arial
color=#009500 size=1>ELFOS<BR></FONT><FONT face=Arial
color=#009500>GIS</FONT><FONT face=Arial color=#009500 size=1></FONT> <FONT
face=Arial color=#009500>A</FONT><FONT face=Arial color=#009500
size=1>NALYST</FONT><BR></B><FONT face=Arial color=#000000 size=2>Maunsell
Australia Pty Ltd<BR>629 Newcastle Street, Leederville, WA 6007</FONT>
<BR><FONT face=Arial color=#000000 size=2>PO Box 81, Leederville, WA
6902</FONT> <BR><FONT face=Arial color=#000000 size=2>Western Australia</FONT>
<BR><FONT face=Arial color=#000000 size=2>ABN 20 093 846 925<BR><BR>Tel
+ 61 8 9281 6185<BR>Fax + 61 8 9281
6297<BR></FONT><U><FONT face=Arial color=#009c21
size=2>jacob.delfos@maunsell.com</FONT></U> </P></BLOCKQUOTE></BODY></HTML>