Closed (fixed)
Project:
Timeline
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2008 at 11:40 UTC
Updated:
18 Aug 2009 at 02:44 UTC
I have configured a proper view, and verified that the view outputs data when set to an additional Style.
I have tried moving the 'api' folder and file, v 1.2, all over the place.
I have tried disabling various display modules on the site to see if there was an incompatibility.
I read through the other similar issues in the queue.
What else can I try? Please?
Comments
Comment #1
jmiccolis commentedHi Alex,
Does your browser generate any js errors? For example can you tell if it's able to load the timeline-api.js file? Can you view the json call back directly (it'll look like timeline/json?view=VIEWNAME)? If you've got firebug installed you should be able to try both of these fairly quickly using the 'net' tab.
On 'admin/settings/timeline' there is an advanced settings drop down where you can specify the location of the timeline-api.js which may also be helpful.
- jeff
Comment #2
wayfarer_boy commentedHi. I'm using timeline-6.x-1.x-dev along with views-6.x-2.2 and date-6.x-2.0-rc6. I have created my own event CCK content type using a date field with to/from options, and have populated my site with around 10 dates, each filled with to/from info. I've been getting the same error, and enabled firebug's javascript console and tab options.
The console output says: "Timeline is not defined" and references line 5 of timeline.js: " var theme = Timeline.ClassicTheme.create();"
The net output states it cannot find the timeline-api.js file, but when I checked where it was looking (sites/all/modules/timeline/api/timeline-api.js), I found the folder didn't exist.
I then changed the Widget URL in the admin page (admin/settings/timeline > Advanced settings) to http://static.simile.mit.edu/timeline/api/timeline-api.js. This corrects the problems of Drupal not finding the api js files.
Unfortunately, this doesn't correct the problem. What now happens is that no timeline appears and this error appears:
Comment #3
cglusky commented@jmiccolis did we ever get the date2 api patch applied to 6 branch?
#280038: Support Date 2
Comment #4
jmiccolis commentedI don't believe we did. Thanks for putting this back on my radar. Let me see if I can squeeze in a quick look at it in the next couple days.
Comment #5
bullz commentedWatching this
Comment #6
jmiccolis commented@wayfarer_boy Does this SQL error happen when you switch to a list view of the same content? I've got a similarly setup site and I can't reproduce the error.
If you get the same issue on a list timeline this is probably a views issue. If the SQL error goes away however can you post a step-by-step guide to reproduce the what you're seeing? Thanks.
Comment #7
xamanu commentedclosing because of inactivity.