Just a little snippet today! Should you run into the situation that a Drupal 7 CMS Website is broken and you can't see errors, perhaps you're not able to log into the webserver administration panel, then the following snippet for your
PHP
Damit sich andere nicht auch noch die Haare ausraufen müssen, hier zwei Hinweise zum PHP E-Mail Versand bei HostEurope Hostings: 1. Beachtet: https://hoster.wtf/hosteurope-e-mails-per-php-werden-nur-mit-korrekter-… 2
You tried to run php ./bin/console cache:clear (or similar) on a Windows Network by UNC path like //my-network-folder/my-app? Now you're in trouble as the command doesn't work? You tested that it works perfectly in our local copy and is not
Encoding is hard in many cases. Today I ran into one, where we had to save UTF-8 data (from a Drupal website) into an XML document which requires ISO-8859-1 encoding. We're using https://www.php.net/manual/de/class.domdocument.php for that
After fighting a lot with phpcs, intelephense and WSL2 in VSCode, I found vscode-phpcbf and hey, it works! :D immediately! And it shares the Standard with phpcs! https://marketplace.visualstudio.com/items?itemName=persoderlind.vscode…
Dir hat dieser Beitrag Zeit und viele Nerven gespart?
Dann würde ich mich sehr über einen leckeren Kaffee freuen! Oder ein spannendes Tech-Buch aus meiner Wunschliste?