Adjust files_opds for Nextcloud 16
These fixes seem to work. wost thing was the template handling wire file => $file caused a clash.
See also: https://github.com/Yetangitu/owncloud-apps/issues/120
These fixes seem to work. wost thing was the template handling wire file => $file caused a clash.
See also: #120
Still not work. After adding the file_opds into Nextcloud, an item called Additonal settings was created. However, when I clicked Additonal settings as admin, it just got "HTTP ERROR 500"; when I clicked Additonal settings as personal user, it just got "Directory does not exist!"
And the logging panel shows: Cannot redeclare checkBox() (previously declared in /var/snap/nextcloud/16739/nextcloud/extra-apps/files_opds/templates/admin.php:15) at /var/snap/nextcloud/16739/nextcloud/extra-apps/files_opds/templates/admin.php#15 How can I fix it?
Note this PR is nt merged in the "official" here yet. You need the tree from my repo.
Thank you for replying. But I really downloaded the branch from your repo(not the master). And it didn't work…
---Original--- From: "noci2012"<[email protected]> Date: 2019/11/24 22:55:05 To: "Yetangitu/owncloud-apps"<[email protected]>; Cc: "Comment"<[email protected]>;"PageGuo"<[email protected]>; Subject: Re: [Yetangitu/owncloud-apps] Adjust files_opds for Nextcloud 16 (#121)
Note this PR is nt merged in the "official" here yet. You need the tree from my repo.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
The chosen directory in the user context should already exist. (AFAICT). (I already had a nextcloud directory, Library, where the documents were) so that why i never ran into this.) I will look into this.