VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: patrik60 on April 09, 2012, 11:12:35 AM

Title: Order problem in rev 5833
Post by: patrik60 on April 09, 2012, 11:12:35 AM
After completing an order items remain in the cart and can be ordered again and again by pressing the order confirm button and get always new order numbers.
Was it your intetion to change the confirm page (just this form, no layout)?  See attached pic.



[attachment cleanup by admin]
Title: Re: Order problem in rev 5833
Post by: patrik60 on April 09, 2012, 12:12:34 PM
Problem started with rev 5830
Title: Re: Order problem in rev 5833
Post by: patrik60 on April 09, 2012, 12:37:49 PM
The problem is that the whole mail_html_pricelist.php is uncommented. Maybe this is your intention to make some fixes.
Title: Re: Order problem in rev 5833
Post by: patrik60 on April 10, 2012, 00:47:09 AM
Not solved in 2.0.4
Title: Re: Order problem in rev 5833
Post by: teobgeno on April 10, 2012, 05:51:00 AM
I do not know if my issue has something to do with that.  I am working on  joomla 1.5.26 Vm 2.0.4

After complete an order at frontend i get a fatal error from php that cannot include invoice_items.php from components/com_virtuemart/views/invoice/tmpl/whole mail_html_pricelist.php

the file contains

require(__DIR__.'invoice_items.php');


Because my php version on xampp i develop is not supporting the __DIR__   i modify the require(__DIR__.'invoice_items.php');    to

require('invoice_items.php');

the invoice_items.php is in the same folder so it is ok.You can use dirname(__FILE__) command as well . Maybe your issue is the same but you have turn error reporting off so you have not see any output.
Title: Re: Order problem in rev 5833
Post by: patrik60 on April 10, 2012, 09:19:16 AM
QuoteBecause my php version on xampp i develop is not supporting the __DIR__   i modify the require(__DIR__.'invoice_items.php');    to

require('invoice_items.php');

Thank you. php 5.3 is required.
Title: Re: Order problem in rev 5833
Post by: Milbo on April 11, 2012, 23:37:19 PM
Thanks for this knowledge.