Closed (fixed)
Project:
FSCache
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2005 at 16:03 UTC
Updated:
12 Nov 2006 at 19:16 UTC
I just installed the filestore2.module and created tables for it. Then activated and tested a JPG file. If i send 11KB file, then the downloadable file is 9KB or if i send 1.6KB file, then the downloadable file size is also 1.6KB. But the downloadable JPG file is not viewable with any kind of picture viewer/editor software.
I have also the fscache installed.
At admin panel i see:
*access denied - filestore2/download/69/Smilodon
*php - fopen(misc/fscache/50/E7/50E78834): failed to open stream: No su
over and over again.
Comments
Comment #1
fletcherson commentedPermissions in the filesystems?
Comment #2
smilodon commentedNo i didnt eaven manage to find the files... though they are downloadable. The URL is modified or the files are in the database.. i have no ideas.
Comment #3
gordon commentedwhat is in the file that was downloaded? I think that there is an error message that is being displayed but instead being downloaded as a file.
Comment #4
smilodon commentedIn the file ?.. it is JPG, so in it, there was a picture ofcause. Im using the latest firefox.. and i dont see any error messages while downloding. The file, that i download wont just open up... it gets corrupted or something in the proccess of saving it to the database.
The veird error messages as i said at first are displayed in the "administrate" or admin panel... or whatever it is in english.. (i have a translated interface).
I found somekind of other issue similar to my issue. Corrupted files... but i cant find the link now. As much as i remember there was a fix sugested to the filestore2 file. I tryed it, and it didnt work at all.
I found these two issues also:
http://drupal.org/node/20453
http://drupal.org/node/15627
They are very different, because i dont get any errors on my site, besides ones in admin panel.
But they also have the "warning: fopen(misc/fscache..."
Comment #5
keve commentedI found the same problem on Drupal 4.6.4.
Uploading file is ok. I also checked it w/ ftp. The uploaded file is identical.
But at downloading file gets corrupted. (I tried it with zip, jpg). The size is same as original, but the file is corrupted.
I also tried both upload/download w/ firefox and IE.
There is no error message at all in watchdog.
I tried it on two servers:
Apache/1.3.34 (Unix) PHP/5.0.4 (Linux altix 2.6.5-7)
Apache/2.0.53 (Win32) PHP/5.0.4(Windows XP 2600)
Comment #6
gordon commentedThis is actually a php5 issue, I think, but I am not entirely sure it is fixed in 5.0.5.
I am looking at stopping using fscache in favour of filemanager which is a little better, and has some additional functionality.
Comment #7
keve commentedYou are right. It is solved with php 5.0.5.
Although i could download only w/ "Save target as...".
I get always error:
warning: Cannot modify header information - headers already sent by (output started at J:\_Webserver\vcsoszsz\modules\fscache\fscache.module:1) in J:\_Webserver\vcsoszsz\modules\fscache\fscache.module on line 140-143
Comment #8
fletcherson commentedSeems like this is fixed.
Comment #9
(not verified) commented