I followed http://code.google.com/p/sabredav/wiki/GettingStarted and
can see the xml error.
But I'm trying to mount the folder with the built in webdav server in
windows and this error appears.
Tested on a windows 7 64bits (without Software Update for Web Folders
(KB907306)) and a windows 7 32bits with the update.
I followed http://code.google.com/p/sabredav/wiki/GettingStarted and
can see the xml error.
But I'm trying to mount the folder with the built in webdav server in
windows and this error appears.
Tested on a windows 7 64bits (without Software Update for Web Folders
(KB907306)) and a windows 7 32bits with the update.
On 4 mar, 13:03, hatem ounis <ounisha...@gmail.com> wrote:
What url are you using to connect to the server? If it's not a root-
url Windows will not cooperate.
On Mar 5, 1:06 am, ecentinela <ecentin...@gmail.com> wrote:
> Same here.
>
> I followedhttp://code.google.com/p/sabredav/wiki/GettingStartedand
Thanks!
The best way to debug it from this point on, is to use a debugging
proxy to find out what the client and server are sending. If PHP or
SabreDAV throws an error, it should be very easy to read out what that
error is.
If you want, you can also send a charles session to me directly or to the list.
Charles isn't free, but I think its the best/easiest tool for the job.
The trail version lasts for 30 minutes at a time which should be
enough. An open source alternative is wireshark, but it's a bit harder
to use.
Give it a shot, and let me know.
Evert
> --
> You received this message because you are subscribed to the Google Groups
> "SabreDAV Discussion" group.
> To post to this group, send email to sabredav...@googlegroups.com.
> To unsubscribe from this group, send email to
> sabredav-discu...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sabredav-discuss?hl=en.
>
This is not enough, as this is only the from a single request. The
entire session is needed.
Evert
Upon first sight there doesn't look anything wrong with these
requests.
After doing a bit of research, it looks like windows will only work if
port 80 is used, since you're using port 8999; this will break.
I haven't tried this myself, but I'll do a bit of research to get you
a definite answer later. For now, you should either switch to port 80
or use Netdrive or Webdrive.
Evert
On Mar 9, 3:43 pm, hatem ounis <ounisha...@gmail.com> wrote:
> Here is the entire session:
> [snip]
It sucks that there's no error given. From what I could find, normally
there will be an error code for anything that's going wrong with
webdrive.
I'd suggest asking their support staff, everything in the requests and
response appears to be correct.
Evert
On Mar 9, 6:19 pm, hatem ounis <ounisha...@gmail.com> wrote:
> This is what WebDrive gives:
>
> Connecting to site webdav
> Connecting tohttp://server
Is the format of the date "Mon, 22 Mar 2010 12:14:06 CET" normal ?
Because i mdified DateTime and DateTimeZone to use php 5.1.6 as
described here http://groups.google.com/group/sabredav-discuss/browse_thread/thread/347e7084ac8e8086
And in cases i use php 5.2.10 without modifying DateTime and
DateTimeZone i get this format "Mon, 22 Mar 2010 12:14:06 +0000" and
SabreDAV works perfectly.
if you see the xml returned by SabreDAV you'll see that there is two
(xmlns:d="DAV:")
is this normal ?
> Hi,
>
> if you see the xml returned by SabreDAV you'll see that there is two
> (xmlns:d="DAV:")
It's not really normal, but it shouldn't be a problem either. Which xml elements are you seeing it on?
Evert
I see; I don't think that double xmlns still exists in newer versions.
I see; I don't think that double xmlns still exists in newer versions.
You are right, it is still in recent versions. The 1st xmlns is
written on this line:
$multiStatus = $dom->createElementNS('DAV:','d:multistatus');
The second one is written in this loop:
foreach($this->xmlNamespaces as $namespace=>$prefix) {
$multiStatus->setAttribute('xmlns:' . $prefix,$namespace);
}
See Sabre_DAV_Server::generateMultiStatus()
Hi Hatem,
Which client had trouble with this? So far I haven't seen any webdav clients that had trouble with this.
In any case, I've fixed it too:
http://code.google.com/p/sabredav/source/detail?r=1e91f0d0bd
The loop is used to automatically add more xml namespaces. For example, the CalDAV plugin adds two more namespaces. If you use any custom properties on your own namespace, you can easily add them to $xmlNamespaces for a cleaner xml output.
Evert
Hi,
Do you plan in the future to make the lib work with windows webfolders
even if the server is not at the root of the webserver ?
Unfortunately I don't have control over this. It's a bug that should be reported to Microsoft.
The good news is: they know, and fixed it in Windows 7 (according to other people on this list).
http://code.google.com/p/sabredav/wiki/Windows
I believe greenbytes.de is owned by Julian Reschke, who's one of the main webdav spec writers. Pretty useful page