Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Webdav broken after update Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
schwim
Valued Community Member
Valued Community Member


Joined: 21 November 2017
Location: United States
Online Status: Offline
Posts: 49
Posted: 23 August 2018 at 8:43am | IP Logged Quote schwim

Hi there guys,

Upon my update from 8.1.8 to 8.2.0, my dav app quit working. I tried visiting /mail/dav.php in a browser and got this error instead of a login:

Code:
<d:error><s:exception>Sabre\DAV\Exception\NotFound</s:exception><s:message>File not found: mail in  'root'</s:message><s:file>/home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/SimpleCollection.php</s:file><s:line>91</s:line><s:code>0</s:code><s:stacktr ace>#0 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Tree.php(68): Sabre\DAV\SimpleCollection->getChild('mail')
#1 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Tree.php(71): Sabre\DAV\Tree->getNodeForPath('mail')
#2 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/CorePlugin.php(81): Sabre\DAV\Tree->getNodeForPath('mail/dav.php')
#3 [internal function]: Sabre\DAV\CorePlugin->httpGet(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#4 /home/schw/public_html/mail/vendor/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#5 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:GET', Array)
#6 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 /home/schw/public_html/mail/dav.php(34): Sabre\DAV\Server->exec()
#8 {main}</s:stacktrace></d:error>


Is there something I need to do after upgrade to get it working again?
Back to Top View schwim's Profile Search for other posts by schwim
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 24 August 2018 at 1:57am | IP Logged Quote Igor

We've just found an issue with incorrect dav.php file shipped in 8.2 release of Aurora & WebMail Pro, you can download the correct one from here.

Hope this helps!

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
schwim
Valued Community Member
Valued Community Member


Joined: 21 November 2017
Location: United States
Online Status: Offline
Posts: 49
Posted: 24 August 2018 at 5:49am | IP Logged Quote schwim

Is there anything else needed besides replacing that file? I did replace the file but dav remains broken. It doesn't even ask me for a login when I visit dav.php on the server. It just automatically spits out the error:

Code:

<d:error><s:exception>Sabre\DAV\Exception\NotFound</s:exception><s:message>File not found: mail in  'root'</s:message><s:file>/home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/SimpleCollection.php</s:file><s:line>91</s:line><s:code>0</s:code><s:stacktr ace>#0 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Tree.php(68): Sabre\DAV\SimpleCollection->getChild('mail')
#1 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Tree.php(71): Sabre\DAV\Tree->getNodeForPath('mail')
#2 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/CorePlugin.php(81): Sabre\DAV\Tree->getNodeForPath('mail/dav.php')
#3 [internal function]: Sabre\DAV\CorePlugin->httpGet(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#4 /home/schw/public_html/mail/vendor/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#5 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:GET', Array)
#6 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 /home/schw/public_html/mail/dav.php(28): Sabre\DAV\Server->exec()
#8 {main}</s:stacktrace></d:error>
Back to Top View schwim's Profile Search for other posts by schwim
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 24 August 2018 at 6:02am | IP Logged Quote Igor

Does it behave any different if you add a slash ("/") after dav.php in DAV URL?

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
schwim
Valued Community Member
Valued Community Member


Joined: 21 November 2017
Location: United States
Online Status: Offline
Posts: 49
Posted: 24 August 2018 at 6:12am | IP Logged Quote schwim

I do receive a different error:

Code:
<d:error><s:exception>Sabre\DAV\Exception\NotImplemented</s:exception><s:message>There was no plugin in the system that was willing to handle this GET method. Enable the Browser plugin to get a better result here.</s:message><s:file>/home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Server.php</s:file><s:line>487</s:line><s:code>0</s:code><s:stacktrace>#0 /home/schw/public_html/mail/vendor/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#1 /home/schw/public_html/mail/dav.php(28): Sabre\DAV\Server->exec()
#2 {main}</s:stacktrace></d:error>
Back to Top View schwim's Profile Search for other posts by schwim
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 24 August 2018 at 6:14am | IP Logged Quote Igor

This actually looks better, try setting UseBrowserPlugin to true in data/settings/modules/Dav.config.json file.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
schwim
Valued Community Member
Valued Community Member


Joined: 21 November 2017
Location: United States
Online Status: Offline
Posts: 49
Posted: 24 August 2018 at 6:24am | IP Logged Quote schwim

That did the trick, thanks so much!
Back to Top View schwim's Profile Search for other posts by schwim
 

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