zip download not working

Author Message

Andreas Kaiser

Friday 12 January 2007 9:50:23 am

I have a problem with embed files download. The site is ez 3.8.6 and has a host configuration. When I try to download a zip file embed in an article I get an kernel error 3 when accesing the url: www.domain.com/content/download/383/2215/file/example_file.zip

Debug gives following errors:

Error:  	Jan 12 2007 18:27:55

The specified file could not be found.

Error: error/view.php 	Jan 12 2007 18:27:55

Error ocurred using URI: /content/download/383/2215/file/example_file.zip

When I try the url admin.domain.com/content/download/383/2215/file/example_file.zip the file download works, so perhaps it is a problem with user rights. But in this site anonymous user has content/read for all classes in Standard, Media, ...

With pdf this doesn't happens... and I'm lost :(

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Sandra Parente

Sunday 25 February 2007 3:24:49 am

I had the same problem, it may be due to apache RewriteRule configuration or to apache user permissions. For the moment I solved it allowing direct download in settings/file.ini (create an override ini file!):

[BinaryFileSettings]
#Handler=ezfilepasstrough
# Swap with the above line to get direct downloads
# Note: Direct downloads does not check roles permissions.
Handler=ezfiledirect

This because in my file system the .zip files are all OK.

If someone knows a better solution, pls post it here.

Sandra Parente
www.netbliss.it

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 19 2025 00:24:04
Script start
Timing: Jan 19 2025 00:24:04
Module start 'layout'
Timing: Jan 19 2025 00:24:04
Module start 'content'
Timing: Jan 19 2025 00:24:04
Module end 'content'
Timing: Jan 19 2025 00:24:04
Script end

Main resources:

Total runtime0.6846 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.9141152.6250
Module start 'layout' 0.00680.0033 740.539139.4453
Module start 'content' 0.01020.6728 779.9844533.4453
Module end 'content' 0.68300.0015 1,313.42978.1641
Script end 0.6846  1,321.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4870160.0002
Check MTime0.00130.1931160.0001
Mysql Total
Database connection0.00120.169110.0012
Mysqli_queries0.635892.8676540.0118
Looping result0.00050.0746520.0000
Template Total0.652395.320.3262
Template load0.00210.302820.0010
Template processing0.650394.980020.3251
Template load and register function0.00010.014610.0001
states
state_id_array0.00100.151810.0010
state_identifier_array0.00120.181320.0006
Override
Cache load0.00170.2472190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.096320.0003
Fetch class attribute name0.00100.144640.0002
XML
Image XML parsing0.00100.138920.0005
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00090.1367220.0000
String conversion0.00000.001440.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/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: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs