Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: PHP 8.2 DAV phone sync problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Emilius
Newbie
Newbie
Avatar

Joined: 20 November 2018
Location: Canada
Online Status: Offline
Posts: 21
Posted: 11 January 2023 at 10:00am | IP Logged Quote Emilius

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 View Emilius's Profile Search for other posts by Emilius
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 January 2023 at 10:59pm | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide