Wie viele Dateien hat eine frische Debian 9 Strech Install?
root@Debian-93-stretch-64-LAMP ~ # find / | wc -l
find: ‘/proc/5760/task/5760/net’: Invalid argument
find: ‘/proc/5760/net’: Invalid argument
142565
Wie viele Dateien hat eine frische Debian 9 Strech Install?
root@Debian-93-stretch-64-LAMP ~ # find / | wc -l
find: ‘/proc/5760/task/5760/net’: Invalid argument
find: ‘/proc/5760/net’: Invalid argument
142565
Es gibt eine Community-Webseite, basiert auf Drupal 6, welche erste Phase von Upgrade/Migration hinter sich hat. Täglich kommen hunderte neue Kommentare dazu. Migration jedes mal neu starten geht nicht. Alle neue Kommentare manuell umziehen ist sehr zeitaufwendig. Deswegen haben wir folgendes ausprobiert, was scheinbar funktioniert:
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.
Neueste Kommentare
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:
Problem:PHP APCu caching…
Problem: