•  
      request #7176 gitphp and smarty3
    Infos
    #7176
    Nicolas Lafont (manicow)
    2020-12-24 16:09
    2014-07-04 11:36
    7191
    Details
    gitphp and smarty3
    On Debian Wheezy, the packaged version of smarty is 3.1.10

    This version doesn't have anymore the following functions :

    load_filter
    is_cached

    which has been replaced by

    loadFilter
    isCached

    This breaks the gitphp plugin.

    I attach a patch in order to resolve this issue, using a wrapper class which add those 2 missing functions if necessary.

    This patch works well on Debian Wheezy with smarty 3, but I haven't any CentOS server to test it for smarty 2.
    SCM/Git
    7.2
    Debian 7 (wheezy)
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Declined
    2020-12-24
    Attachments
    References
    References list is empty

    Follow-ups

    User avatar
    Debian version is no more (and was never really) maintained. I think we can close this issue.

    • Status changed from New to Declined
    • Close date set to 2020-12-24
    User avatar
    Hi Nicolas and thanks for the patch,

    Actually this version of gitphp (0.1) should no longer be used and will be removed in an upcoming version.
    On CentOS package we are shipping gitphp externally https://tuleap.net/plugins/git/tuleap/deps/tuleap/gitphp-tuleap

    Ideally we should upgrade to latest version (0.2.9) and that would solve your problem (smarty3) without patch because this version uses smarty3.