- # drush dl drupal-8 --select
- Inhalt von heruntergeladenen Ordner in aktuellen Ordner verschieben.
- # drush si standard --db-url=mysql://dbuser:dbpassword@localhost/dbname
drush site-install
erzeugt:
[ERROR] Command "site:install", is not a valid command name.
Wie kann den Fehler beheben?
use Symfony\Component\HttpFoundation\RedirectResponse;
function myredirect($path) {
<?php
class myController extends ControllerBase {
public function main(){
use Drupal\Core\Controller\ControllerBase;
use Symfony\Component\HttpFoundation\RedirectResponse;
return $this->redirect('my.route.name'); // method 1
Ganz Oben in Controller:
use Drupal\Core\Link;
use Drupal\Core\Url;
In Funktion:
$url = Url::fromUserInput('/path/to/content');
$link = Link::fromTextAndUrl(t('Link Title'), $url)->toString();
Drupal erlaubt <iframe> usw für Default nicht. Eine Lösung:
return [
'#type' => 'inline_template',
'#template' => '{{ meininhalt }}',
'#context' => [ 'meininhalt ' => $inhaltMitHTMLCode ]
];
Mit der folgenden Befehle habe ich ein Git-Repository zum ersten Mal erstellt und aktualisiert.
- git --help
- git init
- git status
- git add .
- git commit -m "Eine Beschreibung der Änderungen"
- git remote add origin https://meinerBenutzerName@bitbucket.org/meinProjekt/MeinRepository.git
- git push -u origin master
- git remote
- git status
- git config credential.helper store
So gehe ich vor:
- Drupal 8 Neuinstallation
- D8 Modulen Migrate_Tools und Migrate_Plus installieren
- mywebsite/upgrade
Nach der Installation scheint es zum Teil zu funktionieren. Manche Inhaltstypen und deren Inhalt ist migriert worden. Aber es gibt auch viele Probleme, vor Allem mit Input-Filters und User Profiles. Wie kann man sie beheben?
Hallo,
meine Lesezeichen in Firefox sind leider verschwunden. Ich sehe noch die neusten der letzten ca.2-3 Monate, den Rest nicht mehr. Kann mir jemand weiterhelfen? Besten Dank im Voraus!
Wenn dieser Fehler auftaucht:
WARNING: failed to open pid_file '/var/run/sphinxsearch/searchd.pid
Lösung:
ssh# service sphinxsearch start
Neueste Kommentare
Short Code w. Radio Buttons, Checkbox, Textarea, Email, Phone
$("input[type='radio']").each(function () {Wildcard
Let’s Encrypt will only accept a wildcard via DNS challenge.
If your Plesk instance can’t create the _acme-challenge.example.com TXT (external DNS), the extension can’t complete validation and will show no success.
Same problem
Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup()set-timezone Europe/Berlin
sudo timedatectl set-timezone Europe/BerlinTry this:1. Go to Tools &…
Try this:
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem: