Hi, in the last few days, Zemanta has stopped working...the block only displaying "Loading Zemanta..."

Error Console shows:

Error: function () {var H = null;try {H = window.Drupal.settings.zemantaApiKey;} catch (I) {H = "";}return H;}(function () {E = document.getElementById("zemanta-sidebar");if (E) {E.innerHTML = "<div id=\"zemanta-control\" class=\"zemanta\"></div><div id=\"zemanta-message\" class=\"zemanta\">Loading Zemanta...</div><div id=\"zemanta-filter\" class=\"zemanta\"></div><div id=\"zemanta-gallery\" class=\"zemanta\"></div><div id=\"zemanta-articles\" class=\"zemanta\"></div><div id=\"zemanta-preferences\" class=\"zemanta\"></div>";F([C + "core/zemanta-widget.css", C + "widgets/drupal/zemanta-widget-drupal.css", C + "core/jquery.js", C + "core/jquery.zemanta.js", C + "plugins/drupal/" + A + "/drupal.js"]);} else {if (B() - D < 5000) {setTimeout(arguments.callee, 100);}}}) is not a function
Source File: http://www.mysite.com/files/zemanta/loader.js?Y
Line: 1

Tried disabling FCKEditor and rearranging module weights...but wondering if this is related to a Zemanta update?
Thanks for your help!

Comments

ephman’s picture

i as well have the exact same issue. you are not alone.

ephman

JureCuhalev’s picture

Assigned: Unassigned » JureCuhalev

Doran and ephman, thanks for reporting this. We can reproduce this in our environment, at least partly and are already preparing a fix. It should be deployed early next week if not sooner, depending on weekend availability of team members.

Jure Cuhalev, Zemanta

ephman’s picture

thank you so much. the module is so great! keep up the good work.

michaeldhart’s picture

I'll echo the thanks...just started using it before it broke, and love it. Thanks for your work.

JureCuhalev’s picture

We rolled out a fix for this a while ago. Is it working for everyone now?

michaeldhart’s picture

Still receiving this error:

Error: function () {var H = null;try {H = window.Drupal.settings.zemantaApiKey;} catch (I) {H = "";}return H;}(function () {E = document.getElementById("zemanta-sidebar");if (E) {E.innerHTML = "<div id=\"zemanta-control\" class=\"zemanta\"></div><div id=\"zemanta-message\" class=\"zemanta\">Loading Zemanta...</div><div id=\"zemanta-filter\" class=\"zemanta\"></div><div id=\"zemanta-gallery\" class=\"zemanta\"></div><div id=\"zemanta-articles\" class=\"zemanta\"></div><div id=\"zemanta-preferences\" class=\"zemanta\"></div>";F([C + "core/zemanta-widget.css", C + "widgets/drupal/zemanta-widget-drupal.css", C + "core/jquery.js", C + "core/jquery.zemanta.js", C + "plugins/drupal/" + A + "/drupal.js"]);} else {if (B() - D < 5000) {setTimeout(arguments.callee, 100);}}}) is not a function
Source File: http://www.mysite.com/files/zemanta/loader.js?y
Line: 1

and block still reads "Loading Zemanta..."

Is there anything we need to do to update?

ddyrr’s picture

I just started getting an error on mine as well, with the latest updates. The error is a little bit different for me. It loads, but never updates. Every time it tries to update, or when you click on the Update button, it thinks, then says "error" in red. It never works. Also, sometimes the images never come up. This happens in both Firefox and IE

JureCuhalev’s picture

If you're Zemanta is still not working, try following these instructions:

--

Loading Zemanta Widget in Drupal depends on one javascript file, called
loader.js This file is fetched from Zemanta servers on module
installation. After first installation, Drupal internal Cron jobs system
takes care that this file exists and that it is downloaded and stored on
your server when new version is available.

Location of loader.js on your server is:
Drupal 6.2: /sites/default/files/zemanta/loader.js
Drupal 5.7: /files/zemanta/lodaer.js

You can force Drupal to get new loader if you delete loader and either
disable and enable Zemanta plugin again; or if you run drupal cron
manualy - go to http:///cron.php (Don't worry, output of
Drupal cron is blank so if you get blank screen, everything is just
fine!).

ddyrr’s picture

THANK YOU!! My cron runs automatically, but I was getting that strange problem where Drupal misses an update, and never recovers. I fixed it by making the changes listed here:

http://collectiveidentity.net/node/13

This restores the updates. Once my updates were running again, Zemanta started working again! :)

michaeldhart’s picture

JureCuhalev, Thanks! That seems to have worked wonderfully. Everything's back together.

michaeldhart’s picture

Status: Active » Closed (fixed)