Befox / cdav

Dolibarr module to access calendars and address book from CalDAV/CardDAV tools
GNU General Public License v3.0
47 stars 28 forks source link

Update 2.20 -> Your Composer dependencies require a PHP version ">= 8.0.0". #53

Closed zunami closed 1 month ago

zunami commented 1 year ago

I have a problem with the current update to 2.20 I now get this message

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0".

my device has PHP 8.0 installed and works with an nginx server

jpfox commented 1 year ago

composer is not used to install cdav... just unzip it in your custom directory

jpfox commented 1 year ago

This error effectively occurs in php logs if you have not php 8 or greater. Are you sure that you run this version on your web server ? The error message specifies your php version :

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.2.34
zunami commented 1 year ago

hello!

I have already bring up to date to the 2.21 version . and again the php 8 error

I have installed php 7.4 php 8.0 php 8.1

2022-11-28 12_22_44-Greenshot

daraelmin commented 1 year ago

Hi,

Installing PHP 8.1 is not enough. You must launch it. There can be several version of PHP on the same server (or computer), but only one can ne running at one tome. So I assume, you've just have to stop PHP 7.2.34 and Start PHP 8.1.

Cheers

zunami commented 1 year ago

so i have finished it now. i have version 16.0.3 with php 7.4 problem is I can not go to php 8.0 because this causes too many errors in the background.

Dolibarr release and bug information

I guess I have to wait for the dolibarr 17 until the final release with the correction to php 8.0

jpfox commented 1 year ago

The recent upgrade of Sabre/DAV embedded with cdav was certainly not so welcome. I think I will generate a branch dedicated to php 7.4 with the previous version of Sabre/DAV...

I will anounce it here

zunami commented 1 year ago

problem fixed since update to Dolibarr 17.0 and update to PHP 8.0