Error code upon loading the page

omnyx - September 29, 2008 - 05:24
Project:Timeline
Version:5.x-1.0
Component:Widget
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

"Caught exception: ReferenceError: console is not defined"
and "Type Error: elmt is not defined"

some info firebug spits out:

Object _id=e54083 _instant=false
invalid 'in' operand this._sandBox
attachClickEvent()()bundle.js (line 3732)
attachClickEvent()(Object _id=e54083 _instant=false, 2318, 2226, "6.5em", -1, 6, 2.5)bundle.js (line 3797)
createEventDiv()(Object _id=e54083 _instant=false, -1)bundle.js (line 3833)
paint()()bundle.js (line 3848)
_paintEvents()()bundle.js (line 860)
_onAddMany()()bundle.js (line 829)
onClear()()bundle.js (line 403)
_fire()("onAddMany", [])bundle.js (line 4127)
loadJSON()(Object dateTimeFormat=iso8601 events=Object, "/timeline/json?view=timeline_event1")bundle.js (line 4004)
(?)()(Object dateTimeFormat=iso8601 events=Object, "/timeline/json?view=timeline_event1")timeline.js (line 45)
fDone()(XMLHttpRequest)bundle.js (line 256)
_onReadyStateChange()(XMLHttpRequest, function(), function())bundle.js (line 2250)
onreadystatechange()()bundle.js (line 2333)
[Break on this error] elmt.style.cursor="pointer";

This didn't use to happen before so I have no idea what the problem might be. The only difference is that this time around i'm using panels module much more though not on the page where I enabled timeline...

#1

jmiccolis - September 30, 2008 - 12:58

This looks a bit strange. It seems like the json that is feeding the timeline isn't valid. If you look at this page "/timeline/json?view=timeline_event1" does it look like json? (If you don't know what json looks like you can attach the output in a textfile to this thread)

#2

omnyx - September 30, 2008 - 18:33

so this is the link where it happens
http://www.thehvoice.com/events

i got the json file - it's attached (I had to add .txt extension to attach it)

thanks

AttachmentSize
json.txt 13.06 KB

#3

omnyx - October 9, 2008 - 03:08

let me know if I can provide more info

#4

xamanu - August 18, 2009 - 03:07
Status:active» closed

this should be fixed in the newest version of timeline.
closing.

 
 

Drupal is a registered trademark of Dries Buytaert.