Befehl:
tar -zxvf archive.tar.gz /folder/in/archive
Befehl:
tar -zxvf archive.tar.gz /folder/in/archive
ich versuche Drupal 8.2.6 auf Drupal 8.3.1 zu aktualisieren und bekomme diese Fehlermeldung:
Fatal error: Class 'Drupal\workflows\Entity\Workflow' not found
Was mache ich falsch?
Alle Datanbanken und deren große auf der Festplatte möchte ich mit dieser Code auflisten lassen:
SELECT table_schema AS "Datenbank", SUM(data_length + index_length) / 1024 / 1024 AS "Size (in MB)"
Wenn ich prepare und execute mit $ _POST als Array verwende bekomme eine Fehlermeldung. Meine PHP-Code:
<?php
include("db.php");
Für eine Drupel 8 Website brauche ich eine DropDown Menu. Welche würdet Ihr empfehlen?
Oder was anderes?
Welche ist besser für Anwendungen mit PHP und MySQL? Ich bin Anfänger und verstehe nur, dass alte mysql_* nicht mehr gültig ist und viele Sicherheitslücken hat. Ich habe ein paar Artikel und Forumkommentare gelesen. Aber konnte bisher keine konkrete Antwort finden.
Welche ist besser für Anfänger? Ich möchte als Freelancer Programmierer arbeiten und werde vermutlich nur kleine Aufträge bekommen.
Mit beiden PHP-Frameworks kenne ich mich gar nicht aus. Manche empfehlen ZEND, andere Symfony. Es sind aber zu viele technische Details dabei. Deswegen kann man nicht nachvollziehen, welche man doch nehmen soll.
Der Script:
<?php
extract( $_GET);
if( $go2 ) { goto $go2; }a:
echo " aaa ";
b:
echo " bbb ";
f:
echo " fff ";
Ich bekomme so eine Fehlermeldung:
Parse error: syntax error, unexpected '$go2' (T_VARIABLE), expecting identifier (T_STRING) in goto.php on line 4
Diese Query ist falsch und erzeugt nur eine Fehlermeldung:
SELECT group_concat(country separator ' ') as all_countries FROM `countries` where all_countries like '%zealand%'
MySQL meldet: #1054 - Unknown column 'all_countries' in 'where clause'
Diese Query kann in Group_Concat Feld (all_countries) suchen
SELECT group_concat(country separator ' ') as all_countries FROM `countries` having all_countries like '%zealand%'
Wie kann ich Windows 10 Home PC mit Windows 7 PC Verbindung eine Ordner unter Windows 10 freigeben?
Neueste Kommentare
Create Sub-Directories with WGET
wget -U 'Mozilla/MyUserAgent' -P MyTempDir123 --wait=0.2 --random-wait -nd -r -x -l 4 -e robots=off --reject
Ignore Binaries, JS, CSS etc
wget -U 'Mozilla/MyUserAgent2024' -P MyOutPutDirectory --wait=1 --random-wait -nd -r -l 2 -e robots=off --reject
Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
# sysbench --threads="$(nproc)" cpu run
AMD Ryzen 7 PRO 3700 8-Core Processor
# sysbench --threads="$(nproc)" cpu run
Reload .bashrc without logging out
Diese Lösung wird empfohlen aber hat bei mir nicht funktioniert.
Welche Alternative gibt es?
Composer + PHP 8.3
ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/php
composer.json
In composer.json, update:
Empty Flood Table
drush sqlq "DELETE FROM flood"
Gmail Apps (SMTP Login):…
Gmail Apps (SMTP Login):
https://security.google.com/settings/security/apppasswords
Problem (symfony_mailer)
Type symfony_mailer
Date Mo, 28. 08 2024 - 10:14
User admin