When installing SimpleTest I get:

  • warning: file_get_contents(sites/default/files/../settings.php) [function.file-get-contents]: failed to open stream: No such file or directory in /home/jens/src/web-workspace/ungpirat.6/modules/simpletest/simpletest.install on line 140.
  • SimpleTest could not be installed. Must add code to the /home/jens/src/web-workspace/drupal-6/sites/default/settings.php file please see INSTALL.txt.

I am running a multisite install with sites/mysite symlinked to another folder in Linux.

CommentFileSizeAuthor
#1 find_settings.php_.patch637 bytesztyx

Comments

ztyx’s picture

Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new637 bytes

I seem to have solved it using conf_path() instead of the detour of using file_directory_path() and going up in file hierarchy.

Attaching patch.

moshe weitzman’s picture

Status: Needs review » Closed (duplicate)

i submitted a patch on this yesterday.