LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class Smarty not found

VitorTakami opened this issue · comments

librebooking-2.8.6 and php8-8.0.30
The php file that show me the error is: lib/Email/SmartyEmail.php

Hi @VitorTakami ,

Did you use composer to install the required php dependencies, among which smarty ?
In the Dockerfile of repository librebooking/docker, I use the following statement:

composer install --ignore-platform-req=ext-gd

I noticed that the usage of composer is not mentioned in the installation procedure...

Hello @colisee .
I tried to run composer, bu it give me the error that requires php 8.1.0 and i'm running php 8.0.30.

It seems that the current version of librebooking (2.8.6) is developed with a minimum php version in mind: 8.1.0. So, ideally, you should upgrade your environment to php 8.1.0 or greater.

If you cannot or do not wish to upgrade php on your system, then you can try to change the composer.json file and change the line "php": ">=8.1", to "php": ">=8.0",. But you are on your own from now on.

OK, thanks @colisee .
I will wait some time to update my php on the system.