Wenn ich den ADMIN-Bereich aufrufe, dann erscheint die folgende Fehlermeldung im error log:
Code
- 07 08:58:21 --------------------------------
- 07 08:58:21 01: SELECT s.id,s.date,s.heim,s.gast FROM emtipp_spiele as s WHERE ORDER BY date ASC
- 07 08:58:21 error #1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY date ASC' at line 1
- 07 08:58:21 --------------------------------
- 07 08:58:21 > GLOBAL @.../index.php #1214
- 07 08:58:21 >> createSiteContent() @.../include/inc.content.php #167
- 07 08:58:21 >> include() @.../content/admin.spiele.php #243
- 07 08:58:21 --------------------------------
Diese Art Fehlermeldung kommt nur, weil ich die Klasse mysqli erweitert habe. Offensichtlich ist die WHERE-Anweisung leer. Der untere Teil zeigt die Aufrufliste.
Da das Ergebnis nicht überprüft wird, kommt es zu einem FATAL-ERROR:
Code
- 07 08:58:21 PHP Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean in .../content/admin.spiele.php:245\nStack trace:\n#0 .../include/inc.content.php(167): include()\n#1 .../index.php(1214): createSiteContent()\n#2 {main}\n thrown in .../content/admin.spiele.php on line 245
Gottseidank ist es nicht so schlimm, da man trotzdem das Admin-Interface erreicht. Muss wohl etwas eingebettetes sein.