| Voir le sujet précédent :: Voir le sujet suivant |
| Auteur |
Message |
Frisco
Inscrit le: 31 Aoû 2007 Messages: 2
|
Posté le: Ven 31 Aoû 2007, 18:53 Sujet du message: Problem when I set up the starting 11 |
|
|
Hi!
Congratulation for this script for the authors!
I have a big problem. I using the 0.83 version of PhpLeague. When I try to add the starting 11 of the teams, I'll get an error message when generating that page.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/----here is the address of the site---/liga/admin/fonctions.php on line 387
What does it mean?
Here is the line 387 of admin/fonctions.php:
| Code: | | $query="select * from phpl_matchs, phpl_journees where phpl_matchs.id_journee=phpl_journees.id and phpl_journees.numero=$numero and phpl_journees.id_champ=$champ"; |
Please help anybody!!!! Thanks! |
|
| Revenir en haut |
|
 |
Frisco
Inscrit le: 31 Aoû 2007 Messages: 2
|
Posté le: Dim 02 Sep 2007, 18:29 Sujet du message: |
|
|
Ok, I do it!
The script don't agree that you edit the older rounds of championship, you can only edit the last round. When you want to add old results, starting elevens, goalscorers, you must do a little conversation.
So at admin/fonctions.php modify line 387!
Original version the script see which is the last round of league to you only edit the last round
| Code: | | $query="select * from phpl_matchs, phpl_journees where phpl_matchs.id_journee=phpl_journees.id and phpl_journees.numero=$numero and phpl_journees.id_champ=$champ"; |
In the modified version you can edit older rounds you can add goalscorers at the first rounds of championship!
| Code: | | $query="select * from phpl_matchs, phpl_journees "; |
I think now everything ok :[/code] |
|
| Revenir en haut |
|
 |
|
 Inscriptions bloquées: 107
|