New Javascript error

doran - October 24, 2008 - 13:25
Project:Zemanta
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:JureCuhalev
Status:closed
Description

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!

#1

ephman - October 24, 2008 - 23:03

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

ephman

#2

JureCuhalev - October 24, 2008 - 23:33
Assigned to:Anonymous» 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

#3

ephman - October 25, 2008 - 01:12

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

#4

doran - October 26, 2008 - 20:47

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

#5

JureCuhalev - November 4, 2008 - 11:00

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

#6

doran - November 4, 2008 - 21:16

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?

#7

ddyrr - November 5, 2008 - 17:59

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

#8

JureCuhalev - November 12, 2008 - 11:32

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!).

#9

ddyrr - November 12, 2008 - 17:13

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! :)

#10

doran - November 13, 2008 - 16:10

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

#11

doran - January 16, 2009 - 22:26
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.