Tournament Results

For discussion of the Poker Mavens server module and other administration topics

Tournament Results

Postby PsYcHo » Thu Aug 27, 2009 1:11 am

This actualy happens to Tournament Results and Hands History. The dropdown list shows but when I click submit I get a message "Error=Results file not found". Some of the older files is swowing but the latest ones is not working.

I have used the tourneyresults.php that is on http://www.briggsoft.com/docs/pmavens/API_Examples.htm and only changed it to display the top 300. The api.php file is also in the webroot folder

I have removed all the files in the folder and then it does not show anny games in the dropdown list. So the directory is correct and the files is in there.

Thanks.

GG
PsYcHo
 
Posts: 16
Joined: Wed Aug 12, 2009 8:52 am

Re: Tournament Results

Postby Kent Briggs » Thu Aug 27, 2009 9:17 am

PsYcHo wrote:This actualy happens to Tournament Results and Hands History. The dropdown list shows but when I click submit I get a message "Error=Results file not found". Some of the older files is swowing but the latest ones is not working.


Could be a url encoding issue. What are the exact names of some of the tournaments that give that error?
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament Results

Postby PsYcHo » Fri Aug 28, 2009 1:43 am

Kent Briggs wrote:
PsYcHo wrote:This actualy happens to Tournament Results and Hands History. The dropdown list shows but when I click submit I get a message "Error=Results file not found". Some of the older files is swowing but the latest ones is not working.


Could be a url encoding issue. What are the exact names of some of the tournaments that give that error?


The Tourneys in the red block shows up ok.

Image

Tournament=10 man tournament
Number=2
BuyIn=1500+0
PrizeBonus=0
Entrants=7
Start=2009-07-15 14:51:03
Place7=Pixie (0)
Place6=Dubz (0)
Place5=Chase (0)
Place4=Breedster (0)
Place3=timmie (0)
Place2=blade (3675)
Place1=Piedpiper (6825)
Stop=2009-07-15 15:51:29

Tournament=10 man tournament
Number=3
BuyIn=1500+0
PrizeBonus=0
Entrants=6
Start=2009-07-15 15:57:23
Place1=Piedpiper (1500)
Place1=RABies (1500)
Place1=PsYcHo (1500)
Place1=Lama (1500)
Place1=timmie (1500)
Place1=NitroX (1500)
Stop=2009-07-15 16:01:33 (Abort)

Tournament=10 man tournament
Number=4
BuyIn=1500+0
PrizeBonus=0
Entrants=7
Start=2009-07-15 16:02:13
Place1=Kleinblaar (1500)
Place1=Lama (1500)
Place1=NitroX (1500)
Place1=Piedpiper (1500)
Place1=PsYcHo (1500)
Place1=RABies (1500)
Place1=timmie (1500)
Stop=2009-07-15 16:04:28 (Abort)

Tournament=10 man tournament
Number=5
BuyIn=1500+0
PrizeBonus=0
Entrants=7
Start=2009-07-15 16:05:21
Place7=Lama (0)
Place6=Pope (0)
Place5=PsYcHo (0)
Place4=NitroX (0)
Place3=timmie (0)
Place2=RABies (3675)
Place1=Kleinblaar (6825)
Stop=2009-07-15 16:43:13

But the others just gives the "Error=Results file not found" error.

Thanks

GG
Attachments
Tourney Results.JPG
Tourney Results.JPG (38.79 KiB) Viewed 2599 times
PsYcHo
 
Posts: 16
Joined: Wed Aug 12, 2009 8:52 am

Re: Tournament Results

Postby Kent Briggs » Fri Aug 28, 2009 11:16 am

PsYcHo wrote:The Tourneys in the red block shows up ok.


The apostrophe in Hold'em is causing the problem since that's used a string delimiter in the HTML form. I'll see if I can patch that code to work around it.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament Results

Postby Kent Briggs » Fri Aug 28, 2009 12:40 pm

PsYcHo wrote:This actualy happens to Tournament Results and Hands History. The dropdown list shows but when I click submit I get a message "Error=Results file not found". Some of the older files is swowing but the latest ones is not working.

I have used the tourneyresults.php that is on http://www.briggsoft.com/docs/pmavens/API_Examples.htm


I've updated the Tournament Results example on the web site so it now works with apostrophes in the file name. I made two changes using the stripslashes() and htmlspecialchars() functions.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament Results

Postby PsYcHo » Mon Aug 31, 2009 3:24 am

Kent Briggs wrote:
PsYcHo wrote:This actualy happens to Tournament Results and Hands History. The dropdown list shows but when I click submit I get a message "Error=Results file not found". Some of the older files is swowing but the latest ones is not working.

I have used the tourneyresults.php that is on http://www.briggsoft.com/docs/pmavens/API_Examples.htm


I've updated the Tournament Results example on the web site so it now works with apostrophes in the file name. I made two changes using the stripslashes() and htmlspecialchars() functions.


WOW It works, thanks Kent. Is there a way I can fix the Hands History file. Or must I just change the Filename without the hyphen.

Thanks GG
PsYcHo
 
Posts: 16
Joined: Wed Aug 12, 2009 8:52 am

Re: Tournament Results

Postby Kent Briggs » Mon Aug 31, 2009 9:48 am

PsYcHo wrote:WOW It works, thanks Kent. Is there a way I can fix the Hands History file. Or must I just change the Filename without the hyphen.


It just needs the same two changes. Put a stripslashes() around the history variable and a htmlspecialchars() on the Name.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament Results

Postby PsYcHo » Tue Sep 01, 2009 9:02 am

Kent Briggs wrote:
PsYcHo wrote:WOW It works, thanks Kent. Is there a way I can fix the Hands History file. Or must I just change the Filename without the hyphen.


It just needs the same two changes. Put a stripslashes() around the history variable and a htmlspecialchars() on the Name.



Thanks, I compared the old TourneyHistory.php with the new one and appleid the changes to the HandsHistory.php file. And it worked.

I'm a n00b with php and webb stuff but i'm learning.

Thanks

GG
PsYcHo
 
Posts: 16
Joined: Wed Aug 12, 2009 8:52 am

Re: Tournament Results

Postby Kent Briggs » Tue Sep 01, 2009 10:54 am

PsYcHo wrote:Thanks, I compared the old TourneyHistory.php with the new one and appleid the changes to the HandsHistory.php file. And it worked.


I've now got it updated on the web site also.
http://www.briggsoft.com/docs/pmavens/API_Examples.htm
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm


Return to Site Administration

Who is online

Users browsing this forum: No registered users and 5 guests