News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Download files are destroyed

Started by Criz, November 21, 2012, 22:18:05 PM

Previous topic - Next topic

Criz

Hi There,

I use VM 2.0xx and the Virtual Products Plug In. Everything is OK but when i Download the bought file via the link it loads about 95% and than it stops. I checked already on different receivers. But all the same. Download Starts pretty fast but hangs up at 95% . Does anybody has an Idea, I am sure it is something very simple, but i just can find it. So every advice is really welcome, thanks.

jenkinhill

2.0xx is not precise enough. Always try to give the proper Joomla, VM and PHP version.

You problem sounds like a server issue . Are your PHP resources set high enough?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Criz

Hi Thanks, it seems you are right, since i tried smaler files and they worked fine. How do I change those the best?
in php.ini I can read ; Resource Limits ;
max_execution_time = 60     ; Maximum execution time of each script, in seconds
max_input_time = 60   ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M      ; Maximum amount of memory a script may consume (16MB)

Shall i change it here? I just ask since i am not that familar with php and I do not want to mess it. Thank you

My fles are not larger than 25MB

bytelord

Hello,

Change them to:

max_execution_time = 300     ; Maximum execution time of each script, in seconds
max_input_time = 60   ; Maximum amount of time each script may spend parsing request data
memory_limit = 128M      ; Maximum amount of memory a script may consume (16MB)

and add:

value upload_max_filesize 30M

or use FTP to upload them ...
Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Criz

Hi Thank You, i did the changes , but still the download stops at about 94% 96% sometimes 99%
you can check my php by using this link http://conwoodmusic.de/view-php-info.php
Could there be any other reason causing this stopping of download ?

bytelord

Try,

max_input_time = 300   ; Maximum amount of time each script may spend parsing request data
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Criz

Thank you, but still no success. Do you have any other idea?

bytelord

Hi,

What's the exactly error on apache log file?
can you also check joomla error log?

What's your PHP, joomla and vm2 versions you are using?

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Criz

hi there and thanks for your patience here is what i have founfd in log file:
[22-Nov-2012 14:16:21] PHP Notice:  Trying to get property of non-object in /html/joomla/plugins/vmcustom/st42_download/st42_download.php on line 407
[22-Nov-2012 14:16:21] PHP Notice:  Undefined variable: name in /html/joomla/plugins/vmcustom/st42_download/st42_download.php on line 411
[22-Nov-2012 14:16:21] PHP Notice:  Undefined property: stdClass::$file_description in /html/joomla/plugins/vmcustom/st42_download/st42_download.php on line 205
[22-Nov-2012 14:16:21] PHP Notice:  Undefined property: stdClass::$file_title in /html/joomla/plugins/vmcustom/st42_download/st42_download.php on line 206

Criz

OK Guys I am really sorry, but it seems i just forgot to upload st42_download1.0.6 . Anyway I installed it new/again or first time - i really don't know - and now the downloads working. Somehow I had all the time the feeling that it is something really stupid.
Thank you for your help!