Feng Forum

Other Topics => Development => : Mr. S July 23, 2010, 09:33:11 AM

: How to add WebDAV to FO
: Mr. S July 23, 2010, 09:33:11 AM
Hi everybody,

I need an easy access to my FO-documents. There is no WebDAV support, so I decided to write my own extension.

Installation:
 - Extract the attachment
 - Modify the htaccess file

I have built this extension on top of SabreDAV (http://code.google.com/p/sabredav/).
: Re: How to add WebDAV to FO
: arnoud July 23, 2010, 04:58:36 PM
Sounds great. I'm stuck with this error:

Warning: Call-time pass-by-reference has been deprecated in $fullpathtofengoffice/environment/functions/general.php on line 579

If I try to connect with dav: HTTP Error: Internal Server Error.
: Re: How to add WebDAV to FO
: cabeza July 26, 2010, 11:39:37 AM
This error can (usually) be disabled by htaccess.
It will be solved for next release.
: Re: How to add WebDAV to FO
: Murz July 28, 2010, 03:01:58 AM
Thank's, very useful for me! Extension installed successfully.

When I open webdav://domain.ru/fengoffice/public/webdav/ I see all my workspaces as folders.

But when I try to enter the folder, I got the error:
The file or folder webdav://domain.ru/fengoffice/public/webdav/test_workspace does not exist.

Where can be the problem?

And I see list of all workspaces in first level, but in fengoffice they have hierarchy.
: Re: How to add WebDAV to FO
: Mr. S July 28, 2010, 04:37:43 AM
@Murz
Have you modified the htaccess file? You have to install and use  mod_rewrite or an equal software. Your error looks like a not working rewrite rule.

At the moment it's not possible to display the workspaces in a hierarchy. I'll fix this as soon as possible. The first Version of this extension is only to show that it is easy to add WebDAV with the SabreDAV library.
: Re: How to add WebDAV to FO
: Murz August 03, 2010, 05:27:24 AM
Yes, the problem is in wrong path on htaccess file, after I change the path, it goes to work normally! Thank's!
: Re: How to add WebDAV to FO
: serj999 August 10, 2010, 04:09:12 PM
many thanks for this very cool Extension!

I can see only a white page (without anything) and in the servers error log I have following error:

[Tue Aug 10 21:04:49 2010] [error] [client 81.24.208.126] PHP Warning:  Call-time pass-by-reference has been d
eprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]().  If
 you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in y
our INI file in /var/www/web10/html/apps/collaboration/environment/functions/general.php on line 579

Could You help me please?

Many Thanks!

Serj

