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.