Share » Forums » Install & configuration » Webdav Fatal Error

Webdav Fatal Error

Webdav Fatal Error

Tuesday 22 December 2009 12:55:46 pm - 7 replies

Modified on Tuesday 22 December 2009 11:08:55 pm by Michele Paoli

Author Message

Jérôme Vieilledent

Wednesday 23 December 2009 6:39:53 am

Hi Michele

Which version of eZ Publish do you use ? What do your logs say (ezpublish, apache, php) ?

Michele Paoli

Saturday 26 December 2009 1:57:46 am

Hi Jérôme,
the version of EzPublish is 4.2,

This is an apache piece of log when I try to use webdav:
80.183.15.88 - - [26/Dec/2009:10:49:11 +0100] "OPTIONS /ita HTTP/1.1" 401 334 "-" "Microsoft Data Access Internet Publishing Provider DAV"
80.183.15.88 - admin [26/Dec/2009:10:49:11 +0100] "OPTIONS /ita HTTP/1.1" 200 342 "-" "Microsoft Data Access Internet Publishing Provider DAV"
80.183.15.88 - admin [26/Dec/2009:10:49:12 +0100] "PROPFIND /ita/ HTTP/1.1" 200 202 "-" "Microsoft Data Access Internet Publishing Provider DAV"

Php doesn't produce any type of errors.

In ezpublish, again, any type of error in var/log/error.log.
Thank a lot.

Jérôme Vieilledent

Saturday 26 December 2009 2:14:27 am

Hi Michele

It seems to be the Apache access log you provided. Can you show the error log instead (Apache) ? Just to be sure, try to regenerate autoloads :
php bin/php/ezpgenerateautoloads.php

Michele Paoli

Saturday 26 December 2009 4:19:28 am

Thanks,
I found the Main Error:
[Sat Dec 26 13:17:04 2009] [error] [client xx.xx.xx.xx] PHP Fatal error: Class 'DateTime' not found in /var/www/vhosts/host/httpdocs/lib/ezc/Webdav/src/tools/date_time.php on line 22
How could I solve it?

Jérôme Vieilledent

Saturday 26 December 2009 6:19:37 am

Michele

DateTime is a native PHP Class that comes with PHP 5.2 and later versions. eZ Publish 4.2 requires PHP 5.2.1 minimum (see system requirements). Which version of PHP do you use ?

Michele Paoli

Saturday 26 December 2009 6:44:58 am

Thank you.
My php version is 5.1.6, I try to upgrade it.
Do you know if ezpublish 4.1.2 work with php 5.2.1, because other installations of ez on that server are 4.1.2.

Jérôme Vieilledent

Saturday 26 December 2009 8:09:58 am

I think you will have the same issue as the new Webdav engine, powered by eZ Components, has been introduced in 4.1. You might consider using eZ Multi Upload that does not rely on the WebDAV engine.

Of course, you really should upgrade your PHP version to the latest 5.2 (eZ Systems certifies platforms using PHP 5.2.10).

Regards

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu