Author |
|
Emilius Newbie
Joined: 20 November 2018 Location: Canada
Online Status: Offline Posts: 21
|
Posted: 11 January 2023 at 10:00am | IP Logged
|
|
|
Just reporting that with PHP 8.2 phone DAV sync is stuck. Going back to PHP 8.1 is back to normal.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 11 January 2023 at 10:59pm | IP Logged
|
|
|
Hello,
This is a known issue which is already corrected in the repository and the fix will be included in the next version. To fix the issue on your current installation, you need to make the following changes:
1. In vendor/afterlogic/dav/lib/DAV/Server.php file, comment out or remove the following line ~82:
Code:
$aclPlugin->defaultUsernamePath = \rtrim(Constants::PRINCIPALS_PREFIX, '/'); |
|
|
2. In vendor/afterlogic/dav/lib/DAV/PropertyStorage/Backend/PDO.php file, modify the code:
Code:
class PDO extends \Sabre\DAV\PropertyStorage\Backend\PDO
{
/**
* Creates the backend
*/ |
|
|
as follows:
Code:
class PDO extends \Sabre\DAV\PropertyStorage\Backend\PDO
{
protected $dBPrefix;
/**
* Creates the backend
*/ |
|
|
Hope this helps.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|