VirtueMart Developer Portal

         
[BUG-1494]  -  virtuemart error on checkout [solved] + cannot disable steps 3/4
Tags:   No tags associated yet.
All Tags...
Go Back
  0  
 Tracker:  Bug  Priority:  High  Status:  Closed
 Resolution:  Fixed  Owner:  --  Severity:  --
 Submitted by:  soeren_nb Oct 13 2007 11:36  Assigned to:  --  Modified by:  Aravot Jan 26 2008 10:19
 Category:  Checkout Process  Platform:  --  OP-SYS:  Linux
 Version:  VirtueMart 1.1.0 beta1  Joomla! Version:  --  Browser Version:  --
 Fixed in Version:  --
Description:
i have updatet to vm 1.1 r994 with joomla 1.5 r9220 now i get followed error:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homepages/29/d187440306/htdocs/administrator/components/com_virtuemart/html/checkout.index.php on line 53
zur Bestellung

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homepages/29/d187440306/htdocs/administrator/components/com_virtuemart/html/checkout.index.php on line 115

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homepages/29/d187440306/htdocs/administrator/components/com_virtuemart/html/checkout.index.php on line 122

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homepages/29/d187440306/htdocs/administrator/components/com_virtuemart/html/checkout.index.php on line 130

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homepages/29/d187440306/htdocs/administrator/components/com_virtuemart/html/checkout.index.php on line 137


Warning: Invalid argument supplied for foreach() in /homepages/29/d187440306/htdocs/administrator/components/com_virtuemart/html/checkout.index.php on line 145

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homepages/29/d187440306/htdocs/administrator/components/com_virtuemart/html/checkout.index.php on line 149

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homepages/29/d187440306/htdocs/administrator/components/com_virtuemart/html/checkout.index.php on line 159

greetings jahn

This bug is solved. See in comments for second part (cannot disable checkout steps 3/4).

Details:
Comments (16)
Attachments (1)
Associations (0)
SCM Commits (0)
All (17)

Submitted Comment
Aravot
Jan 26 2008 10:19
This bug is solved (cannot disable checkout steps 3/4).
soeren_nb
Nov 07 2007 09:22
jahn, can you explain us, exactly, why do you wish to disable 3° and 4° steps?
Aravot
Nov 05 2007 22:01
That would be up to the devs.
soeren_nb
Nov 05 2007 21:55
if i can choose you can close this task.
Aravot
Nov 05 2007 21:50
Should I close this task or do we want to give the option to the user?
soeren_nb
Nov 05 2007 19:13
Yes, these can't be unchecked (code-fixed). I don't think it's a good idea to make them free...

For payment (3° step), you could have selected a credit card payment, and in this case you MUST present the form for inserting numbers!

For confirmation (4° step), I think it's very important. I can't understand why someone should want to skip it.
soeren_nb
Oct 26 2007 21:05
thanks,
Aravot
Oct 26 2007 18:18
Jahn, I confirm that step 3 and 4 can not be unchecked but I think it is because they are related to payment and we don't want users accidentally disabling it, however I could be wrong and this could be a bug. I will ask one of devs to have a look.
soeren_nb
Oct 17 2007 10:00
Thank you, now the error messages are clear.

The problem now is that i cannot send the order because i cannot choose a delivery method in frontend. In backend i have choose standard delivery method.

I use realy vm 1.1 now i have test with 1.1 rel 1001

Also i cannot unmark step 3 and 4 of oder steps like the picture.
the checkbox is dead.

kind regards
Jahn
soeren_nb
Oct 17 2007 09:27
jahn, please try again with the latest revision.

bobby: The Error your reported occurs in VirtueMart 1.0. This bug (#1494) was reported for VirtueMart 1.1 (SVN).
soeren_nb
Oct 17 2007 01:20
I getting the following error when checking out:

Warning: sprintf(): Too few arguments in /home/content/r/p/e/rpeters/html/administrator/components/com_virtuemart/html/checkout.index.php on line 258

Please help!
soeren_nb
Oct 14 2007 17:34
here it is
[{/* OrderByFields */
global $VM_BROWSE_ORDERBY_FIELDS;
$VM_BROWSE_ORDERBY_FIELDS = array( 'product_name','product_price','product_cdate' );

/* Shop Modules that run with https only*/
global $VM_MODULES_FORCE_HTTPS;
$VM_MODULES_FORCE_HTTPS = array( );

// Checkout Steps and their order
global $VM_CHECKOUT_MODULES;
$VM_CHECKOUT_MODULES = array( 'CHECK_OUT_GET_SHIPPING_ADDR'=>array('order'=>1,'enabled'=>1),
'CHECK_OUT_GET_SHIPPING_METHOD'=>array('order'=>2,'enabled'=>1),
'CHECK_OUT_GET_PAYMENT_METHOD'=>array('order'=>3,'enabled'=>1),
'CHECK_OUT_GET_FINAL_CONFIRMATION'=>array('order'=>4,'enabled'=>1) );

/* Shipping Methods Definition */
global $PSHOP_SHIPPING_MODULES;
$PSHOP_SHIPPING_MODULES[0] = "standard_shipping";]}
soeren_nb
Oct 14 2007 17:17
Please post the last part of your __virtuemart.cfg.php__, where the checkout steps array is declared.
soeren_nb
Oct 14 2007 14:16
Hello

i use Standard Shipping Module,
the error is there with all payment modules.

please try www.druckerie-dusch.de

greetings jahn
soeren_nb
Oct 14 2007 00:33
I think I have the same problem when clicking the checkout button. Using Joomla! 1.0.13 Stable [ Sunglow ] 21 July 2007, VirtueMart 1.0.13a. Standard Shipping Module. When I click "checkout" I get this:

www.mydomain.com has sent an incorrect or unexpected message. Error Code: -12263

in an Alert box in Firefox. In IE, I get the page not found (Internet Explorer cannot display the webpage) error.

Tony (tonyrboies@yahoo.com)
Aravot
Oct 13 2007 19:47
Using Joomla 1.5 r9223 and VirtueMart 1.1 r998, Can not replicate.

In what stage of checkout this occurs, what payment and shipping module do you have.