WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
I have recently been updating one of these sites and have updated WB to the latest version, v2.13.1. Many of the additional modules unfortunately have not been updated for some years. I have updated a couple, e.g. MPForm and Topics, to the latest versions listed but have found that it appears that they no longer function in the same way that they did. I have been in contact with the developers to try to address some difficulties. I think some of the problems might relate to the updating of WB no longer supporting all pre-existing modules.
Updating database for module: mpFormAdding new fields to the settings tableAdding new fields to the fields tableSearch function updated successfullyAdding new field(s) to the submissions tableAdding putting css files in placeModule mpForm updated to version: 1.3.42.1
"created: [Fri, 11 Nov 2022 13:05:56 +0000]Fri, 11 Nov 2022 13:06:00 +0000 [E_DEPRECATED] /modules/mpform/save_field.php:[448] from /modules/mpform/save_field.php:[448] str_replace "str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated""
Fri, 11 Nov 2022 13:10:27 +0000 [E_USER_DEPRECATED] /framework/class.wb.php:[537] from /framework/class.wb.php:[537] trigger_error "invalid method call: bin\wb::get_user_id change it to getUserId()"
mpform-1.3.42.1\evalform.php (2 hits) Line 460: if(isset($admin) AND $admin->is_authenticated() AND $admin->get_user_id() > 0) { Line 461: $submitted_by = $admin->get_user_id();
if (!class_exists('Template')){ require(WB_PATH.'/include/phplib/template.inc');}
The WBMailer has been moved into another namespace and at a different location. I have added code to take this into account, but I might have misunderstood the WB developers messages - or they have changed their plans afterwards.In addition there is a problem with the phplib template engine, which doesn't support php > 8.0 properly. I ran into these phplib problemes yesterday with php 8.1. I should give 8.0 a try, but still it's not clear to me how to call the wbmailer in WB 2.13.2. Attached is my latest approach to address this (the version that Mike has tested).@hgs, if you have mpform 1.3.40 running with WB 2.13.2 and php 8.1, I would assume that there were either some (little) changes needed, or you just didn't stumble over the problems (yet) - frontend and backend looks ok at the first glance, but e.g. changing settings didn't work for me with php8.1, and Mike has run into the problem that the wbmailer is not working
... Here running mpForm 1.3.40 with the latest WebsiteBaker 2.13.2 with php 8.1 ...
Sorry, but I must agree with mike that WB is not usable anymore. Sorry.
There was an uncatched exceptionpreg_match(): Argument #2 ($subject) must be of type string, bool givenin line (620) of (\framework\class.wb.php)
$template_function = 'template';
Wird beim Anlegen einer neuen Section die add.php nicht mehr ausgeführt?
$database->query($SQL);
echo $SQL;$database->query($SQL);
"created: [Mon, 14 Nov 2022 16:43:41 +0000]Fri, 18 Nov 2022 08:57:47 +0000 [E_DEPRECATED] /modules/mpform/save_field.php:[480] from /modules/mpform/save_field.php:[480] str_replace "str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated""
There was an uncatched exception Call to undefined function method_existes() in line (461) of (/modules/mpform/evalform.php):
"created: [Sat, 19 Nov 2022 04:58:20 +0000]Sat, 19 Nov 2022 05:01:01 +0000 [E_WARNING] /modules/mpform/modify_field.php:[420] from /modules/mpform/modify_field.php:[420] bin\Exceptions\ErrorHandler::handler "Undefined array key "separator""
Auszug aus der Changelog.txt *** 1.3.43 (Martin Hecht: 19-Nov-2022) support wb 2.13.2 - WB has renamed get_user_id (fixed typo here) set use_captcha as int instead of bool - consistence with sql structure fix warning when separator is empty, include fix for array index