wifang / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Exception: Unsupported method: options #389

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect via WebDAV under MacOSX Lion
2. Mount is not successfull

I have updated today to the latest Mollify Version. In Log I get the following 
output:

[Mon Apr 09 15:22:43 2012] [warn] [client xxx] mod_fcgid: stderr: MOLLIFY 
DEBUG: MySQL DB: web5sql6@localhost:web5sql6(mollify_) port= socket=
[Mon Apr 09 15:22:43 2012] [warn] [client xxx] mod_fcgid: stderr: MOLLIFY 
ERROR: Exception (Exception): Unsupported method: options
[Mon Apr 09 15:22:43 2012] [warn] [client xxx] mod_fcgid: stderr: MOLLIFY 
ERROR: {0:{file:/var/customers/webs/web5/xxx/backend/include/Request.class.php, 
line:39, function:initData, class:Request, type:->, args:{}}, 
1:{file:/var/customers/webs/web5/xxx/backend/dav/mollify_dav.php, line:191, 
function:__construct, class:Request, type:->, args:{0:, 1:1}}, 
2:{file:/var/customers/webs/web5/xxx/backend/dav/index.php, line:12, 
args:{0:/var/customers/webs/web5/xxx/backend/dav/mollify_dav.php}, 
function:require_once}}
[Mon Apr 09 15:22:43 2012] [warn] [client xxx] mod_fcgid: stderr: PHP Fatal 
error:  Uncaught exception 'Sabre_DAV_Exception_BadRequest' in 
/var/customers/webs/web5/xxx/backend/dav/mollify_dav.php:245
[Mon Apr 09 15:22:43 2012] [warn] [client xxx] mod_fcgid: stderr: Stack trace:
[Mon Apr 09 15:22:43 2012] [warn] [client xxx] mod_fcgid: stderr: #0 
/var/customers/webs/web5/xxx/backend/dav/index.php(12): require_once()
[Mon Apr 09 15:22:43 2012] [warn] [client xxx] mod_fcgid: stderr: #1 {main}
[Mon Apr 09 15:22:43 2012] [warn] [client xxx] mod_fcgid: stderr:   thrown in 
/var/customers/webs/web5/xxx/dav/mollify_dav.php on line 245

Original issue reported on code.google.com by m...@gw.ms on 9 Apr 2012 at 1:36

GoogleCodeExporter commented 9 years ago
Fixed. You can fix your setup by replacing your copy of 
backend/include/Request.class.php with attached version.

Original comment by samuli.j...@gmail.com on 14 Apr 2012 at 5:21

Attachments:

GoogleCodeExporter commented 9 years ago
Hi!

Connection is now working, but when I upload a file, it is 0 byte. This should 
be solved some releases ago?

Original comment by m...@gw.ms on 14 Apr 2012 at 9:19

GoogleCodeExporter commented 9 years ago
I investigated this a bit more, and found the current request handling 
unnecessary. There is no need to define all the WebDAV methods in Mollify 
request, like I did with the attached file, because the WebDAV lib handles 
these. So I removed the entire request from Mollify in this case.

I did not have any problems with uploading files, but could you try with this 
WebDAV plugin file just to make sure it was not related to the methods.

Original comment by samuli.j...@gmail.com on 15 Apr 2012 at 10:40

Attachments:

GoogleCodeExporter commented 9 years ago
I have resolved the zero byte problem by

1. Add "include 'Sabre/DAV/UUIDUtil.php';" in Sabre.includes.php 
2. Ensure write access in both "temp" and "data" folder

Original comment by camus...@gmail.com on 24 Apr 2012 at 4:09

GoogleCodeExporter commented 9 years ago

Original comment by samuli.j...@gmail.com on 29 May 2012 at 5:38