I have installed Ubercart 2.0 and UberPOS then put the jquery.scrollTo.js. file under /sites/all/modules/uberpos/ directory.

The UberPOS module is not working. When I have entered the SKU No products and product price are not displaying in the box.

I have downloaded the module from the following link
http://drupal.org/project/modules?text=uberpos .

I found in discussion that the scroll.js file makes the product prices appear in the box. But I did not find any scroll.js file in the uberpos folder.

Please send me the link to download that correct version of this module.

I have downloaded the ScrollTo 1.4. Do I need to copy all of the files from ScrollTo 1.4. folder to Uberpos folder or only jquery.scrollTo.js. file is needed to place.

Please suggest how this module will work properly

I appreciate your help

Thanks

Comments

last call media’s picture

Assigned: bashabi » Unassigned
Priority: Critical » Minor
Status: Active » Closed (fixed)

Copy the only jquery.scrollTo.js ScrollTo javascript file to /sites/all/modules/uberpos/jquery.scrollTo.js

last call media’s picture

and maybe clear the site's and your browser's cache...

slip’s picture

Status: Closed (fixed) » Active

I'll mark this as active until you get back to us.

The link you posted gives the correct download.

I just updated the demo site to the latest version of ubercart and it's still working, so that's not the issue.

What browser are you using? Does the demo site work for you?

'scroll.js' isn't a file uberpos uses. Only 'jquery.scrollTo.js'.

last call media’s picture

(Once the js file is in the right place) In addition to clearing all cache, try pressing the "clear" command in the uberpos interface to clear any test entries, then try adding items again.

bashabi’s picture

Priority: Minor » Critical

Thanks for reply.

Do I need to rename the jquery.scrollTo.js file to ScrollTo.js ?

I have placed the file in the jquery.scrollTo.js under the 'uberpos' folder. The problem still exists.

slip’s picture

Priority: Critical » Normal

1) at most this is priority normal. This module works for everybody else so far.

2) I answered your question above: "'scroll.js' isn't a file uberpos uses. Only 'jquery.scrollTo.js'." And kidizzle specified the folder.

3) I need you to answer my other questions. Also have you cleared your drupal and browser caches like kidizzle recommended?

We spent a fair amount of time thinking about your issue and coming up with possible solutions. Please carefully read our responses and reply to each question or piece of advice.

slip’s picture

Status: Active » Postponed (maintainer needs more info)
bashabi’s picture

Priority: Normal » Critical
Status: Postponed (maintainer needs more info) » Active

I am using Google Chrome and Internet Explorer 7. I have checked the demo site. That is working in my laptop.

The welcome message I have set is showing in the box. But when I enter SKU no. the welcome message disappears and the box shows blank.

I have cleared the the site's and browser's cache. But problem still exists.

In the Performance page "Optimize JavaScript" option is disabled. Is it any problem??

slip’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

OK, thanks for the info. The "optomize javascript" option is fine disabled.

Can you take a look in /admin/reports/dblog and check for any relevant errors?

slip’s picture

Status: Postponed (maintainer needs more info) » Active
last call media’s picture

Status: Active » Postponed (maintainer needs more info)

PHP version? Are you trying this on a LAMP server or Windows? We haven't tested windows, also we've only tested the latest firefox...

slip’s picture

Status: Postponed (maintainer needs more info) » Active

lol... I feel like the word 'postponed' sounds too longterm.

bashabi’s picture

I am using WAMP server version 2.0

Apache Version :2.2.8
PHP Version :5.2.6
MySQL Version : 5.0.51b

My operating system is windows vista. I have checked dblog did not find any relevant errors.

last call media’s picture

idk, i don't have a wamp to test on...

slip’s picture

I feel like this should be causing an error to be reported. Can you verify that you have error reporting enabled in your php.ini?

slip’s picture

Status: Active » Needs review

OK, I think I've figured this out. I actually installed WAMP on a windows machine and got it working. However, I don't think the problem here is windows specific. What I found was that we're not requiring all of the ubercart modules that are actually required. If the payment module is not enabled, a similar problem to what you described occurs. The welcome screen is shown, but nothing is shown when product skus are entered.

Also, in wamp, if you click the little wamp icon in the bottom right and select 'PHP error log' under the PHP menu, you can see relevant PHP errors. That's how I discovered what was happening.

Please enable Payment and tell me if it works. It should.

I'll change the code to require Payment and Products as soon as possible.

slip’s picture

Status: Needs review » Fixed

Marking this as fixed because I added the proper dependencies to uberpos.info. If you still have this problem even with these modules enabled. please let me know.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.