Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License.php file cannot be found by PHP #114

Open
kevinkuan1969 opened this issue Jan 8, 2023 · 10 comments
Open

License.php file cannot be found by PHP #114

kevinkuan1969 opened this issue Jan 8, 2023 · 10 comments

Comments

@kevinkuan1969
Copy link

kevinkuan1969 commented Jan 8, 2023

Describe the bug:
Found the error always display at the Log many times said that no such License.php found at

Error: include(): Failed opening '/var/www/nextcloud/apps/unsplash/templates/partials/license.php'

Have check the directory only found below:

  • licenseUnsplash.php
  • licenseWallhavenCC.php
  • licenseWikimediaCommons.php
@newhinton
Copy link
Contributor

newhinton commented Jan 8, 2023

Additional logs: image
I am also getting these errors in my logs. When I check the folder path specified I get the following files.

-rw-r--r-- 1 www-data www-data  451 Dec 21 06:46 licenseUnsplash.php
-rw-r--r-- 1 www-data www-data  450 Dec 21 06:46 licenseWallhavenCC.php
-rw-r--r-- 1 www-data www-data  341 Dec 21 06:46 licenseWikimediaCommons.php

Thinking about renaming one of the to license and see what happens.

Also my splash screens are working as they should. Just getting the error logs.

EDIT: Confirmed that Im using the WallhavenCC splash screens. I made a copy of the licenseWallhavenCC.php and named it license.php. Now the errors do not exist.

#113 (comment) by @tonytonyistony

@kevinkuan1969
Copy link
Author

Thank you very much

@masterwishx
Copy link

The problem still not fixed in v26 ?

@masterwishx
Copy link

renamed licenseUnsplash.php to license.php but still have error :

image

@newhinton
Copy link
Contributor

Renaming alone wont help, did you also fix the permissions?

Generally, i cant really reproduce this issue because my instance (nc25) does not show this issue. I will have to investigate why that is the case. Also i will create an empty file that fixes this.

@masterwishx
Copy link

No what should i set permitions ?

@masterwishx
Copy link

im using linuxserver/nextcloud in Unraid

image

@dmedi011
Copy link

getting the same errors after updating Nextcloud

@asheroto
Copy link

Still receiving this error as of 2023-04-24

image

@masterwishx
Copy link

Also still have same error, not sure some one was working on fix...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants