kd2org / karadav

Lightweight NextCloud compatible WebDAV server
https://fossil.kd2.org/karadav/
GNU Affero General Public License v3.0
155 stars 14 forks source link

can't get it to work with any webdav client #25

Closed Kranf99 closed 1 year ago

Kranf99 commented 1 year ago

It does not work The "error.log" file contains:

[11-Feb-2023 15:10:30 Europe/Berlin] =========== Error ref. 1spsjz8l ===========

ErrorException: Deprecated: Creation of dynamic property KaraDAV\Storage::$properties is deprecated in C:\xampp\htdocs\lib\KaraDAV\Storage.php:428 Stack trace:

0 C:\xampp\htdocs\lib\KaraDAV\Storage.php(428): KD2\ErrorManager::errorHandler(8192, 'Deprecated: Cre...', 'C:\xampp\htdocs...', 428)

1 C:\xampp\htdocs\lib\KaraDAV\Storage.php(206): KaraDAV\Storage->getResourceProperties('')

2 C:\xampp\htdocs\lib\KaraDAV\Storage.php(230): KaraDAV\Storage->get_file_property('', 'DAV::href', 1)

3 C:\xampp\htdocs\lib\KD2\WebDAV\Server.php(740): KaraDAV\Storage->properties('', Array, 1)

4 C:\xampp\htdocs\lib\KD2\WebDAV\Server.php(1296): KD2\WebDAV\Server->http_propfind('')

5 C:\xampp\htdocs\lib\KaraDAV\Server.php(68): KD2\WebDAV\Server->route('')

6 C:\xampp\htdocs\www_router.php(47): KaraDAV\Server->route('/files/admin/')

7 {main}

Kranf99 commented 1 year ago

if I use: const ERRORS_SHOW = false; ..inside the "config.local.php", then it works

By default, in your release, this parameter is TRUE. You should at least put it to FALSE before doing a release. ..or, even better, solve the deprecated message.

bohwaz commented 1 year ago

Fixed, thanks for reporting.