Hi,
So far all went well on getting the module up&running. I can see that the users are being created on ejabberd and the tests went fine.
I´m using a Drupal Commons base and the DXMPP block keep this JS message. Jquery Ui is 1.7.3 and Jquery Update are enabled. I don´t see any error message on Firebug and at this point I got stuck.
Appreciate your help. Thanks,
Wilton
Comments
Comment #1
IckZ commentedHey,
what browser are you using? Are you sure you enabeld javascript in your browser? Maybe you try to disable the setting "disable on bad browser"..
But I think this should be only a problem with your browser.
Comment #2
wilton.pinheiro commentedHey IckZ,
I don´t think that´s the case. I´m on Chrome 8.0 and have tried with IE and FF also. All the JS functions works fine, only DXMPP is showing this message.
I don´t understand why! Thanks for trying to help! Any other idea?
Comment #3
IckZ commentedHey,
yes I overlooked that you are using jquery ui 1.7.3.
Most likely the problem is with jQuery UI version. jQuery UI filenames have been changed from version 1.8.2 onwards. Which version of jQuery UI are you using? It should be version 1.8.2 or later.
Comment #4
wilton.pinheiro commentedHi,
I understand now the problem, although haven't figured out the solution....
I'm using Jquery Ui 1.8.7.
After debuging I can see that there is an error when Drupal.t() tries to replace the string "@count friends online" in Drupal.js. str.replace(key, args[key]) is undefined! Why? Because str is not a string, is an array!!!! ["@count friends online", "@count friends online"].
All strings on DXMPP are like this! textFriendsSingular, textFriendsPlural.... all an array!
I'm still debuging.... let me know if you have any other ideas on it.
Thanks,
Wilton
Comment #5
that0n3guy commentedI am also having this error... I am sure I have 1.8.7 and have jquery_update dev...
Also on FF 3.6.13 and chrome 8.0.552.224
Edit: also, firebug shows ui as version 1.8.7
Comment #6
that0n3guy commentedI noticed a bunch of errors in drupal logs, mostly stuff like: http://drupal.org/node/779562.
I followed it here http://drupal.org/node/749126 and did the patch + extra changes, still getting the "enable javascript" thing.
How are you getting 1.8.7 to work? jquery_ui doesn't even really support it yet?
Comment #7
that0n3guy commentedI noticed a bunch of errors in drupal logs, mostly stuff like: http://drupal.org/node/779562.
I followed it here http://drupal.org/node/749126 and did the patch + extra changes, still getting the "enable javascript" thing.
How are you getting 1.8.7 to work? jquery_ui doesn't even really support it yet?
Comment #8
darklrd commentedHey that0n3guy,
Please read comment #4 here - http://drupal.org/node/962264#comment-3670628
Comment #9
that0n3guy commentedYeah I. Saw that.. basically use 1.8.2 or greater. I've tried 1.8.2 on up. with dxmpp beta and dev. I'm starting to think it may be something in drupal commons.. will try wth plain drupal tomorrow.
Comment #10
darklrd commented@that0n3guy - I guess I found the problem. I was checking jquery ui 1.8.7 files and it seems they have again renamed their files :( I am fixing it.
Comment #11
darklrd commented@that0n3guy - which version of jquery_ui Drupal module are you using?
Comment #12
darklrd commented@everyone - This problem is with jquery_ui module. Kindly check this issue - #749126: JQuery Plugin 1.8 is out
Comment #13
that0n3guy commented@darklrd - Yeah I tried that (I stated that in #7). Is there something that needs to be modified in this module as well?
Also, I tired both jquery_ui 1.4 and the dev... either one worked. I will be trying it again on a clean site (not drupal commons) later today.
Comment #14
that0n3guy commentedOk, so here is what I used:
- plain drupal 6
- jquery 1.4 with this patch: http://drupal.org/node/749126#comment-3810242
- jquery_update 2.x dev
- dxmpp dev
- jquery ui 1.8.6 in the jquery_ui's module folder (not in all/libraries)
I no longer have the enable javascript error, horray! I think that maybe something in drupal_commons was fighting with this also... because I used this setup before and had issues.
My stuff still isn't working, but I'll ask those questions in another issue.