Hallo Football,
der erste Spieltag von diesem WE ist ja schon rum und ich hatte heute vormittag schon mal das Freitagsergebniss eintragen wollen. Kam prompt ein SQL Fehler (Meldung hab ich nimmer) und ich musste folgendes in der functions.php austauschen:
Code: Alles auswählen
// Matchday has open matches so set matchday status = 0 and first delivery
$sql_ary = array(
'status' => 0,
'delivery' => first_delivery($season, $league, $close['matchday']),
);
$sql = 'UPDATE ' . FOOTB_MATCHDAYS . '
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . "
WHERE season = $season AND league = $league AND matchday = $matchday";
$db->sql_query($sql);
gegen:
Code: Alles auswählen
// Matchday has open matches so set matchday status = 0 and first delivery
$sql_ary = array(
'status' => 0,
'delivery_date' => first_delivery($season, $league, $close['matchday']),
);
$sql = 'UPDATE ' . FOOTB_MATCHDAYS . '
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . "
WHERE season = $season AND league = $league AND matchday = $matchday";
$db->sql_query($sql);
Also im Array
delivery gegen
delivery_date (ersteres gibbet nicht in der Tabelle).
Dann wieder ähnlicher Fehler in der Rangliste Spieltag und Gesamtrangliste (wie schon mal, aber jetzt mit
index statt mit
prevrankof):
Rangliste Spieltag:
Code: Alles auswählen
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 160: Undefined index: 133
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 168: Undefined index: 133
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 172: Undefined index: 133
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 160: Undefined index: 313
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 168: Undefined index: 313
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 172: Undefined index: 313
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 160: Undefined index: 276
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 168: Undefined index: 276
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 172: Undefined index: 276
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 160: Undefined index: 10
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 168: Undefined index: 10
[phpBB Debug] PHP Notice: in file /football/block/ranks_matchday.php on line 172: Undefined index: 10
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4949: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3562)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4951: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3562)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4952: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3562)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4953: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3562)
und bei der
Gesamtrangliste:
Code: Alles auswählen
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 149: Undefined index: 10
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 157: Undefined index: 10
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 161: Undefined index: 10
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 149: Undefined index: 133
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 157: Undefined index: 133
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 161: Undefined index: 133
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 149: Undefined index: 276
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 157: Undefined index: 276
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 161: Undefined index: 276
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 149: Undefined index: 313
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 157: Undefined index: 313
[phpBB Debug] PHP Notice: in file /football/block/ranks_total.php on line 161: Undefined index: 313
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4949: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3562)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4951: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3562)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4952: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3562)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4953: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3562)
Im ACP beim Bestätigen des Freitagsergebniss gab's auch einen Fehler, aber da hab ich die Fehlermeldung leider nimmer.