Probleme mit Nachrichten-Eweiterung beim Update auf 3.2
Hallo,
ich habe gerade 2 Probleme, die beide mit dem Update auf 3.2 und dem Nachrichtenmodul zusammenhängen. Sind Probleme mit der Nachrichtenerweiterung bekannt? Oder habe ich was falsch gemacht?
1)
ich Update von 3.1 auf 3.2 (sowohl beim Server allinkl als auch auf lokalem System - XAMPP Version: 1.8.0) lief die Seite zwar, beim Einschalten von "Fehlermeldungen anzeigen" gab es jedoch folgende Meldungen (s.u.). Ich habe einiges ausprobiert und festgestellt, dass diese Meldungen verschwinden, wenn man die Erweiterung "Nachrichten" deaktiviert. Bisher liefen alle Updates auf der Website problemlos und es gab auch nie Fehlermeldungen.
Warning: array_flip(): Can only flip STRING and INTEGER values! in D:\xampp\htdocs\strehlweb\system\modules\core\elem ents\ContentGallery.php on line 220
#0 [internal function]: __error(2, 'array_flip(): C...', 'D:\xampp\htdocs...', 220, Array)
#1 D:\xampp\htdocs\strehlweb\system\modules\core\elem ents\ContentGallery.php(220): array_flip(Array)
#2 D:\xampp\htdocs\strehlweb\system\modules\core\elem ents\ContentElement.php(159): Contao\ContentGallery->compile()
#3 D:\xampp\htdocs\strehlweb\system\modules\core\elem ents\ContentGallery.php(84): Contao\ContentElement->generate()
#4 D:\xampp\htdocs\strehlweb\system\modules\core\libr ary\Contao\Controller.php(481): Contao\ContentGallery->generate()
#5 D:\xampp\htdocs\strehlweb\system\modules\core\dca\ tl_content.php(1135): Contao\Controller->getContentElement('318')
#6 D:\xampp\htdocs\strehlweb\system\modules\core\driv ers\DC_Table.php(4134): tl_content->addCteType(Array)
#7 D:\xampp\htdocs\strehlweb\system\modules\core\driv ers\DC_Table.php(375): Contao\DC_Table->parentView()
#8 D:\xampp\htdocs\strehlweb\system\modules\core\clas ses\Backend.php(424): Contao\DC_Table->showAll()
#9 D:\xampp\htdocs\strehlweb\contao\main.php(136): Contao\Backend->getBackendModule('news')
#10 D:\xampp\htdocs\strehlweb\contao\main.php(287): Main->run()
#11 {main}
******************************************
2) Ich habe dann bei einer anderen Website, die bereits auf 3.2 lief (Nachrichtenerweiterung war deaktiviert, weil nicht benötitgt), die Nachrichten aktiviert. Daraufhin gab es folgende Fehlermeldungen im Frontend:
Fatal error: Uncaught exception Exception with message Query error: Unknown column 'j1.news' in 'field list' (SELECT tl_article.*, j1.id AS author__id, j1.tstamp AS author__tstamp, j1.username AS author__username, j1.name AS author__name, j1.email AS author__email, j1.google AS author__google, j1.language AS author__language, j1.backendTheme AS author__backendTheme, j1.uploader AS author__uploader, j1.showHelp AS author__showHelp, j1.thumbnails AS author__thumbnails, j1.useRTE AS author__useRTE, j1.useCE AS author__useCE, j1.password AS author__password, j1.pwChange AS author__pwChange, j1.admin AS author__admin, j1.groups AS author__groups, j1.inherit AS author__inherit, j1.modules AS author__modules, j1.themes AS author__themes, j1.pagemounts AS author__pagemounts, j1.alpty AS author__alpty, j1.filemounts AS author__filemounts, j1.fop AS author__fop, j1.forms AS author__forms, j1.formp AS author__formp, j1.disable AS author__disable, j1.start AS author__start, j1.stop AS author__stop, j1.session AS author__session, j1.dateAdded AS author__dateAdded, j1.lastLogin AS author__lastLogin, j1.currentLogin AS author__currentLogin, j1.loginCount AS author__loginCount, j1.locked AS author__locked, j1.calendars AS author__calendars, j1.calendarp AS author__calendarp, j1.calendarfeeds AS author__calendarfeeds, j1.calendarfeedp AS author__calendarfeedp, j1.news AS author__news, j1.newp AS author__newp, j1.newsfeeds AS author__newsfeeds, j1.newsfeedp AS author__newsfeedp FROM tl_article LEFT JOIN tl_user j1 ON tl_article.author=j1.id WHERE tl_article.pid='4' AND tl_article.inColumn='main' AND (tl_article.start='' OR tl_article.start<1386420200) AND (tl_article.stop='' OR tl_article.stop>1386420200) AND tl_article.published=1 ORDER BY tl_article.sorting) thrown in D:\xampp\htdocs\yirtlaz\system\modules\core\librar y\Contao\Database\Statement.php on line 282
#0 D:\xampp\htdocs\yirtlaz\system\modules\core\librar y\Contao\Database\Statement.php(253): Contao\Database\Statement->query()
#1 D:\xampp\htdocs\yirtlaz\system\modules\core\librar y\Contao\Model.php(902): Contao\Database\Statement->execute(Array)
#2 D:\xampp\htdocs\yirtlaz\system\modules\core\librar y\Contao\Model.php(798): Contao\Model::find(Array)
#3 D:\xampp\htdocs\yirtlaz\system\modules\core\models \ArticleModel.php(111): Contao\Model::findBy(Array, Array, Array)
#4 D:\xampp\htdocs\yirtlaz\system\modules\core\librar y\Contao\Controller.php(228): Contao\ArticleModel::findPublishedByPidAndColumn(' 4', 'main')
#5 D:\xampp\htdocs\yirtlaz\system\modules\core\pages\ PageRegular.php(138): Contao\Controller->getFrontendModule('0', 'main')
#6 D:\xampp\htdocs\yirtlaz\index.php(246): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#7 D:\xampp\htdocs\yirtlaz\index.php(414): Index->run()
#8 {main}
Bin dankbar für jede Hilfe.
Custom ist generell das Problem
Liebes Forum,
unter einer 3.3.3 habe ich eine individuelle Navigation in die Seite eingebaut. (mod_customnav). Danach trat bei mir der gleiche Fehler auf. Es scheint also, als gäbe es generell ein Problem mit Custom.
Meine navi werde ich erstmal anders lösen und auf das nächste Update hoffen.
Gruß
Hella