: Re: How to add WebDAV to FO
: Mr. S August 10, 2010, 05:23:57 PM
@serj999
Please read the second an third postings in this thread!
: Re: How to add WebDAV to FO
: fabiusp August 15, 2010, 05:07:40 AM
How can I debug problems? I've installed FO 1.7 on a IIS server(with PHP 5.2.13) and works fine (http://my.site.com/collab), downloaded the webdav scripts and copied under the respectives folders on the server, modified the .htaccess fileunder public/webdav entering my path for RewriteBase and RewriteRule:

    RewriteBase /collab/public/webdav/
 
    RewriteRule ^/*(.*)$ /collab/public/webdav/index.php/$1


When I enter on my browser
http://my.site.com/collab/public/webdav  i got an Error 500 -Internal server error.

I've try also to map the webdav folder on Windows 7 using the same URL, doesn't work.

Can you help me find where the problem is?

Thank you
: Re: How to add WebDAV to FO
: Mr. S August 18, 2010, 03:01:19 PM
Can somebody debug this stupid forum? I can't modify my first posting! There is a wrong XML-Declaration in http://forums.fengoffice.com/index.php?action=quotefast;quote=16770;sesc=#############47f6d72da1ed;modify;xml

<?xml version="1.0" encoding=""?>

But back to my webdav entension! I fixed a few errors and add new functions:

This fixes repairs a couple of HTTP-500-Errors.
: Re: How to add WebDAV to FO
: Mr. S August 18, 2010, 03:14:17 PM
I'm not able to add an attachment to my pervious topic. I put the new version on sharehoster:


MD5: 54B618DA375A6F919BB4FA7A72FB3BF2
: Re: How to add WebDAV to FO
: fabiusp August 23, 2010, 01:10:15 PM
With the patched version is better. Thx!
But i still not able to access the webdav folder:
Entering http://my.site.com/collab/public/webdav it ask me for authentication, I use the FO credential (correct?), but i got the error message:

501 - Header values specify a method that is not implemented.
The page you are looking for cannot be displayed because a header value in the request does not match certain configuration settings on the Web server. For example, a request header might specify a POST to a static file that cannot be posted to, or specify a Transfer-Encoding value that cannot make use of compression


How can i debug it?
Probably some features are not enabled on the IIS server, but I've to understand wich ones.

The URL to map the webdav folder then on Windows 7 should be http://my.site.com/collab/public/webdav ?

Thanks for suggestions and support.
: Re: How to add WebDAV to FO
: Mr. S August 23, 2010, 03:00:46 PM
You can debug the code by change the line
define('WEBDAV_DEBUG', false);
to
define('WEBDAV_DEBUG', true);
in index.php. This will create a debug file davdebug.txt with different information.

As you can read in my first posting, I'm using Apache and not IIS. So, I don't know how to fix your problem.

The URL to map the webdav folder then on Windows 7 should be http://my.site.com/collab/public/webdav.
: Re: How to add WebDAV to FO
: Karlos September 20, 2010, 09:45:02 AM
This working for me !!!

Thanks a lot !!


Note:  Windows Vista , Seven and XP have a lot of problems with Webdav , you must patch windows (update web folders software) and modify registry key to connect.

: Re: How to add WebDAV to FO
: gman September 23, 2010, 04:40:15 PM
Nice work!

In some limited testing I have able to drag and drop from Windows into folders in the admin personal workspace.

I cannot create folders via webdav since there really are not folders in FengOffice, a workspace's documents object acts like a folder for the workspace. So it makes sense that you cannot create a folder via webdav. Not a big deal.

Via Windows Network Connection I can connect to the webdav as a "web folder." I can connect with accounts created in FengOffice but I end up in the admin personal workspace regardless of the FengOffice account used and I can add files to the admin personal webdav folder, something that shouldn't happen. I cannot login or access anything using AD accounts. I can login to FengOffice with AD accounts but I cannot access webdav with the AD accounts.

**** Note: Using Nautilus in Gnome, I can connect to FengOffice user personal workspace and not the admin personal worksapce.

In Firefox, and Internet Explorer with Show Friendly HTTP Error Messages turned off, I get the following when trying to connect to the webdav folder:

*** I just checked the SabreDAV site on code.google.com and apparently this message indicates SabreDAV is setup correctly?

<d:error>
<s:exception>Sabre_DAV_Exception_NotImplemented</s:exception>
<s:message>GET is only implemented on File objects</s:message>
<s:sabredav-version>1.2.4</s:sabredav-version>
</d:error>

So while there are some issues this does look promising.



 
: Re: How to add WebDAV to FO
: MicMac January 05, 2011, 09:06:01 PM
Hi,

does it also work with FO 1.7.3.1.? Might be great!

 I did not understand what to change in the .htaccess-file. Please post an example for me.

Thx and cu

Mic
: Re: How to add WebDAV to FO
: Mr. S January 10, 2011, 09:41:50 AM
Hi,

it's working with FO 1.7.3.1 at my server.

Ther is an htaccess file in the /public/webdav subdirectory of feng. If you install feng to http://www.yourserver.com/fengoffice/ you have to modify the RewriteBase to:
:
RewriteBase /fengoffice/public/webdav/
: Re: How to add WebDAV to FO
: h064 January 21, 2011, 09:48:40 AM
Hello! I've installed this extension and fix htacceess, but after successfull authorization se nothing. I have a message in error.log
PHP Fatal error:  Call to undefined function mb_detect_encoding() in /var/www/html/library/SabreDAV/lib/Sabre/DAV/URLUtil.php on line 100

Help, please
: Re: How to add WebDAV to FO
: Mr. S January 21, 2011, 03:37:39 PM
PHP Fatal error:  Call to undefined function mb_detect_encoding() in /var/www/html/library/SabreDAV/lib/Sabre/DAV/URLUtil.php on line 100
You have to install the Multibyte String (http://www.php.net/manual/en/book.mbstring.php) extension for php. Normally, you just need to change the php configuration.
: Re: How to add WebDAV to FO
: wmcheung February 01, 2011, 04:24:30 AM
Hi,

I have installed this plugin, and I can use WebDav client to view the first level of folder. However, error will be prompted when I try to go to the second level.

I would like to know how can I browse the directory and drag and drop the documents in different directory? Thx...
: Re: How to add WebDAV to FO
: altert March 03, 2011, 07:43:09 PM
Similar thing happens for me, when I try to access second level of folders, I get 405 error
: Re: How to add WebDAV to FO
: afick May 10, 2011, 03:48:35 AM
work with 1.7.4 ?

EDIT

Yes it work but i can't go dipper then the first lvl.

Here is update for Windows Server 2003;Windows Vista;Windows XP
http://www.microsoft.com/downloads/en/details.aspx?familyid=17c36612-632e-4c04-9382-987622ed1d64&displaylang=en#QuickDetails
: Re: How to add WebDAV to FO
: Mr. S May 14, 2011, 09:53:49 AM
I'm sorry, I don't have time to add features or fix my addon in the next three month.
: Re: How to add WebDAV to FO
: tottebias April 16, 2012, 02:49:05 PM
Hello! Will this work in the latest 2.0 version?

Thanks
: Re: How to add WebDAV to FO
: seizart April 15, 2013, 03:45:18 PM
By any chance is the webdav plugin working on feng 2.0?

Many thanks
: Re: How to add WebDAV to FO
: gain October 29, 2013, 02:10:58 PM
Hi!
Link to rapidshare and megaupload don't work anymore...

Any chance to have the software anymore?
: Re: How to add WebDAV to FO
: fenger December 10, 2013, 10:46:45 AM
Hello ...

I'm willing to pay for webdav support in FengOffice. What do they need? 200 bugs?
: Re: How to add WebDAV to FO
: leo.ruyven November 05, 2014, 06:48:32 AM
Hello can any body give me a link where ik can download the extension for webdav. The links in this topic does not work any more

: cialis tadalafil patent
: Baveskara July 26, 2022, 03:44:29 PM
The dihydrobenzoxathiins class has typically exhibited low to subnanomolar binding to ER?±, with 50 to 100 fold selectivity, and as a result of further study, a derivative has been targeted for development as a potential agent for the treatment of osteoporosis stromectol buy (https://stromectol.buzz)
: Re: How to add WebDAV to FO
: Baveskara July 29, 2022, 03:03:27 PM
Comment Les Hommes Peuvent Durer Plus Longtemps non prescription cialis online pharmacy (https://buycialikonline.com) viagra autentica sin receta
: generic cialis 60 mg
: Baveskara September 08, 2022, 06:42:25 PM
Such countries are recognized by the U buy cialis online (https://cheapcialiss.com/) 0-mg treatment group n 424
: 2018 buying cialis onlie
: Baveskara October 22, 2022, 07:54:02 PM
Real time quantitative PCR qPCR was performed with the primers indicated in Table I in the Data Supplement cialis on sale in usa (http://bestcialis20mg.com)
: cialis prices 2018
: Baveskara December 05, 2022, 04:19:10 PM
ventolin ivermectina pastillas espaa Mr Paterson said work is ongoing on the study stromectol order online (https://stromectol.cloud) 2003, since its deficiency in Smad3 knockout mice resulted in suppression of the fibrotic response Sato et al
: cialis cocaine alcohol
: Baveskara January 11, 2023, 08:37:59 AM
Epub 2011 Aug 18 doxycycline in mexico (https://doxycycline.world)
: generic cialis 10mg reviews
: Baveskara January 16, 2023, 01:11:31 AM
Aromatase inhibitors are used primarily in postmenopausal women in the neoadjuvant setting to reduce tumor size levitra bayer prix (https://clevitras.monster) Hi I have a cycle length of 32 33 days but was diagnosed with pcos 4 years ago