Ever heard of mixed-up files?

Author Message

Nicklas Lundgren

Wednesday 01 February 2006 7:29:18 am

Hi all,

Ive just stumbled over a really interesting issue;
A customer called me and asked why PDF-files on their site gets mixed up.

For example:
The customer uploads a pdf to the site. Lets call it filenr1.pdf.
Initially everything works out great. But...

Later on, when a visitor on the website visits the page, and clicks on the file for download, some really interesting stuff happens.

While the file still is called filenr1 on the webpage, and in the download dialogue window, it is another file that opens in Acrobat reader!

Thus, it seems like the system changes the content of the file at some moment. The file retains its original file name, but the content seems to get mixed up.

Has anyone of you seen this issue before? Maybee I should file it as a bug... I just want to rule out any possibility of user-induced errors before...

Appreciate any feedback on this.

Kind regards,
/Nicklas

Nicklas Lundgren, Managing Director
Novitell AB, Sweden

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 20 2025 21:06:26
Script start
Timing: Jan 20 2025 21:06:26
Module start 'layout'
Timing: Jan 20 2025 21:06:26
Module start 'content'
Timing: Jan 20 2025 21:06:27
Module end 'content'
Timing: Jan 20 2025 21:06:27
Script end

Main resources:

Total runtime0.8251 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.9141151.2109
Module start 'layout' 0.00670.0039 739.125036.6484
Module start 'content' 0.01060.8135 775.7734495.2109
Module end 'content' 0.82420.0009 1,270.98447.8516
Script end 0.8250  1,278.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4202160.0002
Check MTime0.00140.1666160.0001
Mysql Total
Database connection0.00090.103510.0009
Mysqli_queries0.781094.6630460.0170
Looping result0.00060.0767440.0000
Template Total0.785395.220.3927
Template load0.00200.239520.0010
Template processing0.783394.944820.3917
Template load and register function0.00010.012110.0001
states
state_id_array0.00100.124310.0010
state_identifier_array0.00190.231520.0010
Override
Cache load0.00160.1976170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.071810.0006
Fetch class attribute name0.00120.149020.0006
XML
Image XML parsing0.00150.181610.0015
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00190.2334170.0001
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs