VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: 2euroinks on May 29, 2013, 18:00:13 PM

Title: Error on Checkout - only in Explorer/Firefox - Chrome is OK
Post by: 2euroinks on May 29, 2013, 18:00:13 PM
Hi
Joomla 2.5.11
VM: 2.0.20b

Up until now, I've only been using Chrome for checking my page www.2euroinks.com and everything works fine.
However, I've found that when trying to checkout, using Firefox or Explorer, when clicking the Checkout Now button, the browser opens a new tab, with the following in the address bar javascript:document.checkoutForm.submit();

This error does not happen at all in Chrome. Consequently anyone trying to place an order, is not able to complete the order.

Can anyone shed light on what the problem may be?

Thank you in advance.
Title: Re: Error on Checkout - only in Explorer/Firefox - Chrome is OK
Post by: jenkinhill on May 29, 2013, 18:15:58 PM
First:  http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: Error on Checkout - only in Explorer/Firefox - Chrome is OK
Post by: 2euroinks on May 30, 2013, 11:14:26 AM
Sorry, I forgot to mention....

Joomla 2.5.11
VM: 2.0.20b

Regards
Title: Re: Error on Checkout - only in Explorer/Firefox - Chrome is OK
Post by: jenkinhill on June 06, 2013, 16:20:55 PM
Looks like it could be a 500 error - check the server error logs.

Also make sure that Enable SSL for sensitive areas (recommended) is not checked in Configuration/Shop as you do not have https configured on the server
Title: Re: Error on Checkout - only in Explorer/Firefox - Chrome is OK
Post by: loxion on September 14, 2013, 14:12:08 PM
Quote from: 2euroinks on May 29, 2013, 18:00:13 PM
Hi
Joomla 2.5.11
VM: 2.0.20b

Up until now, I've only been using Chrome for checking my page www.2euroinks.com and everything works fine.
However, I've found that when trying to checkout, using Firefox or Explorer, when clicking the Checkout Now button, the browser opens a new tab, with the following in the address bar javascript:document.checkoutForm.submit();

This error does not happen at all in Chrome. Consequently anyone trying to place an order, is not able to complete the order.

Can anyone shed light on what the problem may be?

Thank you in advance.

I am experiencing the same problem.

Chrome and Explorer 8 work fine, while Firefox and Explorer 10 just do nothing when Check out Now is Clicked.

Checked my server logs and no reports. SSL is not enabled

www.cyberlane.co.za

Would greatly appreciate any assistance

Using Joomla 2.5.9 and Virtuemart 2.0.18a
Title: Re: Error on Checkout - only in Explorer/Firefox - Chrome is OK
Post by: jenkinhill on September 14, 2013, 16:15:41 PM
The scripting error is:

Error: Object doesn't support property or method 'noConflict'

In this code block which is not part of VirtueMart:

<script type="text/javascript">
$.noConflict();
jQuery(document).ready(function($) {
// Code that uses jQuery's $ can follow here.
$(function() {
$('#navigation a').stop().animate({'marginTop':'-25px'},1000);
$('#navigation > li').hover(
function () {
$('a',$(this)).stop().animate({'marginTop':'-15px'},200);
},
function () {
$('a',$(this)).stop().animate({'marginTop':'-25px'},200);
}
);
});
});

Take out whatever uses that code and it should work.

Note that your Joomla and VirtueMart versions are old and have known security issues.
http://forum.virtuemart.net/index.php?topic=118683.0
http://virtuemart.net/news/list-all-news/446-important-security-release-vm-team-at-joomladay-germany