<!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> </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> </DIV>
<DIV><FONT face=Arial size=2>So this line:</FONT></DIV>
<DIV><FONT face=Arial size=2> FONTSET
../etc/fonts.txt</FONT></DIV>
<DIV><FONT face=Arial size=2>must be</FONT></DIV>
<DIV><FONT face=Arial size=2> FONTSET
"../etc/fonts.txt"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2>I really need some help. 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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2>I am running in Windows XP professional
with:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>ms4w 1.1</FONT></DIV>
<DIV> </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> </DIV>
<DIV><FONT face=Arial size=2>The Map File is
contains:<BR>MAP<BR> NAME LA<BR>
IMAGETYPE PNG<BR> SIZE 600
600<BR> IMAGECOLOR 240 240
240<BR> SHAPEPATH "../data"<BR>
FONTSET ../etc/fonts.txt<BR> EXTENT -94.043147 28.925011
-88.817017 33.019457<BR> UNITS
METERS<BR>
WEB<BR> IMAGEPATH
"/ms4w/tmp/ms_tmp/"<BR> IMAGEURL
"/ms_tmp/"<BR> END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> LEGEND<BR> STATUS
EMBED<BR> POSITION UR<BR> END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> SCALEBAR<BR> TRANSPARENT
ON<BR> BACKGROUNDCOLOR 0 0 0<BR> STATUS
EMBED<BR> POSITION LR<BR> STYLE
1<BR> END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> LAYER<BR> NAME "LA zip
code boundaries"<BR> TYPE POLYGON<BR> STATUS
DEFAULT<BR> DATA "zt22_d00"<BR> LABELITEM
"ZCTA"<BR> CLASS<BR> COLOR 254 0
0<BR> LABEL<BR> COLOR
60 60 60<BR> SHADOWCOLOR 218 218
218<BR> SHADOWSIZE 1
1<BR> TYPE
TRUETYPE<BR> FONT
fritqat<BR> SIZE
8<BR> ANTIALIAS
TRUE<BR> POSITION
CL<BR> PARTIALS
FALSE<BR> MINDISTANCE
5<BR> BUFFER
4<BR> END<BR> OUTLINECOLOR
60 60 60<BR> SYMBOL
0<BR> END<BR> TEMPLATE
"x"<BR> END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> LAYER<BR> NAME
"credits"<BR> STATUS DEFAULT<BR> TRANSFORM
FALSE<BR> TYPE
ANNOTATION<BR> FEATURE<BR> POINTS<BR> 10
680<BR> END<BR> TEXT 'Made with
Mapserver.'<BR> END<BR> CLASS<BR> LABEL<BR> TYPE
BITMAP<BR> POSITION
CR<BR> COLOR 0 0
0<BR> END<BR> END<BR> END</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>END</DIV></FONT></BODY></HTML>