failed to open stream
designanddraft - August 7, 2008 - 19:40
| Project: | Site Documentation |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | NancyDru |
| Status: | closed |
Description
error message-
warning: fopen(files/sitedoc/sitedoc_20080807_1229.html) [function.fopen]: failed to open stream: No such file or directory in /home/content/d/e/s/designanddraft/html/govbyus/sites/all/modules/sitedoc/sitedoc.module on line 427.

#1
Hi,
This happens because sitedoc.module queries for the variable file_directory_path instead of using the API function file_directory_path() which returns the default directory when the variable is not set.
I have attached a small patch that corrects this issue.
#2
Actually there were other instances of this; I corrected all of them. Committed to both branches.
#3
Automatically closed -- issue fixed for two weeks with no activity.