Apps
Knowledge
People
Register
Login

-
- Knowledge base . 
Go back to the overview page to see other entries
Back to overview

2
votes
click to vote up

OC_Filesystem error on OC 7


Application - Jul 29 2014
answered
Question:hi there, i get an error opening the app: the counter for scanning is on hold at 2, as i got 2 items found (1 is a dummy file) but no subdirs nor their contained items.

i also can play these displayed 2 with "music".

i use an -folder on a mounted ntfs hdd-drive containing the music.

the logfile says: Class 'OC_Filesystem' not found at /var/www/owncloud/apps/music/appframework/core/api.php#400

can u please telll me what's wrong here? thanks





Answer:The issue is related to an deprecated function.

Just edit the mentioned file (apps/music/appframework/core/api.php) on line 400

Old: Quote:
return \OC_Filesystem::getLocalFile($path);

New: Quote:
return \OC\Files\Filesystem::getLocalFile($path);


Then the scan will complete sucessfully!





Edit answer


Back to overview
Add comment

Do you have a question?
Post your question here





-
 
 Who we are
Contact
Register
Explore
Apps
Knowledge
People
Participate
Add App
Public API
About apps.ownCloud.com
Legal Notice
Report Abuse
 

Copyright 2011-2016 apps.ownCloud.com Team  
All rights reserved. apps.ownCloud.com is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.