Ergebnis 1 bis 2 von 2

Thema: CONTAO 4.13 + netzmacht_font_awesome_insert_tag: Config Error

  1. #1
    Contao-Fan
    Registriert seit
    11.11.2011.
    Ort
    Schwerin
    Beiträge
    622

    Standard CONTAO 4.13 + netzmacht_font_awesome_insert_tag: Config Error

    Hallo,


    die Erweiterung netzmacht_font_awesome_insert_tag ist im Einsatz (Kopfzeile):
    https://www.dc-zuarin.de

    Code:
    <ul>
    <li><a href="mailto:{{email_url::info@dc-zuarin.de|urlattr}}" title="Kontakt per E-Mail zum Drachenbootclub Zuarin e.V. in Schwerin">{{far::envelope}}</a></li>
    <li><a rel="noopener" href="https://de-de.facebook.com/Drachenbootclub-Zuarin-eV-676509249051932/" target="_blank" title="Drachenbootclub Zuarin e.V. auf Facebook">{{fab::facebook-f}}</a></li>
    <li><a rel="noopener" href="https://www.instagram.com/dc_zuarin/?hl=de" target="_blank" title="Drachenbootclub Zuarin e.V. in Schwerin präsentiert sich auf Instagram">{{fab::instagram}}</a></li>
    </ul>



    Um das Template zu ändern, soll ein Eintrag in don config.yml Datei eingetragen werden:

    Code:
    config:
      netzmacht_font_awesome_insert_tag:
        icon_template: '<em class="%%s" aria-hidden="true"></em>'
        stack_template: '<span class="fa-stack%%s">%%s%%s</span>'
        default_style: 'fa'

    Doch nach bei der Cache- Erneuerung im CONTAO- Manager kommt es zu einer Fehlermeldung:


    Code:
    $ /opt/plesk/php/8.1/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /var/www/vhosts/dc-zuarin.de/httpdocs/website/vendor/contao/manager-bundle/bin/contao-console cache:clear --env=prod --no-warmup
    In YamlFileLoader.php line 799:
                                                                                   
      There is no extension able to load the configuration for "config" (in "/var  
      /www/vhosts/dc-zuarin.de/httpdocs/website/config/config.yml"). Looked for n  
      amespace "config", found ""doctrine", "framework", "monolog", "fos_http_cac  
      he", "nelmio_cors", "nelmio_security", "scheb_two_factor", "twig_extra", "k  
      np_menu", "knp_time", "cmf_routing", "twig", "security", "contao", "flysyst  
      em", "contao_manager", "contao_cookiebar", "multicolumnwizard-bundle", "bug  
      _buster_client_hints_request", "contao_faq", "codefog_haste", "netzmacht_fo  
      nt_awesome_insert_tag", "contao_mobile_page_layout", "terminal42_url_rewrit  
      e", "contao_installation", "contao_news", "con4gis_core", "contao_calendar"  
      , "contao_newsletter", "softleister_backup_db", "con4gis_projects", "con4gi  
      s_groups", "con4gis_reservation", "rock_solid_slider"".                      
                                                                                   
    # Process terminated with exit code 1
    # Result: General error

    Was habe ich übersehen?



    Vielen Dank für Hinweise.

  2. #2
    Contao-Fan
    Registriert seit
    11.11.2011.
    Ort
    Schwerin
    Beiträge
    622

    Standard LÖSUNG

    Die Erweiterung wurde entfernt und die Insert Tags wurden ersetzt:

    Code:
    <em class="fa fa-envelope fa-fw"> </em>
    Font Awesome wurde per Link eingebunden:

    Code:
    <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" />

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
  •