Topic-icon Login With FB showing as text

Active Subscriptions:

None
13 years 3 months ago #31053 by safesax77
Greetings again! - Last night I was getting both linkedin and facebook buttons showing intermittently and we figured it to be a cache problem. This time on a different site it's just he 'login with facebook' button that continues to show as text. I have turned everything from template and jomsocial related to facebook off and still nothing.

URL: www.WeAreJazz.com

Any thoughts? - I'm happy to give login info

Thanks,

Jake
The topic has been locked.
Support Specialist
13 years 3 months ago #31058 by alzander
Jake,
There's an extension (or your template) that's loading the very, very, very, very old FB.Share Javascript library. That library was deprecated by Facebook over 2 years ago and cannot be used at the same time as their more recent library, which JFBConnect relies upon. When the page loads, the following Javascript message is thrown:

##########################
# The endpoint used to load this resource has been deprecated.
# Please update to the current Facebook JavaScript SDK.
# developers.facebook.com/docs/reference/javascript/
########################## FB.Share:52
The "fb-root" div has not been created, auto-creating

The 'problem' file is: static.ak.fbcdn.net/connect.php/js/FB.Share
You'll need to find what extension is adding that and disable or remove it.

Finally, there's also a JLinked message that you haven't set a Javascript API Domain in your app settings. You should do that in LinkedIn's developer area and set it to something like:

wearejazz.com/,http://www.wearejazz.com/

Hope that all helps, but if not, as always, just let us know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #31068 by safesax77
Hello! - Thank you for your help. I have no idea where this would be coming from? I just updated the my template to the latest version yesterday, and I'm not running any old components or plugins that I know of. Is there a way I can search for this? I appreciate your help very much.
The topic has been locked.
Support Specialist
13 years 3 months ago #31075 by alzander
I'm honestly not sure. The script is being added in this block block below. Judging from the scripts above it, addthis and a twitter thing, you may want to disable any plugins related to addthis (or sharing in general). Not sure if that will get rid of it, or disable some other features you may rely on, but it's worth a start for narrowing things down:
<script src="http://s7.addthis.com/js/250/addthis_widget.js" type="text/javascript"></script>
  <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
  <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
Beyond that, I wouldn't know what's adding it. If you have the ability to search all the files on your site (usually through SSH command prompt), you could search for fb.share and see what file is including it.. then figure out what module or plugin is using that file.

Hopefully the above gets you started,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #31085 by safesax77
Alex - This is killin' me! I've been over every extension, plugin, and module and disabled and/or removed anything social/sharing. Are you still seeing the same problem file?? Sorry to be a pest.
The topic has been locked.
Support Specialist
13 years 3 months ago #31088 by alzander
Hrrrmmm. Yes, I still see the /js/FB.share file being loaded. If you use your browsers "View Source" command (different in each browser), you can search for that text.

It could be something hard-coded into your template. If I change your template by going to www.wearejazz.com/?template=atomic or www.wearejazz.com/?template=beez5 , the FB.share inclusion goes away. So, that narrows it down to:
* It is likely *not* a plugin, since those usually execute regardless of template.
* It's in a module that's simply not included in those templates
* It's something that's a part of your template. Look and see if there are settings you can disable in the template, or you may need to poke around the templates/gk_musicity/ folder to see if that line is in one of the (surely many) files in there.

How does it feel to be a detective?

Let us know how that goes, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #31089 by safesax77
I have submitted with my host as well - to try and narrow down the location of this file. I will let you know what they tell me. Thanks!
The topic has been locked.
Support Specialist
13 years 3 months ago #31090 by alzander
Oh yeah, no worries about being a pest. It's what we're here for! Thanks for supporting us with your subscription.

Alex
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #31091 by safesax77
Ah! - That is all very helpful!! Thank you very much for your help, Alex. I'll keep you posted!
The topic has been locked.
Support Specialist
13 years 3 months ago #31093 by alzander
Glad to be of service. Definitely keep us posted on what you figure out.

Alex
The topic has been locked.