VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: Paulchen on April 03, 2009, 11:24:34 AM

Title: Problem with Download files
Post by: Paulchen on April 03, 2009, 11:24:34 AM
Hello world!

I discovered a few bugs in download file functionality. VM v.1.1.13 on Joomla 1.5.10

I have one Product with downloadable file. The file is located in a directory higher than DocumentRoot. In this case I see in the Product page a link with incorrect size (0.00 Kb)
When I try to download this file I get an error which says that I'm trying to download file /home/DocumentRoot/mysite.com/home/Downloads/Product1.zip
After corrections of two files:
/administrator/components/com_virtuemart/classes/ps_product_files.php
and
/administrator/components/com_virtuemart/classes/connectionTools.class.php
I solved this problem. But...
When I'trying to download this file (18 Mb), all browsers (IE, FF, Opera) can't finish download process because of limitation of Max_execution_time.

The same problem (can't download) is related to files to be sold.


How to solve?

Thanks!
Title: Re: Problem with Download files
Post by: Marlon on July 19, 2009, 21:13:35 PM
Hi Paul,

Please see this post.
http://forum.virtuemart.net/index.php?topic=55774.msg190525#msg190525

Cheers,
Marlon