Direkt zum Inhalt
Startseite

Main navigation

  • Startseite
  • Neue Frage stellen!
User account menu
  • Anmelden

Pfadnavigation

  1. Startseite

Drupal

By Gast (nicht überprüft), 12 September, 2023

4 Wege um Drupal Cache zu löschen / leeren?

Das Leeren des Caches in Drupal kann auf verschiedene Weisen durchgeführt werden. 

By Gast (nicht überprüft), 1 Juli, 2023

Drupal 10 Upgrade Error : Your requirements could not be resolved to an installable set of packages. (Composer)

Drupal Upgrade Error:

By Gast (nicht überprüft), 9 Juni, 2023

Reset Drupal User/Admin Password via Drush

Reset Drupal User Password via Drush + Commandline

drush user:password admin "mypassword123"

drush upwd admin "mypassword123"

 

By Gast (nicht überprüft), 8 Juni, 2023

Unable to create temporary directory for Upgrade Status at .../tmp/upgrade_status Scanning is not possible until this is resolved.

Problem

Unable to create temporary directory for Upgrade Status at /var/www/vhosts/example.com/tmp/upgrade_status Scanning is not possible until this is resolved.

Create directory & chmod +w

 mkdir /var/www/vhosts/example.com/tmp/upgrade_status
 chmod +w /var/www/vhosts/example.com/tmp/upgrade_status

 

By Gast (nicht überprüft), 12 Dezember, 2022

Drupal : Link mit HTML Markup

use Markup in Drupal

use Drupal\Core\Render\Markup;

PHP Code

$html_code = " <p> &#x2715; </p> ";
$link_with_html = Link::createFromRoute( Markup::create( $html_code ), 'my_module')->toString();

 

By Gast (nicht überprüft), 22 November, 2022

Drush : "one time login link" erstellen

Um eine einmalige Login Link zu erstellen (ohne Password-Reset Zwang) : 

 drush uli --name=MyUsername

 

By Gast (nicht überprüft), 14 November, 2022

Drupal + Basic_Auth Problem : You do not have permission to access this page (Sie haben keine Zugriffsberechtigung für diese Seite. )

Man hat ein Hosting +  Basic_Auth aktiviert.

Nachdem Authentifizierung (Basic_Auth) zeigt Drupal eine Meldung statt Inhalt "Sie haben keine Zugriffsberechtigung für diese Seite. " (English: You do not have permission to access this page).

 

Die Lösung ist oft eine Deaktivierung von Basic_Auth Modul von Drupal:

drush pmu basic_auth -y

 

By Gast (nicht überprüft), 20 Oktober, 2022

The 'core_version_requirement' constraint (^9.4 || ^10) requires the 'core' key not be set in ...info.yml

Problem (während # drush cr)

In InfoParserDynamic.php line 88:
                                                                                                                                                           
  The 'core_version_requirement' constraint (^9.4 || ^10) requires the 'core' key not be set in themes/contrib/bootstrap_barrio/bootstrap_barrio.info.yml  

Lösung :

Die Zeile mit "core: 8.x" aus der Datei "bootstrap_barrio.info.yml" entfernen. Danach sollte der Anfang so aussehen:

 

By Gast (nicht überprüft), 3 Oktober, 2022

Drupa Update Error : "In Filesystem.php line 284: Could not delete sites/default/default.services.yml" (Composer)

Composer Error:

In Filesystem.php line 284:  

Could not delete /var/www/.../sites/default/default.services.yml

 

Was ist die Lösung ?

By Gast (nicht überprüft), 10 August, 2022

Drupal Message + HTML

HTML Benachrichtigung durch Drupal Messenger:

\Drupal::messenger()->addStatus( [ '#markup' => '<div><b>BoldText</b> and other HTML </div> ' ] );

 

Seitennummerierung

  • 1
  • Nächste Seite
Drupal

Neueste Kommentare

  • Fragen zu Drupal 10 Cache

    3 Tage 13 Stunden ago
    4 Wege um Drupal Cache zu löschen / leeren?
    Read more
  • Solution:
    sudo chmod 777 -R…

    1 Woche 5 Tage ago
    User warning: mkdir(): Permission Denied in FileStorage->createDirectory() (Line 123 in web/core/lib/Drupal/Component/PhpStorage/FileStorage.php).
    Read more
  • Alternativ mit SFTP : 
    sftp…

    1 Woche 5 Tage ago
    Server-to-Server Transfer - Download vie SCP / SSH / SFTP
    Read more
  • Plesk

    4 Wochen 1 Tag ago
    PHPStan failed - PHP Fatal error: Trait "Symfony\Bridge\PhpUnit\Legacy\PolyfillAssertTrait" not found in
    Read more
  • Das hilft: symfony/phpunit-bridge + chmod 777

    4 Wochen 2 Tage ago
    PHPStan failed - PHP Fatal error: Trait "Symfony\Bridge\PhpUnit\Legacy\PolyfillAssertTrait" not found in
    Read more
  • Solution ( ~/bash_profile ):…

    1 Monat ago
    Drush Error / PHP Warning: Phar::mapPhar(): open_basedir restriction in effect.
    Read more
  •  
     
    Backup Web & DB:
    drush…

    4 Wochen 1 Tag ago
    Drush 10 - sql:dump & compress backup to .gz file
    Read more
  • Das funktioniert:
    /usr/local…

    3 Monate ago
    phpenv: composer: command not found
    Read more
  • Die Lösung ist:

    # export…

    8 Monate ago
    Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
    Read more
  • IT ist Grundlage der EDV

    7 Monate ago
    Gibts Unterschied zwischen EDV und IT?
    Read more

Tools

  • Cookie settings
  • Inhalt hinzufügen
  • Neuester Inhalt

Fußbereich

  • Allgemeine Geschäftsbedingungen - Datenschutz - Impressum