-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
AutoloadNotAllowedException #3569
Comments
Can you please before the modified line add: |
I tried to reproduce this today, but the error does not occur anymore. |
Thanks, feel free to reopen the issue, when it happens again. |
I had the same problem, |
I had the same issue, the return true fix did work. Edit : the upgrade to 12.0.5 resolved the issue. |
nextcloud-13.0.2-r0 from AlpineLinux repository. Same issue. |
'version' => '13.0.2.1', same issue, after after in https://x/index.php/settings/apps?category=files I removed Onlyoffice app and |
NC 13.0.2 |
@ferdiga Thank you for this! I didn't have OnlyOffice but removing Bookmarks fixed the admin page for me. V13.0.6 |
出现这个问题的解决方案是因为:autoloader.php中的protected function isValidPath(string $fullPath)方法对于路径的判断,在windows中用\作为路径,但是循环中获取的路径是/,因此,出现错误。 |
Steps to reproduce
Install a new nextcloud v11.0.1.2 with nginx and mysql as backend.
Use a data folder on an extern harddrive.
Expected behaviour
Normal running system.
Actual behaviour
Can not access any folder in Webbrowser.
Error Log from Nginx:
Server configuration
Operating system:
Ubuntu 16.04.1 LTS
Linux foo 3.10.96-113 #1 SMP PREEMPT Wed Jul 6 22:19:28 UTC 2016 armv7l armv7l armv7l GNU/Linux
Web server: nginx
Database: mysql
PHP version:
PHP 7.0.13-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.13-0ubuntu0.16.04.1, Copyright (c) 1999-2016, by Zend Technologies
Nextcloud version: 11.0.1.2
Updated from an older Nextcloud/ownCloud or fresh install:
Error occurs on both.
Where did you install Nextcloud from: zip file from nextcloud homepage.
Hotfix:
If you replace
in lib/autoloader.php:141
with:
return true; //throw new AutoloadNotAllowedException($fullPath);
You can use nextcloud with no apparent problems.
The text was updated successfully, but these errors were encountered: