daniel-lerch / openkool

Open source fork of kOOL - Online church organization tool
GNU General Public License v2.0
3 stars 3 forks source link

kool on debian 12 with php7.4 - smarty3 shared.mb_str_replace.php needs old version (solved) #26

Open spblinux opened 10 months ago

spblinux commented 10 months ago

strictly spoken off-topic: I am using churchtool R48 non docker on debian 12, but I thought it is useful to document my "patch" here.

environment: debian 12, apache2 using php7.4 (which is supported by debian 12)

observed bug (bug message mail to admin): groups / datafields: click on "+" did throw an error at line 75 /usr/share/php/smarty3/plugins/shared.mb_str_replace.php

It showed up, that commit https://github.com/AnrDaemon/smarty/commit/ed14f5269a8c9644b1081060d5fce0644f64e1ce?diff=split&w=0 of smarty3 (version 3.1.47-2 included in debian 12) does not work with churchtool R48.

Solution: Use the previous version of this file which is attached to this post. smarty3_deb12_koolR48.zip

daniel-lerch commented 10 months ago

Thank you @spblinux for sharing your workaround!

I leave this open for community contributions as my church has migrated to ChurchTools and I am working on Korga to support features like mailing lists like in kOOL also for ChurchTools.