I'm using Chrome and Firefox on 64bit linux. I have the Facebook Like, Google +1, and Twitter widgets turned on for Teasers and Full page view. All three have been working fine for a long time. Now the Facebook Like does not show up any more, but the Google and Twitter widgets are still fine.

For reference, I have the widget set up as Button Count, width=90, Font=Verdana, Show Faces=No, Color Scheme=Light, Action=Like, Locale=en_EN

Let me know if there is any other info you need that would be useful.

Comments

youri27’s picture

+1

drupalfever’s picture

I am having the same problem. I tried in the following operating systems and browser combinations:

Windows 7 64 - Firefox 12.0
Windows 7 64 - Chrome 18.0.1025.162 m
Windows 7 64 - Chrome 18.0.1025.168 m
Windows 7 64 - Internet Explorer 9.0.8112.16421 64-bit Edition
Windows 7 64 - Internet Explorer 9.0.8112.16421 32-bit Edition

CentOS 6.2 x86_64 - Firefox 10.0.4
CentOS 6.2 x86_64 - Chrome 18.0.1025.162
CentOS 6.2 x86_64 - Chrome 18.0.1025.168

The Facebook widget didn't work on any of the above versions.

Please, keep me apprised of your progress.

mikostel’s picture

+1

Oddly, I created a subdomain and uploaded a backup of my site -- Facebook is still working on my subdomain. I'm not sure why would Facebook work on an exact clone of my website at a different address.

The source code is also displaying when I view the source, and like CMangrum, I have not made any changes to my site in quite some time. This is confusing!

eXpert’s picture

I'm experiencing the same problem.

I've noticed that "button count" and "box count" layouts don't work while standard layout is working, though this is not an option for me.

Hope that this issue will be fixed soon.

baysaa’s picture

Same problem here. Confirmed only affects button_count and box_count layouts, normal standard layout works. Affects 7.x version of the module as well.

fabioloool’s picture

+1

fabioloool’s picture

I changed the widget configuration and now the button magically appear... mistery.

fabioloool’s picture

... maybe the mistery is the locale setting of the button .. if this setting is empty the button works.

eXpert’s picture

fabioloool, Thanks for the advice on the locale setting.

baysaa’s picture

Indeed removing the value in the "Locale" field on the widget settings page fixes the disappearing button. Thanks fabioloool

CMangrum’s picture

Blanking the locale and saving the settings did get it working for me too. Thanks for the workaround!

drupalfever’s picture

I figured the problem out.

When you add the Facebook widget to your website, you can no longer select "en_EN" value for the "Locale:" field.

If you, like me, chose the "en_EN" option, just change it to "en_US".

You need to go to the following URL to change your settings:
/admin/settings/service_links/widgets

Go down to the "Facebook Like" fieldset and edit the "Locale:" field.

drupalfever’s picture

Thanks for the tip Fabioloool!

baysaa’s picture

It seems Facebook changed the "English (UK)" locale shortname from en_EN to en_GB: http://www.facebook.com/translations/FacebookLocales.xml

I've just tried it with en_GB and it works.

Perhaps the "Help" text of the locale field on this module needs to be amended from:

Enter the language code and the country code separated by an underscore (i.e. es_ES, en_EN, en_US, it_IT, fr_FR, pt_BR, pt_PT)

To:

Enter the language code and the country code separated by an underscore (i.e. es_ES, en_GB, en_US, it_IT, fr_FR, pt_BR, pt_PT)

leon85321’s picture

removed &locale= from the services/widget_services.module worked for me,
http://drupal.org/node/1548112#comment-5935760

TheCrow’s picture

Status: Active » Fixed

Committed the #14 for both branches, thank you Baysaa!

Status: Fixed » Closed (fixed)

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