core icon indicating copy to clipboard operation
core copied to clipboard

Files inaccessable, Class 'OCA\files\lib\Helper' not found [5.0] [IIS]

Open ad2012 opened this issue 13 years ago • 9 comments

Hello!

Expected behaviour

Clicking on a file should show it/download it.

Actual behaviour

After upgrading to OC5, no file can be opened, stating "Cloud not found".

Steps to reproduce

  1. Log in
  2. Click on any file
  3. Error. PHP.log says: [14-Mar-2013 08:33:34 UTC] PHP Fatal error: Class 'OCA\files\lib\Helper' not found in C:\inetpub\wwwroot\owncloud\apps\files\ajax\getstoragestats.php on line 9

Server configuration

Operating system: Windows 2008 R2 up-to-date

Web server: IIS7.5

Database: MySQL

PHP version: 5.3.13

ownCloud version: 5.0

Client configuration

Browser: Firefox 19

Operating system: Win7x64

Logs

Web server error log

[14-Mar-2013 08:02:44 UTC] PHP Fatal error:  Class 'OCA\files\lib\Helper' not found in C:\inetpub\wwwroot\owncloud\apps\files\ajax\upload.php on line 16
[14-Mar-2013 08:11:29 UTC] PHP Notice:  Undefined index: SERVER_SIGNATURE in C:\inetpub\wwwroot\owncloud\tool.php on line 246
[14-Mar-2013 08:11:46 UTC] PHP Warning:  fileowner(): stat failed for ./data in C:\inetpub\wwwroot\owncloud\tool.php on line 92
[14-Mar-2013 08:12:13 UTC] PHP Warning:  chmod(): No such file or directory in C:\inetpub\wwwroot\owncloud\tool.php on line 206
[14-Mar-2013 08:12:47 UTC] PHP Notice:  Undefined index: SERVER_SIGNATURE in C:\inetpub\wwwroot\owncloud\tool.php on line 246
[14-Mar-2013 08:12:50 UTC] PHP Warning:  fileowner(): stat failed for ./data in C:\inetpub\wwwroot\owncloud\tool.php on line 92
[14-Mar-2013 08:28:40 UTC] PHP Fatal error:  Class 'OCA\files\lib\Helper' not found in C:\inetpub\wwwroot\owncloud\apps\files\ajax\upload.php on line 16
[14-Mar-2013 08:33:34 UTC] PHP Fatal error:  Class 'OCA\files\lib\Helper' not found in C:\inetpub\wwwroot\owncloud\apps\files\ajax\getstoragestats.php on line 9

ownCloud log (data/owncloud.log)

{"app":"core","message":"Authentication cookie rejected for user Arndt","level":2,"time":1363248014}
{"app":"PHP","message":"Class 'OCA\\files\\lib\\Helper' not found at C:\\inetpub\\wwwroot\\owncloud\\apps\\files\\ajax\\upload.php#16","level":4,"time":1363248164}
{"app":"PHP","message":"filemtime(): stat failed for F:\\owncloud_datastore\/var\/gallery\/var\/\/2012-09-08 BSOD.png at C:\\inetpub\\wwwroot\\owncloud\\apps\\gallery\\lib\\thumbnail.php#95","level":2,"time":1363248490}
{"app":"PHP","message":"filesize(): stat failed for F:\\owncloud_datastore\/var\/gallery\/var\/\/2012-09-08 BSOD.png at C:\\inetpub\\wwwroot\\owncloud\\apps\\gallery\\lib\\thumbnail.php#96","level":2,"time":1363248490}
{"app":"PHP","message":"Undefined offset: 1 at C:\\inetpub\\wwwroot\\owncloud\\apps\\gallery\\ajax\\gallery.php#12","level":2,"time":1363248490}
{"app":"PHP","message":"Class 'OCA\\files\\lib\\Helper' not found at C:\\inetpub\\wwwroot\\owncloud\\apps\\files\\ajax\\upload.php#16","level":4,"time":1363249720}
{"app":"PHP","message":"Class 'OCA\\files\\lib\\Helper' not found at C:\\inetpub\\wwwroot\\owncloud\\apps\\files\\ajax\\getstoragestats.php#9","level":4,"time":1363250014}

Browser log

n/a

ad2012 avatar Mar 14 '13 08:03 ad2012

@DeepDiver1975

BernhardPosselt avatar Mar 14 '13 12:03 BernhardPosselt

What's that?

 C:\inetpub\wwwroot\owncloud\tool.php

THX

DeepDiver1975 avatar Mar 14 '13 13:03 DeepDiver1975

It's a tool from owncloud-forum (used for troubleshooting common problems like missing read-write-access, etc.). It didn't find any problem.

ad2012 avatar Mar 14 '13 13:03 ad2012

I just upgraded to 5.0, Windows 2008 R2, same issue, all files get cloud not found.

JC1738 avatar Mar 17 '13 03:03 JC1738

Please give the git branch stable5 a try - some windows issues have been resolved there already. THX

DeepDiver1975 avatar Mar 19 '13 13:03 DeepDiver1975

close due to inactivity

DeepDiver1975 avatar Mar 26 '13 21:03 DeepDiver1975

Sorry was on Vacation. Didn't mean to have inactivity. I just tried to upgrade my 4.5.8 to 5.0.2 and still experience same issue. upgrade says successful, see all files on web client, then when click on a file it says cloud not found.

JC1738 avatar Apr 02 '13 23:04 JC1738

Okay, tried 5.0.3, same result. On a side note, I cleared all documents on 4.5.8, then did an upgrade and then re-added documents via the cloud desktop sync, and since this version fixed the .part issue, I am good to go. I am just going to stick with 5.0.3, but others will probably have the issue of upgrading from 4.5.8 to 5.0.X on Windows 2008 using the data directory in a different location.

JC1738 avatar Apr 03 '13 19:04 JC1738

I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.

Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)

Thank you!

jancborchardt avatar Aug 07 '13 17:08 jancborchardt