Error: Failed to derive URL prefix for Timeline API code files

841 views
Skip to first unread message

Steve

unread,
Oct 3, 2012, 5:08:39 PM10/3/12
to SIMILE Widgets
The Simile Timeline (v. 2.3.1) is hosted on National Science
Foundation's website at http://www.nsf.gov/news/special_reports/history-nsf/timeline/.
The operating system is Windows XP v .5.1. The error message "Failed
to derive prefix for Timeline API code files" pops up when the user
clicks a link in a bubble on the timeline in Firefox (15.0.1), Safari
(5.1.7) and Chrome (v. 22.0.1229.79), but not in IE 8 or IE 9. I've
tried several suggestions on simile-widgets-dev and simile-widgets but
no success. All the scripts are in the <head> tags. Does anyone have
any idea what could be causing this issue?

Ravee

unread,
Oct 17, 2012, 2:12:09 AM10/17/12
to simile-...@googlegroups.com
I was getting this issue, when I included the timeline js include code after some other code (PHP, etc). It started working when I included the timeline js files, the first thing in the file. 
Usually it is recommended to have the <script> include code, towards the end for better network performance, but in this case, it seems it breaks the Timeline code somehow.

Hope it helps.
Reply all
Reply to author
Forward
0 new messages