Hallo zusammen,
wenn ich unter C3 (lokale XAMPP-Installation) versuche eine Mitgliederliste per Klick auf den Spaltenkopf zu sortieren, bekomme ich folgende Exception:
Fatal error: Uncaught exception Exception with message Query error: Unknown column 'lastname' in 'order clause' (SELECT id,name,date,comment FROM tl_comments WHERE published=1 ORDER BY lastname desc LIMIT 0,2) thrown in E:\Develop\...\contao\system\modules\core\library\ Contao\Database\Statement.php on line 317
#0 E:\Develop\...\contao\system\modules\core\library\ Contao\Database\Statement.php(261): Contao\Database\Statement->query()
#1 E:\Develop\...\contao\system\modules\listing\modul es\ModuleListing.php(207): Contao\Database\Statement->execute('')
#2 E:\Develop\...\contao\system\modules\core\modules\ Module.php(148): Contao\ModuleListing->compile()
#3 E:\Develop\...\contao\system\modules\listing\modul es\ModuleListing.php(84): Contao\Module->generate()
#4 E:\Develop\...\contao\system\modules\core\library\ Contao\Controller.php(284): Contao\ModuleListing->generate()
#5 E:\Develop\...\contao\system\modules\core\pages\Pa geRegular.php(109): Contao\Controller->getFrontendModule(Object(Contao\ModuleModel), 'left')
#6 E:\Develop\...\contao\index.php(250): Contao\PageRegular->generate(Object(Contao\PageModel))
#7 E:\Develop\...\contao\index.php(411): Index->run()
#8 {main}
Das passiert nicht nur bei lastname, sondern bei allen Feldern und auch mit allen Memberlisten, allerdings habe ich es erst bemerkt, nachdem ich xtmembers installiert hatte. Ich kann also nicht sagen, ob es ohne die Erweiterung nicht auch auftritt...
Jedenfalls wundert mich die Abfrage auf "tl_comments", das kann doch sowieso nicht stimmen!?
Lesezeichen