i'm using latest XAMPP installation, with latest php, etc.
all drupal6 files are located under /opt/lampp/htdocs/d6
i created a database: test-d6-db
and then i created a new directory :
/opt/lampp/htdocs/d6/sites/d6.mysite.com.d6
(but the directory owner is root:nobody)
i point my browser to:
http://d6.mysite.com/d6
installation starts,
and on the second step, after this page
http://d6.mysite.com/d6/install.php?profile=default&locale=en
(where i input my database name, password, etc)
i got this error:
Warning: fopen(./sites/d6.mysite.com.d6/settings.php) [function.fopen]: failed to open stream: Permission denied in /usr/lampp/htdocs/d6/includes/install.inc on line 228
Warning: Cannot modify header information - headers already sent by (output started at /usr/lampp/htdocs/d6/includes/install.inc:228) in /usr/lampp/htdocs/d6/includes/install.inc on line 592
Warning: Cannot modify header information - headers already sent by (output started at /usr/lampp/htdocs/d6/includes/install.inc:228) in /usr/lampp/htdocs/d6/includes/install.inc on line 593
when i changed the directory's owner
/opt/lampp/htdocs/d6/sites/d6.mysite.com.d6
to nobody:nobody
the installation went well,
we can probably add an error for the permission of these sites/* directories
so it doesn't 'crash' like that, with an error message
Comments
Comment #1
Anonymous (not verified) commentedCertainly, not critical. This is behavior that existed in the past. So stating that I've moved this to a feature request. It is obvious what the problem is from the messages you see. You want a feature to make the error display more attractive.
Comment #2
bradlis7 commentedComment #3
pasqualleComment #4
jody lynnI believe much has been done to improve this error handling over the years.