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
Tournament Results
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Results
Could be a url encoding issue. What are the exact names of some of the tournaments that give that error?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.
Re: Tournament Results
The Tourneys in the red block shows up ok.Kent Briggs wrote:Could be a url encoding issue. What are the exact names of some of the tournaments that give that error?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.
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 (38.79 KiB) Viewed 8312 times
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Results
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.PsYcHo wrote:The Tourneys in the red block shows up ok.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Results
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.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
Re: Tournament Results
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.Kent Briggs wrote: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.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
Thanks GG
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Results
It just needs the same two changes. Put a stripslashes() around the history variable and a htmlspecialchars() on the Name.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.
Re: Tournament Results
Kent Briggs wrote:It just needs the same two changes. Put a stripslashes() around the history variable and a htmlspecialchars() on the Name.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.
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
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Results
I've now got it updated on the web site also.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.
http://www.briggsoft.com/docs/pmavens/API_Examples.htm