I have installed the simile code locally, double checked that it is installed properly on the configuration page, and recreated my timeline view. I am using the date module and using two dates from the "life span" field: both the "from" and "to" dates which I have entered as separate fields in the field selection for my view (I tried only using one, in case the "from/to" was causing the problem. I have cleared my views cache and my Drupal cache, made sure the fields are mapped to my timeline settings (as explained in the README file). However, no timeline displays. Any help troubleshooting would be appreciated. I had this working with the 1.x version, but I'm excited to take advantage of the updates.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | dump.server.txt | 2.89 KB | MaskedMarauder |
| #9 | dump.local_.txt | 2.89 KB | MaskedMarauder |
| #4 | array.txt | 12.23 KB | bomarmonk |
Comments
Comment #1
bomarmonk commentedI should clarify that I have the field settings for both dates to show only the "from" date (for one field) and the "to" date for the other. I also have the libraries module installed and ensured that all timeline files, including library files, are set to 755 permissions.
Comment #2
xamanu commentedIt looks like that your have configured the view perfectly!
I can confirm that there are problems to run the timeline 2.x module completely locally.
There is a complex bug when including the new SIMILE Ajax library (Requiered by new SIMILE timeline 2.3).
So first questions: Would it work using the external SIMILE server (select it in admin/settings/timeline)? Has this Drupal installation a connection to the internet? In case you have Firebug installed: Are there any errors reported on the console?
I'm working on that and I'll file an issue, if i can not get it to work today. As well I will put a little "debug" function into the timeline module to help with better troubleshooting on these white screens.
Comment #3
xamanu commentedThis problem could be caused by using library 2.2.1. Please try to checkout the following source of the SIMILE-Ajax libraries:
svn export http://simile-widgets.googlecode.com/svn/ajax/tags/2.0-on-static-simile/src/webapp/api timeline_ajaxI have updated the INSTALL.txt file. Thanks for this bug report.
If there is still a problem. The 2.x branch has now a debug feature that you can enable on the admin/settings/timeline page. When you navigate to your view after enabling the debug mode there should appear a textarea with the array that is going to be passed to the timeline. Please post this (in an attached txt file).
Comment #4
bomarmonk commentedOkay, I've updated the module and followed all of the above suggestions, but the timeline view is still blank. I'm attaching a text of the array returned from Timeline debug. I hope it helps. Thanks again for the support.
Comment #5
xamanu commentedYour array is generated almost perfectly. Unfortunately I can not rebuild this error, your timeline shows up nicely. There is a problem with Date conversion though. Dates before 1970 are getting converted badly. This issue I was going to address next.
Anyway I really would like to figure out why nothing is showing up on your installation. Three questions:
# Do you have Firebug extension for Firefox installed? Is there any js error showing on up on the console?
# Is it working when you are setting the location of Simile Timeline libraries (/admin/settings/timeline) to SIMILE Server?
# Which browser are you using? Is it working with another browser?
Comment #6
bomarmonk commentedIt looks like the timeline shows up with the Simile server as the source for the library. It shows up now in Firefox and Explorer. But you are right: historical dates are no longer working, as they once did. Also, it would be nice if the local library would work. All messages suggest that it is properly installed on my webserver. Thanks again for your work on this module.
Comment #7
bomarmonk commentedMarking this as fixed and filing two more specific issues.
Comment #8
xamanu commentedComment #9
MaskedMarauder commentedI'm having a similar problem, but its not fixed with new libraries.
It works OK (using default view from package) with simile server code, but not with local libraries. I have the 2.3.0 libraries, and so does the server. When using local libraries the timeline thingie is blank. With the server version its populated about as I'd expect it.
I have firefox and it shows no errors. I do notice that different arguments are passed to the simile server than the local one.
I've used both FF 3.0.12 (linux) and IE 7.0.5730.13 (winders)
I'm enclosing the debug dump from simile server & local responses. The former worked, the latter didn't and there is no difference in the debug data array other than the time of execution.
Comment #10
klucid commentedI just got this working with no problems.
The one thing you MUST do is: after you set your fields, make sure to go back into your timeline basic settings (the style options button) to set the field usage settings.
Comment #11
dajjenI don't see my timeline after trying to install the API locally.
I downloaded the API from http://code.google.com/p/simile-widgets/downloads/list
I hope thats right.
I have tryed both 6.x-2.0-beta1 and 6.x-2.x-dev timeline. It's working when using SIMILE server as Location of Simile Timeline libraries, but if I choose local folder the timeline is blank.
I have the libraries module installed and I have copied the timeline_js and timeline_ajax files to sites/all/libraries/simile_timeline.
I don't get any errors with firebug, it seems like all the files are reached.
Best regards/
David
Comment #12
xamanu commentedPlease use the sources that are specified in the INSTALL.TXT file! You need the SIMILE Ajax 2.0-on-static-simile version and where you downloaded the libraries it is shipped with another version of the Ajax Libraries.
INSTALL.TXT:
Comment #13
dajjenThanx it worked when i got the right libraries.
Best regards
Dajjen
Comment #14
doublewhopper commentedIf i use the Simile server script my timeline is running perfectly. But for several reasons I want to use the locale script. This is why I installed the library module (activated) and downloaded the files from http://github.com/xamanu/SIMILE-Timeline-libraries/tree/master into the sites/all/libraries/simile_timeline directory. Did I miss anything? Because if I go to the admin settings of timeline module (admin/settings/timeline) I can not choose "locale version". The only option is still the Simile Server.
What did I miss to configure?
Do I need to adjust code?
I had a look into the code and it is checking for the libraries/simile_timeline/ directory and since the files are in there I wonder why I can not choose the local option on the settings page.
thanks for the support! :)
Comment #15
dajjenHi.
Try using the library files from the svn repository that are listed in install.txt in your timeline module.
That worked for me.
you should only install libraries module and create a folder-tree "libraries/simile_timeline" under yoursite/sites/all
then just put the folders that you checkout from svn (timeline_ajax, timeline_js) in that folder.
Best regards
Dajjen
Comment #17
socialnicheguru commentedI tried this on my local server (localhost.. i tried to install local files from both options and get a blank screen).
C
Comment #18
xamanu commentedHello,
please provide me with more info so I can help you.
Is this really a White screen of death (Completely Blank Page) or is just the timeline not showing up?
Can you check (f.e. with firebug) if all files get included or not.
Try enabling the "debug mode" in the timeline general settings and attach the output as a text file to this post.
thanks
Comment #19
socialnicheguru commentedthe timeline shows up when I use external server and does not show up when it is local server
there is no wsod
Comment #20
bomarmonk commentedAlso be sure to clear your views cache and Drupal cache (maybe even switch themes back and forth). There were times that my timeline didn't show up because of old cache info.
Comment #21
asb commentedHi,
same issue here with the latest release 6.x-2.1 (2009-Nov-16). I think I followed the installation instructions precisely, but neither with locally installed libraries nor from the remote server any timeline is showing up.
Installation steps:
* Downloaded and enabled 'timeline' and 'libraries' modules as usual (
drush dl timeline; drush enable timelineetc.)* Cloned http://github.com/xamanu/SIMILE-Timeline-libraries/tree/master into
./sites/all/libraries* Tried the unaltered view 'timeline_nodes', and created a new view.
* Cleard all Drupal caches (via admin_menu "Clear all caches") and cleared the views cache
Observations:
* When goint to
./admin/settings/timeline, I can't select the locally installed libraries until I do achmod a+w -R simile_timelinein./sites/all/libraries. This is reported by watchdog, also.At
./sites/all/libraries/simile_timelineI have:Configuration of the view:
* Filters: The view is filtered down to one content type with approximately 100 nodes, and filtered to published nodes;
* Fields: CCK Date, Node title, Node body;
* Timeline Field usage: "title" is a plain node title; "start date" is a CCK date field.
* Relationships: none; Arguments: none
If I access the configured path for the view, I'm getting a blank display (no WSOD, just no view or timeline widget, but left and right blocks etc. are still there). Watchdog reports no errors or warnings. If I enable debug mode at
./admin/settings/timeline, I'm getting lots of output in the debug window, but still no timeline.Workaround:
By default, the view is configured to display "0" (= unlimited) records per page. If I limit this to 25 records, a timeline starts to show up; if I raise this limit to 250 records, the timeline widget dissapears. For testing purposes I decreased the value to 150 - still no timeline; at 50 records, a timeline started to appear again.
When reversing the sorting order (view is sorted by date), the timeline widget again dissapears. When limiting the view from 50 to 25 records per page, the timeline widget appears again.
The behaviour is a bit unclear, but somehow and sometimes it seems to work ;)
Greetings, -asb
Comment #22
socialnicheguru commentedSolution to my issue as specified in #21
* When goint to ./admin/settings/timeline, I can't select the locally installed libraries until I do a chmod a+w -R simile_timeline in ./sites/all/libraries. This is reported by watchdog, also.
it should be chmod -R a+w simile_timeline.
Wow all my frustration for a permissions issue.
now should the entire file and directory be read/writable by the world? Does that present a security risk?
Comment #23
asb commentedHi,
I have to update this issue; sorry for this.
Restricting the view to display only 25 records per page makes the timeline appear. That's nice.
However, in the whole timeline a total of 25 dates/nodes/events is displayed - which renders the module practically useless (for 25 items nobody needs a fancy scrolling widget). There appears to be no way to display all records from the view in one timeline. That renders also the provided view "timeline_nodes" broken unless your site has less than 25 nodes. OK, I understand that tools like this are not made to visualize a few thousand nodes, but at least it should be capable to display all Drupal releases in one timeline (that's what I'm trying to do).
Setting this issue to "critical". Please feel free to adjust this if you find that appropriate.
Thanks & greetings, -asb
Comment #24
xamanu commented@asb this has actually nothing to do with the issue. So I opened up another issue: #716160: Performance overhaul (display a larger amount of events) This is a better place to have this in mind for the next release.
Comment #26
malc0mn commented@SocialNicheGuru (#22): I must agree.
What I do know is that this is enough:
Note the absence of the -R. Also note that only the public needs the extra write permissions.
But why!? I dug into the code and couldn't find anything special except for:
file_check_directory()
Note these lines:
The solution is quite simple. Just modify the code in timeline.module from:
to:
Note the use of the PHP function file_exists() and not the Drupal function file_check_directory().
file_check_directory() is not properly used here IMHO. It serves a different purpose.
Comment #27
devkinetic commentedI've been experiencing this issue as well. It seems like it breaks randomly when changing my view. The first time it happened, i added a taxonomy field, the second time (a few day later) when adding a image to the timeline config.
Both times this was solved by overwriting the module's folder from the archive. Seems like a permissions thing as i made no changes to the module itself.
I should add that I am using the external scripts, so that's not the issues as noted above.
Comment #28
ispboy commented#26
yep!
this is the answer.