News:

Support the VirtueMart project and become a member

Main Menu

402 Payment Required Error (when clicking on add to cart)

Started by ppwd, December 06, 2012, 23:55:07 PM

Previous topic - Next topic

ppwd

Hi guys, I originally posted a thread a few months back re: this issue but had to go overseas so didn't get a chance to really take a look at it.

The problem:

I have a Joomla install with VM.  When i click on the add to cart button on the front-end, nothing works.  If i look in Firebug I get an error in the console for the GET command (402 Payment Required), that appears to be in jquery.min.js line 18.  However, if i disable the VM Jquery Firebug tells me jquery is not found, and if i disable the google jquery it tells me the same error (above) as it does if both are enabled.

I've got the latest version of Joomla installed (2.5.8) and also the most recent VM (2.0.14).
I have also tested this on a default template to see if that is the issue, and still have the same problem.

In theory, this SHOULD work.

The original thread: http://forum.virtuemart.net/index.php?topic=102854.0

Please help!

Thanks,

Sam

bytelord

Hello,

It seems that it could be a javascript conflict, plese check you site header if is loading jquery instanses more than one and disable them, leave only one (e.g. vm2 jquery, or any 1.7.x version). Use firebug to check your site header.

Use firebug to examine your site code and styling .. also for checking js conflicts ...
http://forum.virtuemart.net/index.php?topic=102850.0

Javascript conflicts:
http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery
http://dev.virtuemart.net/projects/virtuemart/wiki/JavascriptCSS_Template_Overrides_and_Avoiding_Conflicts_between_Libraries

Also you could provide a live url to test it also.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!