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.

CommentFileSizeAuthor
#1 sitedoc.file_directory_path.patch525 bytesgurubert
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gurubert’s picture

Priority: Normal » Critical
Status: Active » Needs review
FileSize
525 bytes

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.

NancyDru’s picture

Assigned: Unassigned » NancyDru
Status: Needs review » Fixed

Actually there were other instances of this; I corrected all of them. Committed to both branches.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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