Symfony
Problem:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "audit" is not defined.
404 - Not Found
throw new \Symfony\Component\HttpKernel\Exception\NotFoundHttpException();
403 - Access Denied
throw new \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException();
Problem:
Solarium 5.0.2 is too old and has known issues. In order to get composer to upgrade solarium to a recent version a core patch or a workaround is required. Have a look at this Core issue and this Search API Solr issue.
Lösung:
composer require symfony/event-dispatcher:"4.3.4 as 3.4.99" && composer update
<?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
$ sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony
Symfony Framework wird immer wichtiger. Als PHP-Coder suche ich nach eine schnelle und einfache Möglichkeit einzusteigen. Auf Tipps würde mich sehr freuen.
Neueste Kommentare
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:
PHP 8.3, APCu via PECL
PHP 8.3 extra packages (+ pecl, apcu)
apt update apt install plesk-php83-dev zlib1g-dev
https : Secure Connection Failed
I get this error, when I visit https://solr.example.com:8983 :
Remove files and show the number of deleted files
Remove all files starting with 2024 in mydir123 and show the number of deleted files:
find mydir123 -name '2024*' -exec rm -vf {} \; | wc -l
find . -name '*' | xargs rm …
find . -name '*' | xargs rm -v
Maybe Patch
https://www.drupal.org/project/tablefield/issues/3397688
/etc/my.cnf
Edit "/etc/my.cnf" ( under [mysqld] ):
transaction_isolation="READ-COMMITTED"
Restart MariaDB / MySQL: