Here are a few errors I've discovered, using the 5-15-2009 SVN.
handler/league.php seems to be the biggest culprit at the moment. Any
help resolving some of these would be great. Thanks.
1.
Page where error occurs:
leaguerunner.conf.example (line 13):
dsn = "mysql:hostname=localhost;dbname=leaguerunner"
Error:
Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock
I fixed this by changing "hostname" to "host" in my leaguerunner.conf file.
2.
Pages where error occurs:
/?q=settings/feature
/?q=settings/person
/?q=settings/global
/?q=league/approvescores/1
Error:
Warning: array_merge() [function.array-merge]: Argument #2 is not an
array in /includes/theme.inc on line 166
Warning: implode() [function.implode]: Invalid arguments passed in
includes/theme.inc on line 187
Note: line numbers will be different as this is an edited theme.inc
file, and I "removed" these errors by simply adding @ before the two
functions to suppress the error message
3.
Page where error occurs:
/?q=league/scores/1
Error:
Warning: Invalid argument supplied for foreach() in
/Handler/League.php on line 2250
4.
Page where error occurs:
/?q=league/fields/1
Error:
/Handler/League.php on line 2112
5.
Page where error occurs:
/?q=league/status/1
Error:
Page not found
6.
Page where error occurs:
/?q=league/spirit/1
Error:
Warning: Division by zero in /Handler/League.php on line 1723
League runner returns: "No games played, cannot display spirit"
7.
Page where error occurs:
/?q=person/signwaiver
Error:
No PHP errors, but shows: "Consent Form for League Play" then
Submit/Reset buttons - with no radio buttons to select, and no waiver
to read.
_______________________________________________
Leaguerunner mailing list
[email protected]
http://www.dmo.ca/cgi-bin/mailman/listinfo/leaguerunner