MapTools.org

[Chameleon] Print Widget

Tracy Howlett thowlett@whistlermuseum.org
Wed, 28 Jan 2004 16:24:31 -0800
This is a multi-part message in MIME format.

------=_NextPart_000_0090_01C3E5BB.376707D0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

My print problems continue.

 

I think I've sorted out the issues with font lists but now there is an image
format problem.  When I select download or preview I get a PHP Script
Interpreter problem.  When I debug it I get this error message:

CGI Error

The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are: 

Warning 1: TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data
type 1 for "XMLPacket"; tag ignored

Warning 1: TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data
type 1 for "XMLPacket"; tag ignored

 

Could this be because of the php_gd.dll version?  The version of PHP that
I'm running (4.3.4) comes bundled with php_gd2.dll.  Is it just that gd does
not support tiff output?  Perhaps it is the MapScript.  I'm using some
aerial photos and a DEM in tiff format and I'd like to add them to the map
printout if possible.

 

I just ran a test.phtml (<?php  dl("php_mapscript_4.0.1.dll"); phpinfo(); ?>
and there is an error message telling me "MapScript:  Unable to register
functions; Unable to load"  Just when I think I've solved one problem I find
another with this thing!! ;)

 

Tracy


------=_NextPart_000_0090_01C3E5BB.376707D0
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:black;}
h1
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:24.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:Tahoma;
	color:green;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:Tahoma;
	color:green;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dgreen face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:green'>My print problems =
continue&#8230;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dgreen face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:green'><o:p>&nbsp;</o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D2 color=3Dgreen face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:green'>I think I&#8217;ve sorted out the =
issues
with font lists but now there is an image format problem.&nbsp; When I =
select
download or preview I get a PHP Script Interpreter problem.&nbsp; When I =
debug
it I get this error message:<o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font
size=3D6 color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:24.0pt;
color:windowtext;font-weight:bold'>CGI =
Error<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:windowtext'>The specified CGI =
application
misbehaved by not returning a complete set of HTTP headers. The headers =
it did
return are: <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:windowtext'>Warning 1:
TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data type 1 =
for
&quot;XMLPacket&quot;; tag ignored<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:windowtext'>Warning 1:
TIFFReadDirectory:C:\Apps\chirp\data\Tin_high_new.tif: wrong data type 1 =
for
&quot;XMLPacket&quot;; tag ignored<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dgreen face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:green'><o:p>&nbsp;</o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D2 color=3Dgreen face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:green'>Could this be because of the =
php_gd.dll
version?&nbsp; The version of PHP that I&#8217;m running (4.3.4) comes =
bundled
with php_gd2.dll.&nbsp; Is it just that gd does not support tiff =
output?&nbsp; Perhaps
it is the MapScript.&nbsp; I&#8217;m using some aerial photos and a DEM =
in tiff
format and I&#8217;d like to add them to the map printout if =
possible.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dgreen face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:green'><o:p>&nbsp;</o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D2 color=3Dgreen face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:green'>I just ran a test.phtml =
(&lt;?php&nbsp;
dl(&quot;php_mapscript_4.0.1.dll&quot;); phpinfo(); ?&gt; and there is =
an error
message telling me &#8220;MapScript:&nbsp; Unable to register functions; =
Unable
to load&#8221;&nbsp; Just when I think I&#8217;ve solved one problem I =
find
another with this thing!! ;)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dgreen face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:green'><o:p>&nbsp;</o:p></span></font></p=
>

<p class=3DMsoNormal><st1:City w:st=3D"on"><st1:place w:st=3D"on"><font =
size=3D2
  color=3Dgreen face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
  color:green'>Tracy</span></font></st1:place></st1:City><font size=3D2
color=3Dgreen face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:green'><o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0090_01C3E5BB.376707D0--




This archive was generated by Pipermail.