VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: BaidareW on July 15, 2012, 18:36:56 PM

Title: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 15, 2012, 18:36:56 PM
After update from 2.08c to d.

When submitting order I get these error messages (but order is created successfully) :

"Warning: Missing argument 2 for plgVMPaymentSystempay::plgVmOnSelectCheckPayment() in /home/admin/domains/domain.com/public_html/plugins/vmpayment/systempay/systempay.php on line 153

Warning: Missing argument 2 for plgVmPaymentStandard::plgVmOnSelectCheckPayment() in /home/admin/domains/domain.com/public_html/plugins/vmpayment/standard/standard.php on line 257

Warning: Missing argument 2 for plgVmPaymentPaypal::plgVmOnSelectCheckPayment() in /home/admin/domains/domain.com/public_html/plugins/vmpayment/paypal/paypal.php on line 878

Warning: Missing argument 2 for plgVmpaymentAuthorizenet::plgVmOnSelectCheckPayment() in /home/admin/domains/domain.com/public_html/plugins/vmpayment/authorizenet/authorizenet.php on line 338"
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 17, 2012, 23:36:17 PM
After update to 2.0.8e even more those errors after submitting order :

Warning: Missing argument 2 for plgVMPaymentSystempay::plgVmOnSelectCheckPayment() in /home/admin/domains/domain.com/public_html/plugins/vmpayment/systempay/systempay.php on line 153

Warning: Missing argument 2 for plgVmPaymentStandard::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com /public_html/plugins/vmpayment/standard/standard.php on line 257

Warning: Missing argument 2 for plgVmPaymentPaypal::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com /public_html/plugins/vmpayment/paypal/paypal.php on line 878

