| Project: | Filemanager |
| Version: | master |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I've spent a lot of time trying to figure this out and I believe it is a problem with File Manager.
I am currently using acid free to stream embedded videos on my website which uses file manager to store the videos. When I am not on the same local network as my server (aka at my job) my videos will stream up to ~5 MB and than just stop. I press play again or anything. If the file is under 5 MB I have no problem with viewing the entire video.
This is happening on any size video at ~5 MB. I have a 6.7 MB video that always stops at 77%. The reason I believe it is filemanager is because when I upload that same video through Gallery on my website I can stream the entire file with no problems.
You must use internet explorer to open these links:
Here is the video through file manager: http://tinyurl.com/nyuu6
Here is the video through gallery: http://tinyurl.com/o77mu
(I didn't link to the embedded pages because it happens even when it isn't embedded)
Thank you for your help.
Comments
#1
I still can't figure out what this problem is so I am changing the priority.
#2
bump
#3
Hi !
I'm reviving this issue, because it still exists in the latest cvs (01/11/2006).
This problem is caused by an exceeded PHP execution time limit in the _filemanager_transfer function, line 1043:
while (!feof($fd)) {print fread($fd, 1024);
}
fclose($fd);
The proposed replacement :
while (!feof($fd)) {set_time_limit(0);
print fread($fd, 1024*16);
ob_flush();
flush();
}
I haven't tested it thoroughly, so it needs review...
#4
that's technically, not a patch. it seems like a good idea though.
#5
OK, here is a patch against CVS 01/11/2006.
#6
This fixed my problem. Thank you so much for figuring this out. I have been trying to figure it out for 6 months! You made my weekend... thanks!
#7
great thaks, it's been comitted to HEAD and 4.7
#8