WebsiteBaker Support (2.13.x) > General Help & Support

Problems with mpForm 1.3.4x

<< < (2/5) > >>

crnogorac081:
Martin, use twig its much better for templates


--- Quote from: Martin Hecht on November 11, 2022, 01:39:54 PM ---
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

--- End quote ---

Martin Hecht:
Well, the module was written for wb 2.7 and I was taking care about it since 2014. One could rewrite it for twig. Maybe this would solve a few problems,  but other things would still be broken. All the security features don't work in WB anymore. The template engine is broken noe, the mailer is not usable anymore. In an attempt to update a very simple test environment from 2.13.1 to 2.13.2 the installation got skrewed up and the upgade skript bailed out. I've thrown it away and reinstalled it, but still I can't make even simple adjustments. Sorry, but I must agree with mike that WB is not usable anymore. Sorry.

ruebenwurzel:
Hello,

Martin,didn't you read this from hgs?


--- Quote ---... Here running mpForm 1.3.40 with the latest WebsiteBaker 2.13.2 with php 8.1 ...
--- End quote ---

As far as i see, it is possible to have a version of MPForm wich works with WB and the forks. To get the phplib an phphmailer working it only needs to add two or three additional lines of code. How to adapt Modules is postet here in the Forum on several places.


--- Quote ---Sorry, but I must agree with mike that WB is not usable anymore. Sorry.
--- End quote ---

This is simply not true. :evil:

hgs:
Hi Martin
Your statement is m.E. already a little over the target.
Your profile says "beta tester" just like mine.

If problems are reported here, then solutions are sought and implemented as quickly as possible.

The current development version of WB 2.13.3 Rev. 145 is such a solution, also for mpForm.

Here the test environment, where mpForm runs in the posted version (the get_user_id problem I have already fixed privately for the test) in the FE and BE without problems.

Translated with www.DeepL.com/Translator (free version)
Originaltest in Deutsch
Hi MartinDeine Aussage ist m.E. schon ein wenig übers Ziel hinaus.
In deinem Profil steht "Beta-Tester" so wie bei mir.
Wenn hier Probleme gemeldet werden, dann wird auch so schnell wie möglich nach Lösungen gesucht und diese umgesetzt.
Die aktuelle Entwicklungs-Version von WB 2.13.3 Rev. 145 ist so eine Lösung, auch für mpForm.
Hier die Testumgebung, wo mpForm in der geposteten Version (das get_user_id Problem habe ich für den Test schon mal privat gefixt) im FE und BE ohne Probleme läuft.

Martin Hecht:
Nun, die  WB 2.13.3 Rev. 145 steht mir nicht zur Verfügung. Bei mir, unter WB 2.13.2, funktioniert jedenfalls die phplib nicht mehr. Die Platzhalter werden nicht ersetzt. Demzufolge kann ich kein Formular anlegen, keine Settings ändern und keine Probleme nachstellen. Ich sehe gerade da hat @hgs auch was dazu geschrieben. Muss ich nochmal schauen, aber ich denke das Einbinden der Template-Klasse ist nicht das Problem. Es geht ums Ersetzen der Platzhalter unter php 8.x.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version