Warning: Missing argument 2 for plgVmpaymentAuthorizenet::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com /public_html/plugins/vmpayment/authorizenet/authorizenet.php on line 338

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com /public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com /public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com /public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com /public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com /public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/admin/domains/ domain.com /public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 657

Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: Milbo on July 18, 2012, 13:54:49 PM
Did you actually updted the AIO?
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 18, 2012, 13:57:17 PM
Sure thing. Always. But I will reinstall and then inform you again.
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: jmgroud on July 18, 2012, 14:28:46 PM
Hello
I'm french and have someproblem with the upgrade from 2.0.8c to 2.0.8e...
I have upgraded the aio => good installation, no error message
I have upgraded the composant => good installation, no error message
I verified in the list of my composants and then version of the composant is good : 2.0.8e
but...
In the administration page of Virtumart (in the left column), I have the message "MISE A JOUR ! Cliquez pour l'appliquer... 2.0.8e" (it's a message to update the version to obtain the 2.0.8e)
Why ?
I think the upgrade is not good...
When i try to upgrade with this button i have a error message "Fatal Error: Maximum execution time of 30 seconds exceeded..."
What's hapend ?
Thanks for yout help
Jean-Marie
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 18, 2012, 19:28:14 PM
The problem is still here with latest AIO.

Quote from: Milbo on July 18, 2012, 13:54:49 PM
Did you actually updted the AIO?
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 18, 2012, 21:53:00 PM
Solution is to disable plugins for payments.

But I still need to collect money so I need to left something.. and I get these errors :

Warning: Missing argument 2 for plgVmPaymentStandard::plgVmOnSelectCheckPayment() in /home/admin/domains/domain.com/public_html/plugins/vmpayment/standard/standard.php on line 257

It appeared after some update, not sure when, but quite recent.

Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: Milbo on July 18, 2012, 21:58:24 PM
We extra checked the code and any plugin has this parameter and despite more than 1000 downloads we do not have 50 people screaming.

and jmgroud just rise your server execution time. Seems your error is completly not related to the problem of BaidareW, so please open a new thread then (common rule, dont hijack threads).
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 18, 2012, 22:03:04 PM
Maybe you could connect and investigate the problem ? I still can receive orders, but it is not good when after submiting customer see bunch of errors.

Maybe those who has this problem didn't know that hey have it :) I was also the one who was not getting shippmen correctly in some situation, but only after my one week buzz it was fixed :)
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: jenkinhill on July 18, 2012, 23:14:49 PM
If the store is working, you can turn off the warnings. http://forum.virtuemart.net/index.php?topic=102555.0
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: Milbo on July 19, 2012, 02:43:22 AM
then check if your cart has the correct version... FE helpers/cart.php Autoselection of payment wont work, that is the problem, but for me it looks like that the update did not overwrite the files.
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 19, 2012, 07:20:33 AM
Maybe I can manually check AIO version ? Which file will show exact version of AIO ?

Quote from: Milbo on July 19, 2012, 02:43:22 AM
then check if your cart has the correct version... FE helpers/cart.php Autoselection of payment wont work, that is the problem, but for me it looks like that the update did not overwrite the files.
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: sam-m on July 20, 2012, 17:01:32 PM
I have the same problem after updating to 2.0.8.e.
I got an error for every payment plugin activated, now I activated only the standard plugin and here's what I get on the order confirmation page:

Warning: Missing argument 2 for plgVmPaymentStandard::plgVmOnSelectCheckPayment() in /homepages/21/d397223999/htdocs/j/plugins/vmpayment/standard/standard.php on line 257
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: Milbo on July 20, 2012, 21:27:42 PM
Please just check if your file at line 257 is
public function plgVmOnSelectCheckPayment (VirtueMartCart $cart,  &$msg) {

or not.
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 22, 2012, 12:57:39 PM
Line 257, 258, 259

public function plgVmOnSelectCheckPayment (VirtueMartCart $cart,  &$msg) {
return $this->OnSelectCheck($cart);
}

Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: sam-m on July 23, 2012, 11:23:56 AM
I have also the same on that line:
public function plgVmOnSelectCheckPayment (VirtueMartCart $cart,  &$msg) {
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: Milbo on July 23, 2012, 11:29:51 AM
and in /components/com_virtuemart/controllers/cart.php lie 302?

Should be

$_retValues = $_dispatcher->trigger('plgVmOnSelectCheckPayment', array( $cart, &$msg));
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 23, 2012, 12:16:23 PM
Correct :
$_retValues = $_dispatcher->trigger('plgVmOnSelectCheckPayment', array( $cart, &$msg));

Quote from: Milbo on July 23, 2012, 11:29:51 AM
and in /components/com_virtuemart/controllers/cart.php lie 302?

Should be

$_retValues = $_dispatcher->trigger('plgVmOnSelectCheckPayment', array( $cart, &$msg));

Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: sam-m on July 23, 2012, 16:19:45 PM
Same here:
$_retValues = $_dispatcher->trigger('plgVmOnSelectCheckPayment', array( $cart, &$msg));
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: Milbo on July 23, 2012, 16:42:05 PM
php version?
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: sam-m on July 23, 2012, 17:06:44 PM
5.2.17
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: Milbo on July 23, 2012, 17:14:39 PM
You should consider an update to php 5.3 at least
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 23, 2012, 23:14:05 PM
Updated to PHP 5.3.15
Still have errors :
/plugins/vmpayment/systempay/systempay.php on line 153
/plugins/vmpayment/standard/standard.php on line 257
/plugins/vmpayment/authorizenet/authorizenet.php on line 338
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: BaidareW on July 24, 2012, 22:43:46 PM
Nobody else gets this error only two of us ?
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: agps on August 07, 2012, 00:25:56 AM
I have the some error :(
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: sam-m on August 16, 2012, 08:53:10 AM
Recently I built a new website on the same Server and also installed Virtuemart.
There I don't get this message, so it might be an update issue.
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: freshqa on August 16, 2012, 12:48:17 PM
clean 2.0.8e install have same problem, have 2 sites 2.0.8a running smooth... any ideas?

firebug :

Warning: Missing argument 2 for plgVmPaymentStandard::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/standard/standard.php on line 257

Warning: Missing argument 2 for plgVMPaymentPayzen::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/payzen/payzen.php on line 685

Warning: Missing argument 2 for plgVMPaymentSystempay::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/systempay/systempay.php on line 153

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/moneybookers/moneybookers.php on line 657

Warning: Missing argument 2 for plgVmpaymentAuthorizenet::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/authorizenet/authorizenet.php on line 338

Warning: Missing argument 2 for plgVmPaymentPaypal::plgVmOnSelectCheckPayment() in .../plugins/vmpayment/paypal/paypal.php on line 878
{"shipments":["<input type=\"radio\" name=\"virtuemart_shipmentmethod_id\" id=\"shipment_id_1\"   value=\"1\" checked=\"checked\">\n<label for=\"shipment_id_1\"><span class=\"vmshipment\"><span class=\"vmshipment_name\">\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439<\/span><\/span><\/label>\n"],"payments":["<input type=\"radio\" name=\"virtuemart_paymentmethod_id\" id=\"payment_id_1\"   value=\"1\" checked=\"checked\">\n<label for=\"payment_id_1\"><span class=\"vmpayment\"><span class=\"vmpayment_name\">\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442<\/span><\/span><\/label>\n"],"price":{"products":{"1":{"subtotal_tax_amount":"","subtotal_discount":"","subtotal_with_tax":"<div class=\"PricesalesPrice\" style=\"display : block;\" ><span class=\"PricesalesPrice\" >$133,000.00<\/span><\/div>"}},"taxAmount":"","discountAmount":"","salesPrice":"$133,000.00","shipmentTax":"","salesPriceShipment":"","paymentTax":"","salesPricePayment":"","billTaxAmount":"","billDiscountAmount":"","billTotal":"$133,000.00"}}
Title: Re: errors in order confirmation after update from 2.0.8c to d
Post by: bytelord on August 16, 2012, 12:50:21 PM
Hello,

Please take a look on that post.
https://forum.virtuemart.net/index.php?topic=106499.0

Thanks