Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7.2 compatibility #2

Open
janmuennich opened this issue Dec 13, 2018 · 6 comments
Open

PHP 7.2 compatibility #2

janmuennich opened this issue Dec 13, 2018 · 6 comments

Comments

@janmuennich
Copy link

Currently this plugin works with max. PHP 7.1.

/calendar/lib/encryption.php uses mcrypt, which was deprecated in PHP 7.1 and removed in PHP 7.2. The functionality would probably need to be converted to OpenSSL. Don't know if it's possible to use same ciphers etc. so the stored passwords could still be decrypted.

Maybe there are some other issues with PHP 7.2, haven't checked.

@pafcioooo
Copy link

pafcioooo commented Mar 9, 2019

Well after searching for "mcrypt for php 7.2" there is possibility to install mcrypt in php>=7.2 environment. So maybe this is the way. I have not checked this yet. Once I try I will write here.

@janmuennich
Copy link
Author

Yes, you can install mcrypt for PHP 7.2. But it is not an official module anymore, so PHP 7.2 compatible scripts should not use mcrypt.

@pafcioooo
Copy link

@janmuennich it has been 3 months after your initial report, have you been able to some how solve this, then?

Have you seen/tried this post texxasrulez/caldav_calendar#17 ?

@janmuennich
Copy link
Author

I haven't found time for this yet unfortunately, probably won't happen as long as 7.1 is supported.

@pafcioooo
Copy link

pafcioooo commented Mar 17, 2019

Have you seen/tried this post texxasrulez/caldav_calendar#17 ?

I have manually added entries mentioned in above link into calendar/drivers/caldav/caldav_driver.php and calendar is displayed in RC as well as email with invites are also displaying.
Though there is following error in logs/error.log

[17-Mar-2019 09:55:33 +0100]: <e7a7ud1v> DAV Error: Not authenticated in /home/poczta/public_html/roundcubemail/plugins/calendar/lib/SabreDAV/lib/OldSabre/DAV/Client.php on line 425 (POST /?_task=calendar&_action=refresh)
[17-Mar-2019 09:55:33 +0100]: <e7a7ud1v> DAV Error: Not authenticated in /home/poczta/public_html/roundcubemail/plugins/calendar/lib/SabreDAV/lib/OldSabre/DAV/Client.php on line 425 (POST /?_task=calendar&_action=refresh)

@pafcioooo
Copy link

[17-Mar-2019 09:55:33 +0100]: DAV Error: Not authenticated in /home/poczta/public_html/roundcubemail/plugins/calendar/lib/SabreDAV/lib/OldSabre/DAV/Client.php on line 425 (POST /?_task=calendar&_action=refresh)
[17-Mar-2019 09:55:33 +0100]: DAV Error: Not authenticated in /home/poczta/public_html/roundcubemail/plugins/calendar/lib/SabreDAV/lib/OldSabre/DAV/Client.php on line 425 (POST /?_task=calendar&_action=refresh)

It requires just to add again password in gui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants