I've installed outline designer and got the following error message first time i tried it out on my books.

"Warning: opendir(.//home/atelier1/data_drupal/outline_designer) [function.opendir]: failed to open dir: No such file or directory in _outline_designer_book_settings() (line 216 of /home/atelier1/public_html/drupal/sites/all/modules/outline_designer/modules/outline_designer_book/outline_designer_book.module)."

I'm out of touch with coding, but a non-tech look at surrounding code:

[1] it all seems to refer to sub-directories within the outline designer module directory structure.
[2] the "no such file or directory" is incorrect, the directory is there, with read/write permissions set to 755.
[3] seems the problem comes from the leading ".//"

Comments

nkelly’s picture

change needed at line 216
now: if ($handle = opendir('./' . $file_dir_path. '/outline_designer')) {
new: if ($handle = opendir('/.' . $file_dir_path. '/outline_designer')) {

btopro’s picture

Version: 7.x-2.0-alpha2 » 7.x-2.0-alpha3
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.