PHP OCP\AutoloadNotAllowedException

Ask all your questions regarding OC 9.0 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
iCone
Beginner
Posts: 32
Joined: Tue May 05, 2015 9:50 pm
ownCloud version: 9.0.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.45

PHP OCP\AutoloadNotAllowedException

Postby iCone » Tue Jul 19, 2016 4:40 pm

Please help us by providing the following info. Before posting please also check the pinned "Known issues" thread.

Steps to reproduce
1. Log into Admin page
2. Verify Log


Expected behavior
No error should be logged

Actual behavior
OC logs this every time an user logs in:
Error PHP OCP\AutoloadNotAllowedException: Autoload path not allowed: /var/www/html/owncloud/apps/dav/lib/connector/sabre/exceptionloggerplugin.php at /var/www/html/owncloud/lib/autoloader.php#152

Error OCP\Share Sharing backend for principals not found

Server configuration
Operating system: CentOS 6.8
Web server: Apache 2.2.15
Database: MySQL
PHP version: 5.4.45
ownCloud version (see ownCloud admin page): ownCloud 9.0.3 (production)
Updated from an older ownCloud or fresh install: Fresh install
ownCloud log (data/owncloud.log):

{"reqId":"PMOsgLu+OmHvZE7J49Rw","remoteAddr":"192.168.1.135","app":"PHP","message":"OCP\\AutoloadNotAllowedException: Autoload path not allowed: \/var\/www\/html\/owncloud\/apps\/dav\/lib\/connector\/sabre\/exceptionloggerplugin.php at \/var\/www\/html\/owncloud\/lib\/autoloader.php#152","level":3,"time":"2016-07-14T02:00:06+00:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/","user":"--"}

{"reqId":"Jq7M+0Dci9hV9v1UUjUh","remoteAddr":"192.168.1.121","app":"PHP","message":"OCP\\AutoloadNotAllowedException: Autoload path not allowed: \/var\/www\/html\/owncloud\/apps\/dav\/lib\/connector\/sabre\/exceptionloggerplugin.php at \/var\/www\/html\/owncloud\/lib\/autoloader.php#152","level":3,"time":"2016-07-18T02:00:07+00:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/","user":"--"}


Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): No special configurations
Last edited by iCone on Tue Jul 19, 2016 5:28 pm, edited 1 time in total.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: PHP OCP\AutoloadNotAllowedException

Postby RealRancor » Tue Jul 19, 2016 4:54 pm

Hi,

please report directly to:

https://github.com/owncloud/core/issues
*gone*

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: PHP OCP\AutoloadNotAllowedException

Postby RealRancor » Tue Jul 19, 2016 10:05 pm

*gone*

iCone
Beginner
Posts: 32
Joined: Tue May 05, 2015 9:50 pm
ownCloud version: 9.0.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.45

Re: PHP OCP\AutoloadNotAllowedException

Postby iCone » Wed Jul 20, 2016 2:35 pm



Thanks for the link, has been there for a bit and not a single comment.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: PHP OCP\AutoloadNotAllowedException

Postby RealRancor » Wed Jul 20, 2016 4:13 pm

22 hours is not that long. Just have some patience...
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 9.0”

Who is online

Users browsing this forum: No registered users and 1 guest