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

No info shown using link "URL ICS" in Agenda #50

Open meierrom opened 1 year ago

meierrom commented 1 year ago

Hi folks,

All I get is the following output:

URL ICS This URL can be used by a synchronisation client tool (read only) : SuperAdmin :

I tested this on Dolibarr v14.0.5.

Screenshot_2022-11-15_08-45-59

Kind regards, Roman

meierrom commented 1 year ago

Hi folks,

Please let me answer myself.

I checked the apache log files for errors and found the following:

[Tue Nov 15 09:25:08.170189 2022] [php7:error] [pid 13913] [client 127.0.0.1:39980] PHP Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /home/gis/public_html/dolibarr-14.0.5/htdocs/cdav/cdavurls.php:142\n [...]

I consequently installed the mcrypt library and things work just as expected.

It seems that php no longer includes mcrypt since it is outdated and apparently no longer maintained. I conclude that therefore many hosting companies no longer support this.

Should we switch to libsodium instead, which has apparently replaced mcrypt?

Kind regards, Roman

cfoellmann commented 1 year ago

I can confirm. ALL current php versions do not support mcrypt anymore