Strange problem with flash files - anybody has some hints?

Author Message

Georg Franz

Friday 03 March 2006 8:24:46 am

Hi,

I've got a really strange - not reproducable - error at displaying flash files.

Short story:
-) Some users are seeing the flash files
-) Some users not.

The reason for "not seeing the flash file" is:
Some Users dont get the last 15 bytes of the flash file from the server, the file isn't complete.

So, I've tried many things to nail down the error.

-) The html-code is correct.
-) It's not a browser issue. (Tried with many different browsers)
-) It's not a flash version issue.
-) It's not a permission issue.

On the homepage, there are 3 flash files which are taken out of ez (dynamicly).

the ezmedia.tpl produces the html, there is (example) following source path for the flash:
/content/download/448/3229/bla.swf
(which is standard)

This isn't working (in my situation)

If I take the new filepath (with $attribute.content.filepath) at ALL three flashes (like var/myaccess/storage ...) it works perfectly.

(If there is at least one "/content/download/..." source given, it doesn't work).

So it seems to be a "header" (or "connection too fast closed"?) problem, but could be anything else of course.

Had anyone a similar problem like that? Any hints where to search?

My environment:
ez 3.7.3 // php 4.4.2 // apache 2.0.54 // debian

Best wishes,
Georg.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Steph A

Wednesday 08 March 2006 11:17:45 am

I had something similar when I was trying to read a XML file dynamicly. After some testing I made it work by moving my .swf file to another folder. In this case to the "design/images" folder. This of course if the .swf file is standard.

Not totally sure of what you are trying to do with the .swf file, but is it reading from content (dynamicly)? or just showing some animation ect (static)?

It seems to me like a permission or template syntax problem.

Michal Slocinski

Tuesday 30 November 2010 10:48:47 am

I just had exactly same problem with eZ Publish 4.3 :-/

Last 25 (in my case) bytes were not downloaded from the server. Your workaround worked for me.

Patrick Kaiser

Tuesday 30 November 2010 11:43:17 am

Hi Georg,

hope you are fine!

Maybe it has something to do with the content-disposition header, but not sure if this is true for your old ez version. See http://issues.ez.no/IssueView.php?Id=13783 for more details.

Also make sure that content-length headers are set (for the swf itself and for all dynamicly loaded assets), although this only seems to be importent for Internet Explorer.

Best wishes.


Best regards,

Patrick

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:56:46
Script start
Timing: Jan 30 2025 00:56:46
Module start 'layout'
Timing: Jan 30 2025 00:56:46
Module start 'content'
Timing: Jan 30 2025 00:56:46
Module end 'content'
Timing: Jan 30 2025 00:56:46
Script end

Main resources:

Total runtime0.0160 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.3750151.2422
Module start 'layout' 0.00540.0027 739.617236.7109
Module start 'content' 0.00820.0065 776.328194.2188
Module end 'content' 0.01460.0013 870.546933.9922
Script end 0.0159  904.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002113.0185140.0001
Check MTime0.00106.0892140.0001
Mysql Total
Database connection0.00063.493010.0006
Mysqli_queries0.003823.869030.0013
Looping result0.00000.150710.0000
Template Total0.00106.210.0010
Template load0.00084.794110.0008
Template processing0.00021.338410.0002
Override
Cache load0.00053.379610.0005
General
dbfile0.002515.407380.0003
String conversion0.00000.029840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs