VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: djillius on April 09, 2012, 20:50:46 PM

Title: Undefined index: virtuemart_order_id
Post by: djillius on April 09, 2012, 20:50:46 PM
Hello everybody,

I always a problem i cant get the dowload file for a product.
In apache_error.log i have a  PHP Notice:  Undefined index: virtuemart_order_id in C:\\......\\vmcustom\\st42_download\\st42_download.php on line 309.
Could you help me.
Thanks
djillius
Title: Re: Undefined index: virtuemart_order_id
Post by: Milbo on April 11, 2012, 23:06:05 PM
Imho there should be a new version online, please take a look on your order online, there you can see the new version.
Title: Re: Undefined index: virtuemart_order_id
Post by: djillius on April 12, 2012, 10:53:27 AM
Hello
Thanks for your answer.
I see my order online but i see only the file version i already downloaded. I update virtuemart 2.0.2 to 2.0.4 and the plugin i buy is the _st42_download1.0.1.zip and
plgvm_st42_download1.0.3.zip, i install the 1.0.3 but the error is always the same.
i get the product file but when i want to unzipp the file is corrupted.
i use wamp server 2.2. is there something to change in the server ???
i hope you can help me
best regards
Title: Re: Undefined index: virtuemart_order_id
Post by: Milbo on April 12, 2012, 12:23:51 PM
I sent a pm to you.
Title: Re: Undefined index: virtuemart_order_id
Post by: alex1560 on April 18, 2012, 23:14:56 PM
same issue here :

Warning: Invalid argument supplied for foreach() in xxxx/plugins/vmcustom/st42_download/st42_download.php on line 159

any fix ? joomla 2.5 and vm 2.04
Title: Re: Undefined index: virtuemart_order_id
Post by: alex1560 on April 18, 2012, 23:37:48 PM
problem solved, updated to last version of that plugin and everything run smoothly.. finally..