6 replies [Last post]
Rick Nashleanas's picture
Offline
Joined: 11/06/2008
Juice: 19
Was this information Helpful?

I'm on Drupal 5.12 and Ubercart 5.x-1.6. When I upgraded to 1.6, I can submit a product at http://averageguyhelp.com/test-product, but I can't get past the error "Javascript must be enabled to view the order total preview." on the checkout screen http://averageguyhelp.com/cart/checkout.

Before upgrading to 1.6, Ubercart was working, but I never could get recurring payments to go through, but that's another issue.

I completely uninstalled all of Ubercart and reinstalled. I uninstalled and reinstalled all Javascript-related modules. (I don't use the Javascript Aggregator.) Javascript runs throughout the rest of the site.

I've read that if there is a Javascript error on the page, I could encounter this problem, but I'm not finding anything. Anyone have any insights on something I can try?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Can't get past "Javascript must be enabled to view the order

Hmm... Firebug or the Web Developer Toolbar extensions for FireFox might give you a hint at the JS error.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Re: Can't get past "Javascript must be enabled to view the o

Looks like you didn't properly install jQuery Update. The version of jQuery your site is using is 1.1.2 - you need to copy the new version from the jQuery Update distribution into your /misc folder. Firebug shows one of your other JavaScript files is throwing an error (I'm guessing because it relies on the newer version of jQuery), which is why you get the message from Ubercart.

<tr>.
primal's picture
Offline
Joined: 08/21/2008
Juice: 39
I'm getting the same problem...

I ran into the same problem until I realized that I wasn't printing scripts. Maybe this will help.

ron_s's picture
Offline
Joined: 09/11/2008
Juice: 173
Re: I'm getting the same problem...

One problem is jQuery Update is incompatible with other modules, especially 5.x-2.0. I guess if you are really needing to use it, go ahead and do so.

What I did is replaced the jquery.js file in /misc with the 1.1.2 version, rather than using the update module. Seems to work with no problems at least with the other modules I am running.

Also jQuery 1.0.4 (the version that comes with 5.x) does work with Drupal 5.14 and Ubercart 1.6. I have it running locally on a machine. The key is even if you disable the jQuery Update module, it still needs to be removed from /sites/all/modules. If you leave it sitting in the directory it will still not work.

ron_s's picture
Offline
Joined: 09/11/2008
Juice: 173
Re: Re: I'm getting the same problem...

Scratch that, 1.1.2 as a manual update does cause problems. Best to stick with 1.0.4 if you want it to work for now, without conflicts with other modules which depend on jQuery. Smiling

Rick Nashleanas's picture
Offline
Joined: 11/06/2008
Juice: 19
Thanks!

I did not copy the entire misc directory to the root misc folder. Thanks so much!