Error Messages after upgrade to Drupal 6.12
undoIT - May 14, 2009 - 17:10
| Project: | Javascript Countdown Timer |
| Version: | 6.x-2.20 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | ganesh.k |
| Status: | closed |
Jump to:
Description
Countdown Timer has been working great for the past 6 months. After upgrading to Drupal 6.12, i get the following popup error messages when visiting certain pages in the administration areas and while navigating pages generated by the Views module with Ajax enable:
CountdownTimer: Span with class=datetime not found within the timer span.
17 days, 14:06:12 until next blah blah blah...
Nothing has changed and the code is fine. The timer also displays fine, but the error messages get in the way.

#1
Do the same messages popup with ajax turned off?
#2
i was installed Drupal 6.12 version after am go to Administer/User management/User am Blocked Administer part, now i want to Administer part pls help me....
thanking you.
ganesh.k
#3
Blocked admin menus wouldn't be from the js countdown timer. More likely a loss of permissions. Clear out the cache tables directly from the database and login as user 1. Also, please create new issues and don't change unrelated ones.
#4
#5
@undoIT, let me know about the ajax question.
#6
This message only appears on views pages with Ajax turned on after applying a views filter or navigating to a new page. I think this issue is related to the Ajax used for the views 2.5 version and perhaps it was just a coincidence that I noticed it after updating Drupal. This wasn't an issue with some of the older versions of views.
#7
Marking fixed to clear the queue.
Of course we can always revisit.
#8
Okay, but this isn't fixed. I have had to disable the countdown timer. Hopefully some magic will happen with the next Views release.
#9
I'm keeping it on my radar, but I'm not familiar with the views-ajax magic.
I'm not sure what happens to the DOM when these pages are partially reloaded with ajax,
when js code gets re-executed or things get modified. I'll see if I can reproduce it.
#10
Try the 6.x-2.x-dev snapshot for June 3, and see if that fixes the error popups.
#11
I've been experiencing the exact same problem. I'm running D6.12. I installed the latest dev snapshot as suggested above and still get the same popup error messages on every page where there is an AJAX execution. Sometimes (on my Ubercart checkout pages for example) the popup appears 4 or 5 times. Always the same message (as outlined by the original poster). Timer works/displays fine - but the popups happen wherever there is an AJAX call (and in Drupal there are a lot).... Unlike the OP - I don't find this happens just on pages with a Views filter and AJAX turned on. I notice it appears whenever Ajax is executed anywhere in Drupal (when I rearrange my blocks for example).
#12
Hi Jason. Since you are experiencing the same problem, but anywhere that AJAX is called, I'm thinking this may actually be related to the Drupal 6.12 update, and not just Views. I updated to the latest Views release and still see the problem. Could this be an issue related to the order in which the scripts are loaded in the html head? Perhaps the ordering got changed after 6.12 update.
#13
I'm obviously loathe to start changing things in core to get the timer to work but I agree it's definitely to do with the D6.12 update since the timer was working fine on Drupal before that ;-)
#14
Still looking.
#15
I think I've got it now.
Just committed to dev.
#16
FYI after updating the module, you'll need to:
1. go to the admin screen ( admin/settings/countdowntimer )
2. hit save config ( to regenerate the js file ).
3. hit shift reload or alt reload depending on your browser ( to update the browsers cache ).
This change should be in tonights nightly dev snapshot if you don't use cvs.
#17
Latest dev fixes this. Thanks!
:)
#18
Automatically closed -- issue fixed for 2 weeks with no activity.