Well, I'm sorry to say that I can't help you with a Mac. It looks like 5.5.020 was complied for Intel only, so you might have to stick with 5.5.009.
If that is the case, I can say that the sorting bug was restricted to the user scope, so changing your scope to request and then sorting might solve your problem without adjusting the server. Robert -----Original Message----- From: David Mark Weiss [mailto:[EMAIL PROTECTED] Sent: Monday, August 27, 2007 7:57 PM To: [email protected] Subject: Re: Witango-Talk: <@SORT> out of sorts Robert, OK Brother, I tried to install 020 on the Mac OSX Server here at home and not Apache won't load. I tried to take it off and reinstall 009 but still no joy. When I comment out the line loading the .so file, apache loads beautifully, but when I don't it won't load. Any ideas why this happens and what I can do besides reinstall the server software? If there isn't an easy way, I just reinstall. This is a kind of a sandbox I have at home, but I do have some stuff on it I would like to have working. So ..... What's up? Mark On Aug 27, 2007, at 1:28 PM, Robert Shubert wrote: > Make sure you are using >= 5.5.020, previous versions had a sorting > bug. > > Robert > > -----Original Message----- > From: David Mark Weiss [mailto:[EMAIL PROTECTED] > Sent: Monday, August 27, 2007 3:30 PM > To: [email protected] > Subject: Re: Witango-Talk: <@SORT> out of sorts > > Jesse, > > thanks for idea. > > After searching for the rounds, I do an average thing and put it into > <@VAR finalList> > > When I display <@VAR finalList>, > > I get this > > Gabe Anderson 43. > Steve Anderson 46. > Kyle Bliquez 45.5 > Chris Gutzman 37. > Greg Keafer 37.5 > Jared Powell 46.5 > Jeff Repman 36.5 > Josh Vizcaino 38.5 > Taylor Whitman 50. > > Names are correct Averages are correct. > > Then I do the Sort thing: > > <@SORT ARRAY="finalList" scope="user" cols="3 num asc"> > > > Then <@VAR finalList> > > I see no change in the sort order. > > It worked before on Tango2000 running on OS9 Webstar, But that server > is going away. > > Is it possible that the finalList isn't an array at all? How do I > make it so? How do I know? > > OSX Server 10.4.10 > PrimeBase 4.2.49 > Witango 5.5 > > Thanks for your help > > Mark > > > > On Aug 27, 2007, at 11:29 AM, Jesse Parker wrote: > >> >> Suggest you check that the column reference >> "common.Rounds.ScoreDec" is >> valid on your new server. >> >> If that reference is bad, Totalscores might be zero, and the array >> won't be >> assigned. >> >> >> -----Original Message----- >> From: David Mark Weiss [mailto:[EMAIL PROTECTED] >> Sent: Sunday, August 26, 2007 9:30 PM >> To: [email protected] >> Subject: Witango-Talk: <@SORT> out of sorts >> >> >> Hi Guys, >> >> I just moved a site from one server to another. >> >> Al of the sudden, <@sort> isnt' working. >> >> <@rows> >> <@ASSIGN name=Totalscores scope=local value="<@CALC expr='<@VAR >> TotalScores> + <@COLUMN 'common.Rounds.ScoreDec'>' >> format="num:simple- >> float">"> >> </@rows> >> >> >> >> <@if expr="<@VAR Totalscores> > 0"> >> <@ASSIGN Name=NewArray Value="<@ARRAY scope=local rows=1 cols=3 >> value='<@COLUMN 'common.Rounds.FirstName'>,<@COLUMN >> 'common.Rounds.LastName'>,<@CALC expr="(<@VAR Totalscores> / <@VAR >> scores>)" format="num:simple-float">' name='TempArray' >" >> scope=Request> >> >> <@ADDROWS ARRAY="finalList" SCOPE="user" VALUE="@@local$NewArray" >> position='-1'> >> >> </@if> >> >> >> >> >> <@SORT ARRAY="finalList" SCOPE="user" COLS="3 asc"> >> >> >> I get no sorting here. >> >> What gives? >> >> Mark >> >> >> >> Mark Weiss >> http://trustthechildren.blogspot.com >> >> _____________________________________________________________________ >> _ >> __ >> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf >> >> _____________________________________________________________________ >> _ >> __ >> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf >> > > Mark Weiss > http://trustthechildren.blogspot.com > > ______________________________________________________________________ > __ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > > ______________________________________________________________________ > __ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > Mark Weiss http://trustthechildren.blogspot.com ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
