Fehler: Fehler bei XML

Karlheinz's Avatar

Karlheinz

19 Aug, 2024 08:52 AM

Produkt: Tao Contao

bei der Systemwartung XML-Dateien neu schreiben bekomme ich den Fehler:
Could not find template "rsce_tao_separator"

  1. Support Staff 1 Posted by RockSolid Theme... on 19 Aug, 2024 10:11 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Bitte prüfen Sie ob die Datei templates/tao/rsce_tao_separator.html5 auf Ihrem Webspace existiert.

  2. 2 Posted by Karlheinz Knapp on 19 Aug, 2024 03:54 PM

    Karlheinz Knapp's Avatar

    Ja die Datei ist vorhanden

  3. Support Staff 3 Posted by RockSolid Theme... on 21 Aug, 2024 07:36 AM

    RockSolid Themes's Avatar

    Welche Contao-Version und welche Version der Custom-Elements-Erweiterung ist im Einsatz?

    Aktivieren Sie bitte den Debug-Modus und versuchen danach erneut die XML-Dateien neu zu schreiben. Dadurch sollte eine detaillierte Fehlermeldung inklusive Stack-Trace angezeigt werden von dem wir einen Screenshot benötigen um den Fehler genauer untersuchen zu können.

  4. 4 Posted by ednt on 21 Aug, 2024 08:21 AM

    ednt's Avatar

    Contao 4.13.46
    ---------------------------------------------------------------------------
    root@ispconfig:/var/www/dom.de/web/templates/tao# ls -al rsce_tao_se*
    -rw-r--r-- 1 web22 client5 982 8. Mär 2016 rsce_tao_separator_config.php
    -rw-r--r-- 1 web22 client5 925 8. Mär 2016 rsce_tao_separator.html
    ---------------------------------------------------------------------------
    CRITICAL
    10:13:22
    request Uncaught PHP Exception Exception: "Could not find template "rsce_tao_separator"" at /var/www/clients/client5/web22/web/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php line 156
    {
        "exception": {}
    }
    ---------------------------------------------------------------------------

    Exception:
    Could not find template "rsce_tao_separator"

      at vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:156
      at Contao\TemplateLoader::getDefaultPath()
         (vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:112)
      at Contao\TemplateLoader::getPath()
         (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:99)
      at Contao\Controller::getTemplate()
         (vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateInheritance.php:351)
      at Contao\Template->getTemplatePath()
         (vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateInheritance.php:95)
      at Contao\Template->inherit()
         (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Template.php:324)
      at Contao\Template->parse()
         (vendor/contao/core-bundle/src/Resources/contao/classes/FrontendTemplate.php:43)
      at Contao\FrontendTemplate->parse()
         (vendor/contao/core-bundle/src/Resources/contao/elements/ContentElement.php:276)
      at Contao\ContentElement->generate()
         (vendor/madeyourday/contao-rocksolid-custom-elements/src/Element/CustomElement.php:51)
      at MadeYourDay\RockSolidCustomElements\Element\CustomElement->generate()
         (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:623)
      at Contao\Controller::getContentElement()
         (vendor/codefog/contao-news_categories/src/FeedGenerator.php:166)
      at Codefog\NewsCategoriesBundle\FeedGenerator->generateFiles()
         (vendor/contao/news-bundle/src/Resources/contao/classes/News.php:82)
      at Contao\News->generateFeeds()
         (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Automator.php:362)
      at Contao\Automator->generateXmlFiles()
         (vendor/contao/core-bundle/src/Resources/contao/classes/PurgeData.php:56)
      at Contao\PurgeData->run()
         (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleMaintenance.php:47)
      at Contao\ModuleMaintenance->compile()
         (vendor/contao/core-bundle/src/Resources/contao/classes/BackendModule.php:80)
      at Contao\BackendModule->generate()
         (vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php:439)
      at Contao\Backend->getBackendModule()
         (vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:168)
      at Contao\BackendMain->run()
         (vendor/contao/core-bundle/src/Controller/BackendController.php:49)
      at Contao\CoreBundle\Controller\BackendController->mainAction()
         (vendor/symfony/http-kernel/HttpKernel.php:163)
      at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
         (vendor/symfony/http-kernel/HttpKernel.php:75)
      at Symfony\Component\HttpKernel\HttpKernel->handle()
         (vendor/symfony/http-kernel/Kernel.php:202)
      at Symfony\Component\HttpKernel\Kernel->handle()
         (web/index.php:44)
      at require('/var/www/clients/client5/web22/web/web/index.php')
         (web/app.php:13)
    ---------------------------------------------------------------------------

  5. Support Staff 5 Posted by RockSolid Theme... on 22 Aug, 2024 07:16 AM

    RockSolid Themes's Avatar

    Der Fehler wird anscheinend durch die Erweiterung codefog/contao-news_categories ausgelöst in vendor/codefog/contao-news_categories/src/FeedGenerator.php. Können Sie testen ob der Fehler auch ohne diese Erweiterung auftritt?

  6. 6 Posted by ednt on 22 Aug, 2024 08:34 AM

    ednt's Avatar

    Das ist der Fehler, Vielen Dank

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac