core icon indicating copy to clipboard operation
core copied to clipboard

PHP error when user tries to download Shared directory

Open oparoz opened this issue 14 years ago • 7 comments

Users have the option of downloading the Shared folder, but when they try they get a blank page (PHP error), because that folder is virtual, but owncloud is looking for it in the file system.

Here is what's in the logs: PHP Warning: fopen(/public_html/data/client1/files/Shared): failed to open stream: No such file or directory in /public_html/lib/filestorage/local.php on line 112

The URL is: /?app=files&getfile=ajax/download.php&files=Shared&dir=%2F

oparoz avatar Dec 02 '12 11:12 oparoz

@interfasys Which version are you using?

DeepDiver1975 avatar Dec 03 '12 10:12 DeepDiver1975

@MTGap @icewind1991 @schiesbn Can you please have a look? THX

DeepDiver1975 avatar Dec 03 '12 10:12 DeepDiver1975

The bug is present in both 4.5.2 and 4.5.3

oparoz avatar Dec 03 '12 12:12 oparoz

i got the same or - at least - a smiliar problem like interfasys.

when i share a folder in my OC 4.5.3 per link and i open the share-link, i get this:

http://www.kingpic.net/uploads/unbenannt5ulo4gg4.png

this is NOT caused by my custom theme. i activated the default OC-theme and got the same errors...

for me personal it's no big thing, but my buddies are getting crazy and afraid, when loading pages w/ error flooding...

abstractmodel avatar Dec 04 '12 11:12 abstractmodel

@abstractmodel I think this is not related to the issue discussed here. Your bug sounds like https://github.com/owncloud/core/issues/657

schiessle avatar Dec 04 '12 12:12 schiessle

ok, thank you - i'll post there...

abstractmodel avatar Dec 04 '12 14:12 abstractmodel

fix is merged into stable45 and will be released with the next bug fix release

schiessle avatar Dec 12 '12 12:12 schiessle