- # 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
Same with Drush 13 + PHP 8.3 and my Solution
Same with Drush 13 + PHP 8.3
Error : Failed to install the required package 'RPM' by using AP
Initializing...
Error : Failed to install the required package 'RPM' by using APT. Please install it manually.
Exit
Solution:
Installieren & Aktivieren
So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert:
I have a view with a path…
I have a view with a path like
/my-content-export
to export entivies as JSON or CSV.admin_toolbar 3.5.2 is the…
admin_toolbar 3.5.2 is the reason. Patch coming ...
Tools & Settings >> Security…
Tools & Settings >> Security Policy :
Allow only secure FTPS connections
List config vaiables
/usr/sbin/mariadbd --help --verbose | grep "query.*size"
Restart MariaDB / MySQL
Commandline:
MariaDB Restart (after changes in /etc/mysql/db-performance.cnf)
After my changes in /etc/mysql/db-performance.cnf
Error: configure: error: no acceptable C compiler found in $PATH
Error: