Contao-Camp 2024
Ergebnis 1 bis 3 von 3

Thema: Fehler News Details & changelanguage

  1. #1
    Contao-Nutzer Avatar von pgrob
    Registriert seit
    10.07.2009.
    Ort
    Schweiz
    Beiträge
    205
    Partner-ID
    10267

    Standard Fehler News Details & changelanguage

    Hallo Miteinander

    Habe heute bei einer neuen Installation 3.5.24 zusätzlich changelanguage installiert, soweit so gut. Seit der Installation komme ich nun nicht mehr auf die Detailseite der News.

    Folgende Fehlermeldung wird mir angezeigt.

    Code:
    Fatal error: Uncaught exception Exception with message Query error: Unknown column 'master' in 'where clause' (SELECT tl_news.*, j1.id AS pid__id, j1.tstamp AS pid__tstamp, j1.title AS pid__title, j1.jumpTo AS pid__jumpTo, j1.protected AS pid__protected, j1.groups AS pid__groups, j1.allowComments AS pid__allowComments, j1.notify AS pid__notify, j1.sortOrder AS pid__sortOrder, j1.perPage AS pid__perPage, j1.moderate AS pid__moderate, j1.bbcode AS pid__bbcode, j1.requireLogin AS pid__requireLogin, j1.disableCaptcha AS pid__disableCaptcha, j2.id AS author__id, j2.tstamp AS author__tstamp, j2.username AS author__username, j2.name AS author__name, j2.email AS author__email, j2.language AS author__language, j2.backendTheme AS author__backendTheme, j2.uploader AS author__uploader, j2.showHelp AS author__showHelp, j2.thumbnails AS author__thumbnails, j2.useRTE AS author__useRTE, j2.useCE AS author__useCE, j2.password AS author__password, j2.pwChange AS author__pwChange, j2.admin AS author__admin, j2.groups AS author__groups, j2.inherit AS author__inherit, j2.modules AS author__modules, j2.themes AS author__themes, j2.pagemounts AS author__pagemounts, j2.alpty AS author__alpty, j2.filemounts AS author__filemounts, j2.fop AS author__fop, j2.forms AS author__forms, j2.formp AS author__formp, j2.disable AS author__disable, j2.start AS author__start, j2.stop AS author__stop, j2.session AS author__session, j2.dateAdded AS author__dateAdded, j2.lastLogin AS author__lastLogin, j2.currentLogin AS author__currentLogin, j2.loginCount AS author__loginCount, j2.locked AS author__locked, j2.calendars AS author__calendars, j2.calendarp AS author__calendarp, j2.calendarfeeds AS author__calendarfeeds, j2.calendarfeedp AS author__calendarfeedp, j2.dlh_googlemapss AS author__dlh_googlemapss, j2.dlh_googlemapsp AS author__dlh_googlemapsp, j2.faqs AS author__faqs, j2.faqp AS author__faqp, j2.news AS author__news, j2.newp AS author__newp, j2.newsfeeds AS author__newsfeeds, j2.newsfeedp AS author__newsfeedp, j2.newsletters AS author__newsletters, j2.newsletterp AS author__newsletterp, j2.iso_modules AS author__iso_modules, j2.iso_product_types AS author__iso_product_types, j2.iso_product_typep AS author__iso_product_typep, j2.iso_payment_modules AS author__iso_payment_modules, j2.iso_payment_modulep AS author__iso_payment_modulep, j2.iso_shipping_modules AS author__iso_shipping_modules, j2.iso_shipping_modulep AS author__iso_shipping_modulep, j2.iso_tax_classes AS author__iso_tax_classes, j2.iso_tax_classp AS author__iso_tax_classp, j2.iso_tax_rates AS author__iso_tax_rates, j2.iso_tax_ratep AS author__iso_tax_ratep, j2.iso_configs AS author__iso_configs, j2.iso_configp AS author__iso_configp, j2.iso_groups AS author__iso_groups, j2.iso_groupp AS author__iso_groupp, j2.iso_reports AS author__iso_reports FROM tl_news LEFT JOIN tl_news_archive j1 ON tl_news.pid=j1.id LEFT JOIN tl_user j2 ON tl_news.author=j2.id WHERE (tl_news.id=61 OR tl_news.languageMain=61) AND tl_news.pid=(SELECT id FROM tl_news_archive WHERE (id=2 OR master=2) AND jumpTo='268') AND tl_news.published='1' AND (tl_news.start='' OR tl_news.start<='1487333280') AND (tl_news.stop='' OR tl_news.stop>'1487333340') LIMIT 0,1) thrown in system/modules/core/library/Contao/Database/Statement.php on line 295
    #0 system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
    #1 system/modules/core/library/Contao/Model.php(1089): Contao\Database\Statement->execute(Array)
    #2 system/modules/core/library/Contao/Model.php(930): Contao\Model::find(Array)
    #3 system/modules/changelanguage/library/Terminal42/ChangeLanguage/EventListener/Navigation/NewsNavigationListener.php(65): Contao\Model::findOneBy(Array, Array, Array)
    #4 system/modules/changelanguage/library/Terminal42/ChangeLanguage/EventListener/Navigation/AbstractNavigationListener.php(66): Terminal42\ChangeLanguage\EventListener\Navigation\NewsNavigationListener->findPublishedBy(Array, Array)
    #5 system/modules/changelanguage/library/Terminal42/ChangeLanguage/FrontendModule/ChangeLanguageModule.php(213): Terminal42\ChangeLanguage\EventListener\Navigation\AbstractNavigationListener->onChangelanguageNavigation(Object(Terminal42\ChangeLanguage\Event\ChangelanguageNavigationEvent))
    #6 system/modules/changelanguage/library/Terminal42/ChangeLanguage/FrontendModule/ChangeLanguageModule.php(86): Terminal42\ChangeLanguage\FrontendModule\ChangeLanguageModule->executeHook(Object(Terminal42\ChangeLanguage\Navigation\NavigationItem), Object(Terminal42\ChangeLanguage\Navigation\UrlParameterBag))
    #7 system/modules/core/modules/Module.php(287): Terminal42\ChangeLanguage\FrontendModule\ChangeLanguageModule->compile()
    #8 system/modules/haste/library/Haste/Frontend/AbstractFrontendModule.php(52): Contao\Module->generate()
    #9 system/modules/changelanguage/library/Terminal42/ChangeLanguage/FrontendModule/ChangeLanguageModule.php(51): Haste\Frontend\AbstractFrontendModule->generate()
    #10 system/modules/core/library/Contao/Controller.php(321): Terminal42\ChangeLanguage\FrontendModule\ChangeLanguageModule->generate()
    #11 system/modules/core/library/Contao/InsertTags.php(447): Contao\Controller::getFrontendModule('172')
    #12 system/modules/core/library/Contao/Controller.php(692): Contao\InsertTags->replace('...', false)
    #13 system/modules/core/classes/FrontendTemplate.php(100): Contao\Controller::replaceInsertTags('...', false)
    #14 system/modules/core/pages/PageRegular.php(190): Contao\FrontendTemplate->output(true)
    #15 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
    #16 index.php(20): Contao\FrontendIndex->run()
    #17 {main}

    Datenbank ist aktuell, contaocheck meldet keine Fehler. Wenn ich changelanguage deaktiviere funktioniert alles wie gewünscht

    Kennt jemand dieses verhalten/fehler?
    Geändert von pgrob (17.02.2017 um 13:18 Uhr)

  2. #2
    Contao-Urgestein Avatar von Toflar
    Registriert seit
    15.06.2009.
    Beiträge
    4.466
    Partner-ID
    8667
    User beschenken
    Wunschliste
    Contao Core-Entwickler @terminal42 gmbh
    Wir sind Contao Premium-Partner!
    Für Individuallösungen kannst du uns gerne kontaktieren.
    PS: Heute schon getrakked?

  3. #3
    Contao-Nutzer Avatar von pgrob
    Registriert seit
    10.07.2009.
    Ort
    Schweiz
    Beiträge
    205
    Partner-ID
    10267

    Standard

    Danke für die Info.

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •