News:

Looking for documentation? Take a look on our wiki

Main Menu

Problem with Download files

Started by Paulchen, April 03, 2009, 11:24:34 AM

Previous topic - Next topic

Paulchen

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!