Forums / Install & configuration / WebDAV and eZ Publish 4.1

WebDAV and eZ Publish 4.1

Author Message

Maarten Holland

Friday 10 April 2009 5:53:22 am

Hi all,

I've used eZ Publish for some years now and am loving it!

Unfortunately I've never succeeded in getting a stable WebDAV implementation up and running.

So I was very pleased to read about the improved WebDAV support in eZ Publish 4.1. I've installed it and changed webdav.ini to enable WebDAV Support.

I've created a new Apache 2 Virtual Host on port 80 that redirects every request to webdav.php.

I can now access my folders by using Explorer and I see the three default siteaccesses 'ezwebin_site_user', 'ezwebin_site_admin' and 'dut' (since I've chosen Dutch as primary language).

However, I can not open any of the folders. Instead of requesting my user name and password I receive an error stating (depending on the client OS I've tried) something like:

\\webdav.myurl.com\DavWWWRoot\dut is not accessible. You might not have permissions to use this network resource. The request is not supported.

I've tried XP and Windows 7 with different clients and they all give similar results.

Can anyone help me out here? Do I need to assign additional permissions? Does anyone know where I should find the (logical?) DavWWWRoot?

Any help is highly appreciated. I'd love to get this to work!

Thank you for your time,

Maarten

Maarten Holland

Tuesday 21 April 2009 11:33:04 am

Hi everyone,

Isn't there anyone out there who has got an idea?

Any pointers are appreciated!

Ɓukasz Serwatka

Wednesday 22 April 2009 12:12:12 am

Hi,

Read carefully this document about webdav and supported clients. Especially part about Internet Explorer
http://pubsvn.ez.no/nextgen/stable/4.1/doc/features/4.1/webdav_readme.txt

You might also look on the article:
http://ez.no/developer/articles/ez_publish_knowledge_series_webdav_support_in_ez_publish_4_1_now_using_ez_components

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Sebastiaan van der Vliet

Wednesday 22 April 2009 7:34:30 am

Hi,

We got Webdav working on 4.1, but the folders show up as images or some generic type. Folder class is standard, settings are standard, same thing happening for various webdav clients. Any ideas?

Thx,
Sebastiaan

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

paul bolger

Wednesday 22 April 2009 4:29:27 pm

Maarten,

We had a similar problem a couple of years ago. It ended up being caused by insufficient permissions for a folder which eZ Publish needs to write to for webdav - a temp folder I think. I'm afraid I can't remember (and the email traffic was to a corporate account which I don't have any more) exactly which, but it was under /var.

Hope this helps.

Paul Bolger

Maarten Holland

Thursday 23 April 2009 9:46:54 am

Hi all,

Thank you very much for your replies!

I've read the documents about the clients and decided to try WebDrive.

I've started with my existing installation (4.0) and immediately succeeded with WebDrive on Windows XP.

On Windows 7, WebDrive (like Windows Explorer) can't succesfully connect to 4.0, even after applying the mentioned Windows Update and registry tweaks.

For eZ Publish 4.1 I'll need to setup a new server to try again. Hopefully it is a permission issue like Paul mentioned.

If I find out anything usefull I'll post back.

Unfortunately I have no clue what can be causing your problem Sebastiaan. Did you try 4.0 as well?

Cheers,

Maarten

Sebastiaan van der Vliet

Thursday 07 May 2009 12:44:50 am

>> We got Webdav working on 4.1, but the folders show up as images or some generic type.

BTW, we got this issue on a installation that had been upgraded from 3.7 to 4.1.

Fix:

In \kernel\private\classes\webdav\ezwebdavcontentbackend.php:
1. Fix the display of folders: in the function isObjectFolder( $object, &$class ) we had to change $class->ClassIdentifier into $class->Identifier

2. Fix access to the Media folder: in the function fetchNodeInfo( $target, &$node ) we changes if ( $virtualFolder === self::virtualContentFolderName() ) into if ( $virtualFolder === self::virtualContentFolderName() or $virtualFolder === self::virtualMediaFolderName() )

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

Xavier Serna

Tuesday 02 June 2009 3:00:57 pm

Hi all,

FYI, I've just reported an issue regarding this problem with webdav:

http://issues.ez.no/IssueView.php?Id=15017&activeItem=1

hope that will be fixed ASAP!

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205