Looks like an issue with why many people cannot setup local timeline library is due to the function 'file_check_directory' used in timeline.module:
// check if library is available 'sites/all/libraries/simile_timeline'
if (file_check_directory($timeline_path)) {
$messages = '';
Basically, this function checks to see if the directory exists AND if it is writable. Please take a look at http://api.drupal.org/api/group/file/6. There should be no reason for the library folder 'simile_timeline' to be writeable.
Currently, two options to fix this issue include the following:
(1) Commenting out the if/then statement performing file_check_directory. This is most secure but there may be issues if the directory does in fact not exist.
(2) Chmod 777 the 'simile_timeline' directory.
(3) Simply apply a patch to perform is_dir check instead. Please see the following...
// check if library is available 'sites/all/libraries/simile_timeline'
if (is_dir($timeline_path)) {
$messages = '';
Believe this should resolve many issues others are having :)
Comments
Comment #1
xamanu commentedHello, thanks for the little writeup, but this issue has been treated here: #702380: Local timeline library folder should not require write premissions
Please use dev snapshot of the module for now.
Marking this as a duplicate.