-
Posts
4,083 -
Joined
-
Last visited
-
Days Won
87
horst last won the day on March 9 2023
horst had the most liked content!
About horst
- Birthday 11/05/1955
Contact Methods
-
Website URL
https://nogajski.de/
Profile Information
-
Gender
Male
-
Location
Aachen, Germany
-
Interests
Photography; PHP, HTML, CSS, SASS;
horst's Achievements
-
- 1 reply
-
- 2
-
-
-
@adrian - thanks! Another question arrived. And sorry if it sounds a bit stupid. π I opened a GitHub-Issue and wanted to add the label "AdminThemeUikit" to it, but could not find out how to add labels at all?!? π The last two or three years I only use Git on CLI, (together with the gh.exe), not the online GUI. Can we self add labels there, and if yes: how? Or is it left to @netcarver as issue-repo-admin? (greetings! ππ) https://github.com/processwire/processwire-issues/issues/2154
-
... I'm a bit late to it! π Used it first time now, and found some style errors on configurable module pages, when changing between "Light mode" and "Dark mode". Into which thread can / should I send this? Or have I to post it on Github? ...
-
Hey, hey! πββοΈ I remember that there is somewhere & somehow the possibility to define / change the loading priority of modules during the PW start procedure. (Something from default 0 up to +100 or down -100, if I remember right?) But where is it or how can we do this? Please help me! ππ
-
I think, you only need to change to CAI4, to get this work. I will search for the correct link here in the forum with instructions for the change from CAI3 to CAI4. EDIT: here is the link: https://processwire.com/talk/topic/23294-croppableimage-with-webp-support/ ...
-
Do you use CroppAbleImage 3 or 4 ??
-
Deprecation warnings say, that it potentially may not be ready for 8.4.2 or 8.4.3 or any other further version. But in my understanding, it is ready for PHP 8.4.0 and 8.4.1. π If the deprecation warnings bother you, you can disable showing only those messages with a call of PHPs set_error_handler(): /** OWN ERROR HANDLER FOR DEPRECATION NOTES ************************************/ function myLocalDevDeprecationErrorHandler($errno, $errstr, $errfile, $errline) { return true; // true | false = suppress further processing } // preceed the callback function name with the PW namespace, // and define the error types that should passed to the function set_error_handler('ProcessWire\myLocalDevDeprecationErrorHandler', E_DEPRECATED); /** OWN ERROR HANDLER FOR DEPRECATION NOTES ************************************/ I often use this directly in site/config-dev.php, when I want to collect them, but only show them collected at the end of pages in dev local. /** OWN ERROR HANDLER FOR DEPRECATION NOTES ************************************/ function myLocalDevDeprecationErrorHandler($errno, $errstr, $errfile, $errline) { // CHECK / CREATE COLLECTION CONTAINER if (!isset($GLOBALS['DEPRECATION_WARNINGS_BAG'])) { $GLOBALS['DEPRECATION_WARNINGS_BAG'] = []; } if (!is_array($GLOBALS['DEPRECATION_WARNINGS_BAG'])) { $GLOBALS['DEPRECATION_WARNINGS_BAG'] = []; } // DO NOT SHOW THIS KNOWN THIRD PARTY ONES : $hideThisOnes = [ //'FileCompiler', 'Duplicator', 'ProcessCustomUploadNames', ]; foreach($hideThisOnes as $item) { if (preg_match("/{$item}/", $errfile)) return true; } // ADD IT TO THE COLLECTION $GLOBALS['DEPRECATION_WARNINGS_BAG'][] = [$errfile, $errline, $errstr]; return true; // true | false = suppress further processing } // preceed the callback function name with the PW namespace, // and define the error types that should passed to the function set_error_handler('ProcessWire\myLocalDevDeprecationErrorHandler', E_DEPRECATED); /** OWN ERROR HANDLER FOR DEPRECATION NOTES ************************************/
-
horst changed their profile photo
-
-
I had to fix the detection with 'is_resource()' into a combination with 'is_object()', to validate if an image load into memory with GD was successful. And just 15 minutes after I pushed my fixes to github, I thought: lets go into PWs online module section and update it too, - but it already was auto-updated! π€©
-
Hi @Ivan Gretsky I have pushed a new branch into Github here: https://github.com/horst-n/WireMailSmtp/tree/php-namespace This is called version 0.8.0 and all PW-PHP-module-files are now added into the PHP namespace ProcessWire. So now the module only can be used with PW > 3.0.62 (after merging to master branch). All the backwards compatibility to starting PW version 2.4 is lost now. π Please, can you fetch the new version from the github dev branch and test it, if it helps with your errors and let me know? For me everything is working fine here. The normal sending, the DebugTests in Frontend and in Backend, etc. PHP 8.1 + 8.2 ...
-
Ok, I will try to find whats going wrong. And just for the record: I'm currently using it, also in PW 3.0.241 with PHP 8.2, without any errors. (?!?)
-
Hi, @Ivan Gretsky Which PW-Version? (And maybe you can find / remember the first PW version, it came up with?)
-
No! Just need a bit time for a short test. π
-
Ok! π That is something, I can test here without having WireMailRouter.
-
Hi, I don't have WireMailRouter and therefor don't know how it works together. But please can you (or @Ivan Gretsky or @wbmnfktr, who seems to have it too, like you) simply test the following OneLineChange in the WireMailSmtp-Testfunction? $mail = wireMail(); if ($mail->className != 'WireMailSmtp' && $mail->className != 'WireMailRouter) { .... It then will skip the abort. So, don't know if it then works like it should, but that's why I ask for the test. π Let me know if someone can do that, and if so, what was the result. Greetings! πββοΈ