Skip to content

Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in filesystem.php #23804

@d3xt3r01

Description

@d3xt3r01

Steps to reproduce

  1. share a directory with some .mp4 files
  2. play on iphone

Expected behaviour

The video should play

Actual behaviour

Nothing happens when clicking the play video

Server configuration

Operating system:
centos 7.2.1511

Web server:
apache 2.4.6-40.el7

Database:
mariadb-5.5.47-1.el7_2

PHP version:
php-7.0.5-1.el7.remi

ownCloud version: (see ownCloud admin page)
owncloud-files-9.0.0-3.1.noarch

Updated from an older ownCloud or fresh install:
updated

Where did you install ownCloud from:
ce:stable.repo
baseurl=http://download.owncloud.org/download/repositories/stable/CentOS_7

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.
List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder

The content of config/config.php:

{
    "system": {
        "instanceid": "oc4d6xg6wamc",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "thepostoffice.ro"
        ],
        "datadirectory": "\/var\/www\/html\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/93.114.160.82\/cloud",
        "dbtype": "mysql",
        "version": "9.0.0.19",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "loglevel": 0,
        "forcessl": true,
        "mail_from_address": "office",
        "mail_smtpmode": "php",
        "mail_domain": "thepostoffice.ro",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "mail.thepostoffice.ro",
        "mail_smtpport": "143",
        "maintenance": false,
        "trashbin_retention_obligation": "auto",
        "has_internet_connection": true,
        "updatechecker": false,
        "theme": ""
    }
}

Are you using external storage, if yes which one: local/smb/sftp/...
no

Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Browser:
Iphone

Operating system:
IOS9

Logs

Web server error log

PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/html/owncloud/lib/private/files/filesystem.php:804
Stack trace:
#0 /var/www/html/owncloud/lib/private/files/view.php(1973): OC\\Files\\Filesystem::normalizePath('/dan/files/Serb...')
#1 /var/www/html/owncloud/lib/private/files/view.php(1091): OC\\Files\\View->unlockFile('/Serbanica/Diab...', 1)
#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()
#3 /var/www/html/owncloud/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))
#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()
#5 {main}
  thrown in /var/www/html/owncloud/lib/private/files/filesystem.php on line 804, referer: https://thepostoffice.ro/cloud/index.php/.....

ownCloud log (data/owncloud.log)

{"reqId":"VwOzeVEhHfZSV6mwnxC2EAAAAAE","remoteAddr":"93.114.160.26","app":"PHP","message":"Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in \/var\/www\/html\/owncloud\/lib\/private\/files\/filesystem.php:804\nStack trace:\n#0 \/var\/www\/html\/owncloud\/lib\/private\/files\/view.php(1973): OC\\Files\\Filesystem::normalizePath('\/dan\/files\/Serb...')\n#1 \/var\/www\/html\/owncloud\/lib\/private\/files\/view.php(1091): OC\\Files\\View->unlockFile('\/Serbanica\/Diab...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 \/var\/www\/html\/owncloud\/3rdparty\/icewind\/streams\/src\/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown at \/var\/www\/html\/owncloud\/lib\/private\/files\/filesystem.php#804","level":3,"time":"2016-04-05T12:45:45+00:00","method":"GET","url":"\/cloud\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json"}

Browser log

No idea on how I could get that on IOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions