Welcome, Guest
  • Page:
  • 1

TOPIC: jTweet & fatal JS error?

jTweet & fatal JS error? 1 year, 10 months ago #28877

Hi

Have run into a problem on my Community Builder Member list page that might(?) be related to jTweet. Here's the page:
artdollsonly.com/index.php?option=com_co...rslist&Itemid=30

There should be a link to "Search Users" with the text at the top in about the middle of the page, but it's not working. (This becomes "List all" in search mode.) I asked over at the CB forum, and this was the response:

--
It's at the top of your page and displaying properly, but the JS isn't working because you've a Fatal JS error on your site.
Code:
Uncaught TypeError: Object #<an Object> has no method 'tweet'

No idea what it's coming from, sorry.
--

I'm thinking this perhaps has something to do with jTweet?

I'm not familiar with JS and am pretty elementary with changing any code, but am willing to try!

Many thanks,
Melody
  • AllegroMelody
  • ( User )
  • NOW ONLINE
  • 12 Month Developer
  • Posts: 263
  • Karma: 1

Re: jTweet & fatal JS error? 1 year, 10 months ago #28898

Hi Melody,

The issue is caused by the Community Builder loading the jQuery Library:

artdollsonly.com/components/com_comprofi.../jquery-1.4.2.min.js

jQuery has an issue if there is more than one version of the library on the page and thats the reason why we created the JB LIbrary plugin. You can use that to strip out the reference if you have the latest version of the plugin. Just by setting the use unique jQuery to yes should fix this issue.

Thanks Anthony
  • Anthony Olsen
  • ( Admin )
  • NOW ONLINE
  • Moderator
  • Posts: 17255
  • Karma: 317
Creative Unique Minimal Joomla Templates

Re: jTweet & fatal JS error? 1 year, 10 months ago #28915

Thanks, Anthony.

Please forgive my ignorance - I can't figure this out (I have tried!)

I went to the JB Library plugin, which I installed last month with the Avanti template when I started building the site. Looks like v1.1.1 is what I installed, and there is 1.1.2 now available. I tried installing that (should it just replace the old one when I install - I don't know that it did?) but don't see a difference in the plugin parameters, and don't see anything that gives me a "unique JQuery" option. Am I looking in the correct place? Should I be somewhere else?

Many thanks,
Melody
  • AllegroMelody
  • ( User )
  • NOW ONLINE
  • 12 Month Developer
  • Posts: 263
  • Karma: 1

Re: jTweet & fatal JS error? 1 year, 10 months ago #28922

Hi Melody,

If you dont see that option then it sounds like it didnt install. Just to be sure you can try uninstalling the JB Library plugin and then downloading the latest from the download area and then reinstalling again. That will definitely do it.

Thanks Anthony
  • Anthony Olsen
  • ( Admin )
  • NOW ONLINE
  • Moderator
  • Posts: 17255
  • Karma: 317
Creative Unique Minimal Joomla Templates

Re: jTweet & fatal JS error? 1 year, 10 months ago #28926

Thank you.

Okay, figured out how to uninstall the plugin, and installed the newest version, just downloaded.

Changed "Enable Unique jQuery" to Yes.

Link still doesn't work. Also tried "Strip other scripts" - no difference.

I would be okay with deleting the "Search Users" link if I could figure out how to do that!
  • AllegroMelody
  • ( User )
  • NOW ONLINE
  • 12 Month Developer
  • Posts: 263
  • Karma: 1

Re: jTweet & fatal JS error? 1 year, 10 months ago #28973

Hey Melody,

The link problem might not be related to the js error. There is only one jQuery loading on the site now and no errors as far as I can see. Are you stripping any other scripts that CB needs? It looks like the links depends on certain js scripts to work but nothing that is loading on the page will do it.
Let me know.

Cheers,
Jason.
  • Jason D
  • ( Admin )
  • OFFLINE
  • 12 Month Developer
  • Posts: 2947
  • Karma: 75

Re: jTweet & fatal JS error? 1 year, 10 months ago #28984

Hi Jason

Once again, please forgive my ignorance, but I don't know how to "strip scripts" (other than clicking on "yes" in the jQuery Library Settings).

thanks,
Melody
  • AllegroMelody
  • ( User )
  • NOW ONLINE
  • 12 Month Developer
  • Posts: 263
  • Karma: 1
Last Edit: 1 year, 10 months ago by AllegroMelody.

Re: jTweet & fatal JS error? 1 year, 10 months ago #28987

Hey Melody,

Sorry, should have been more clear. Are there any custom scripts specified in the box below it?
You can turn that setting to strip custom scripts off. Unique jQuery should be sufficient for you.
Try that and let me know. I'm not confident that it will fix it but atleast we'll know what the playground looks like.

Cheers,
Jason.
  • Jason D
  • ( Admin )
  • OFFLINE
  • 12 Month Developer
  • Posts: 2947
  • Karma: 75

Re: jTweet & fatal JS error? 1 year, 10 months ago #28988

"Strip other scripts" is set to No and there have not been any script names in the field. (I've tried it both "yes" and "no" with no difference).

thanks!
  • AllegroMelody
  • ( User )
  • NOW ONLINE
  • 12 Month Developer
  • Posts: 263
  • Karma: 1

Re: jTweet & fatal JS error? 1 year, 10 months ago #28990

Hey Melody,

The problem is actually just in the css. The button is sitting behind the Title there.

You can fix it by adding a css rule to your file
/templates/zen_avanti/css/theme.css

div.cbUserListTitle {
width:47%;
}

That should get it working again.

Cheers,
Jason.
  • Jason D
  • ( Admin )
  • OFFLINE
  • 12 Month Developer
  • Posts: 2947
  • Karma: 75

Re: jTweet & fatal JS error? 1 year, 10 months ago #28991

Ahhhh - it works now!

I have to learn more about CSS. That's next on my list.

Many, many thanks!!!!

Melody
  • AllegroMelody
  • ( User )
  • NOW ONLINE
  • 12 Month Developer
  • Posts: 263
  • Karma: 1

Re: jTweet & fatal JS error? 1 year, 10 months ago #29011

Thanks Melody - glad we finally got to the bottom of it.

Give us a shout if you need any more help.

Anthony
  • Anthony Olsen
  • ( Admin )
  • NOW ONLINE
  • Moderator
  • Posts: 17255
  • Karma: 317
Creative Unique Minimal Joomla Templates

Re: jTweet & fatal JS error? 1 year, 8 months ago #32676

I too am having the same issue and although the CSS fix did get my search button working I am still getting the errors and double loading of java scrpits.. I do not have it online for you to see.. sorry, I am working on my local server. Its loading 1.3.2 and 1.4.2 .. If I disable the plugin Community builder gets no errors but then the front page slide show on the foliolife template does not work and gets the error, if I activate the plug-in the slide show works but community builder errors.. any help would be great.
  • LDJones
  • ( User )
  • OFFLINE
  • Previous Member
  • Posts: 13
  • Karma: 1

Re: jTweet & fatal JS error? 1 year, 8 months ago #32677

NEVER MIND.. unistalled and reinstalled the plug-in.. all is great now.
  • LDJones
  • ( User )
  • OFFLINE
  • Previous Member
  • Posts: 13
  • Karma: 1

Re: jTweet & fatal JS error? 1 year, 8 months ago #32682

Thanks for letting us know
  • Seth
  • ( Moderator )
  • OFFLINE
  • Moderator
  • Posts: 7583
  • Karma: 176
Internet Inspired! - Creative Websites (and freelance websmithing!)
  • Page:
  • 1
Time to create page: 1.28 seconds