<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Matthew,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The error you gets occurs when loading the mapfile, 
so that is where the problem probably is.</FONT></DIV>
<DIV><FONT face=Arial size=2>I noticed that your fontset does not have quotes 
around the value. I just tested that, and for me that prevented it from loading. 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So this line:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; FONTSET 
../etc/fonts.txt</FONT></DIV>
<DIV><FONT face=Arial size=2>must be</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; FONTSET 
"../etc/fonts.txt"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: UMN MapServer 
Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] On Behalf Of Matthew 
Roberson<BR>Sent: 20 June 2005 22:28<BR>To: <A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A><BR>Subject: 
[UMN_MAPSERVER-USERS] Unsupported operand types</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I really need some help.&nbsp; I posted this late 
friday<BR>afternoon, however I am going to repost it in case<BR>anyone who might 
be able to help me missed it.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am trying to use the queryByAttributes method 
of<BR>the LayerObj class of PHP/Mapscript and I am doing<BR>something wrong, 
because I get the following error:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Fatal error: Unsupported operand types 
in<BR>C:\ms4w\apps\test\htdocs\LA.phtml on line 12</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am running in Windows XP professional 
with:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ms4w 1.1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I also get the same error in MacOS X with a 
custom<BR>compiled version of MapSever.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The Map File is 
contains:<BR>MAP<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME LA<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
IMAGETYPE PNG<BR>&nbsp;&nbsp;&nbsp;&nbsp; SIZE 600 
600<BR>&nbsp;&nbsp;&nbsp;&nbsp; IMAGECOLOR 240 240 
240<BR>&nbsp;&nbsp;&nbsp;&nbsp; SHAPEPATH "../data"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
FONTSET ../etc/fonts.txt<BR>&nbsp;&nbsp;&nbsp;&nbsp; EXTENT -94.043147 28.925011 
-88.817017 33.019457<BR>&nbsp;&nbsp;&nbsp;&nbsp; UNITS 
METERS<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
WEB<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEPATH 
"/ms4w/tmp/ms_tmp/"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEURL 
"/ms_tmp/"<BR>&nbsp;&nbsp;&nbsp;&nbsp; END</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;LEGEND<BR>&nbsp;&nbsp;STATUS 
EMBED<BR>&nbsp;&nbsp;POSITION UR<BR>&nbsp;END</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;SCALEBAR<BR>&nbsp;&nbsp;TRANSPARENT 
ON<BR>&nbsp;&nbsp;BACKGROUNDCOLOR 0 0 0<BR>&nbsp;&nbsp;STATUS 
EMBED<BR>&nbsp;&nbsp;POSITION LR<BR>&nbsp;&nbsp;STYLE 
1<BR>&nbsp;END</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;LAYER<BR>&nbsp;&nbsp;&nbsp;NAME "LA zip 
code boundaries"<BR>&nbsp;&nbsp;&nbsp;TYPE POLYGON<BR>&nbsp;&nbsp;&nbsp;STATUS 
DEFAULT<BR>&nbsp;&nbsp;&nbsp;DATA "zt22_d00"<BR>&nbsp;&nbsp;&nbsp;LABELITEM 
"ZCTA"<BR>&nbsp;&nbsp;&nbsp;CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;COLOR 254 0 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR 
60 60 60<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SHADOWCOLOR 218 218 
218<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SHADOWSIZE 1 
1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE 
TRUETYPE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FONT 
fritqat<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIZE 
8<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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sp;&nbsp;&nbsp;END<BR>&nbsp;&nbsp;END</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>END</DIV></FONT></BODY></HTML>