Forums / General / Flash Prbolem ( ? File Size ? )
Alessandro DellAnna
Thursday 22 January 2009 6:50:31 am
Hello, i am using ezpublish 4.0.1 with ezwebin .. i am tring to put a emebed flash on home page but i have some problem. Flash is loading but nothing after .... i have try reducing quality and, if the file is less thank 100kb, is running normaly. I have watch in the ini if there are a limit but i havent find it ... After i have find the problem the Contet dispostion soi i delet this line header( "Content-disposition: attachment; filename=\"$originalFileName\"" ); from ezfilepassthroughhandler.phpbut nothing happened..what can i do?
David Sayre
Monday 26 July 2010 2:23:12 pm
We have a workaround for LARGE files
Edited ezfilepassthroughhandler.php:
line 99:
// Workaround for large files while($var=fread($fh,10000)) { print($var); } //fpassthru( $fh );
This is working but I need to know if this a bug I'm fixing or eZ systems is using fpassthru() instead of fread() for a reason
ezfilepassthroughhandler.phpedited
Gabriel Finkelstein
Monday 26 July 2010 6:33:06 pm
Have you verified if the file is uploaded or not? Use a tool like Firebug or copy the url from the source code, and check if you get a 404 error. If there is no 404 error, then maybe it's a flash setting thing. Or if the flash is downloaded instead of opened it might also be a problem of the code used for embedding the flash.