Hello,
I'm getting the following errors on attempting to install drupal 6
Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 187
Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/ includes/install.inc:187) in /homepages/44/d242847775/htdocs/squares/ cornwall/includes/install.inc on line 617
Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/ includes/install.inc:187) in /homepages/44/d242847775/htdocs/squares/ cornwall/includes/install.inc on line 618
any help would be appreciated
thanks
On Wed, Sep 3, 2008 at 8:21 PM, Alvar Astigarraga alvar.astigarraga@gmail.com wrote:
Hello, I'm getting the following errors on attempting to install drupal 6
Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc on line 187
Does the file sites/default/default.settings.php exit? Is it readable by the web server? (permissions at least 644)
If it is missing or corrupted you may need to upload Drupal again. Or you may need to fix the permissions.
Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc on line 617 Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc on line 618
any help would be appreciated thanks
-- [ Drupal support list | http://lists.drupal.org/ ]
Yes, the settings.php file is there (please correct me if I'm wrong, but doesn't the default.settings.php become settings.php?)
Yes, I changed permissions.
I removed all files, and I'm about to try again. I'm starting to suspect my FTP client is corrupting things...
Thanks for your input
On Sep 3, 2008, at 3:24 PM, Cog Rusty wrote:
On Wed, Sep 3, 2008 at 8:21 PM, Alvar Astigarraga alvar.astigarraga@gmail.com wrote:
Hello, I'm getting the following errors on attempting to install drupal 6
Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 187
Does the file sites/default/default.settings.php exit? Is it readable by the web server? (permissions at least 644)
If it is missing or corrupted you may need to upload Drupal again. Or you may need to fix the permissions.
Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 617 Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 618
any help would be appreciated thanks
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
On Wed, Sep 3, 2008 at 10:47 PM, Alvar Astigarraga alvar.astigarraga@gmail.com wrote:
Yes, the settings.php file is there (please correct me if I'm wrong, but doesn't the default.settings.php become settings.php?)
The "default.settings.php" file should remain there. It is automatically copied to "settings.php" during installation.
Yes, I changed permissions.
Also make sure that the containing directory "default" allows the web server to read/write/list (755).
I removed all files, and I'm about to try again. I'm starting to suspect my FTP client is corrupting things...
Thanks for your input
On Sep 3, 2008, at 3:24 PM, Cog Rusty wrote:
On Wed, Sep 3, 2008 at 8:21 PM, Alvar Astigarraga alvar.astigarraga@gmail.com wrote:
Hello, I'm getting the following errors on attempting to install drupal 6
Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 187
Does the file sites/default/default.settings.php exit? Is it readable by the web server? (permissions at least 644)
If it is missing or corrupted you may need to upload Drupal again. Or you may need to fix the permissions.
Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 617 Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 618
any help would be appreciated thanks
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
This is incorrect. You must manually copy the default.settings.php file to settings.php under the latest version of Drupal 6.
This is because some users on shared hosting were having problems with the web server creating the file, and they could not get sufficient permissions to delete or edit the file.
From CHANGELOG.txt:
Drupal 6.3, 2008-07-09 ---------------------- - Fixed security issues, (Cross site scripting, cross site request forgery, session fixation and SQL injection), see SA-2008-044. - Slightly modified installation process to prevent file ownership issues on shared hosts.
-Mike
On Sep 3, 2008, at 12:54 PM, Cog Rusty wrote:
On Wed, Sep 3, 2008 at 10:47 PM, Alvar Astigarraga alvar.astigarraga@gmail.com wrote:
Yes, the settings.php file is there (please correct me if I'm wrong, but doesn't the default.settings.php become settings.php?)
The "default.settings.php" file should remain there. It is automatically copied to "settings.php" during installation.
Yes, I changed permissions.
Also make sure that the containing directory "default" allows the web server to read/write/list (755).
I removed all files, and I'm about to try again. I'm starting to suspect my FTP client is corrupting things...
Thanks for your input
On Sep 3, 2008, at 3:24 PM, Cog Rusty wrote:
On Wed, Sep 3, 2008 at 8:21 PM, Alvar Astigarraga alvar.astigarraga@gmail.com wrote:
Hello, I'm getting the following errors on attempting to install drupal 6
Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 187
Does the file sites/default/default.settings.php exit? Is it readable by the web server? (permissions at least 644)
If it is missing or corrupted you may need to upload Drupal again. Or you may need to fix the permissions.
Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 617 Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 618
any help would be appreciated thanks
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
__________________ Michael Prasuhn mike@mikeyp.net http://mikeyp.net 503.488.5433 714.356.0168 cell 949.200.7670 fax
Delete all Drupal files.
Upload all of the Drupal files.
If you are still having issues, check file permissions.
Is there an .htaccess file in any parent directory?
Alvar Astigarraga wrote:
Yes, the settings.php file is there (please correct me if I'm wrong, but doesn't the default.settings.php become settings.php?)
Yes, I changed permissions.
I removed all files, and I'm about to try again. I'm starting to suspect my FTP client is corrupting things...
Thanks for your input
On Sep 3, 2008, at 3:24 PM, Cog Rusty wrote:
On Wed, Sep 3, 2008 at 8:21 PM, Alvar Astigarraga alvar.astigarraga@gmail.com wrote:
Hello, I'm getting the following errors on attempting to install drupal 6
Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 187
Does the file sites/default/default.settings.php exit? Is it readable by the web server? (permissions at least 644)
If it is missing or corrupted you may need to upload Drupal again. Or you may need to fix the permissions.
Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 617 Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/ install.inc on line 618
any help would be appreciated thanks
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
May be this helps you.
Just check if you have a file named default.settings.php at the path <drupal installation->sites->default->default.settings.php
Also ensure that the same file has read write permissions. Once the installation if dome you can change it back to read only mode.
Cheers Peeyush
On Wed, Sep 3, 2008 at 10:51 PM, Alvar Astigarraga < alvar.astigarraga@gmail.com> wrote:
Hello, I'm getting the following errors on attempting to install drupal 6
Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc on line 187
Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc on line 617
Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc:187) in /homepages/44/d242847775/htdocs/squares/cornwall/includes/install.inc on line 618
any help would be appreciated
thanks
-- [ Drupal support list | http://lists.drupal.org/ ]
Quoting peeyush gulati peeyushgulati@gmail.com:
May be this helps you.
Just check if you have a file named default.settings.php at the path <drupal installation->sites->default->default.settings.php
Also ensure that the same file has read write permissions. Once the installation if dome you can change it back to read only mode.
The directory sites/default needs write access by the httpd server as well.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
On Sep 3, 2008, at 12:56 PM, Matthew Lechleider wrote:
Delete all Drupal files.
Upload all of the Drupal files.
If you are still having issues, check file permissions.
Wrong. You will still have to manual copy the default.settings.php to settings.php before installing, even after copying a fresh copy of drupal.
On Sep 3, 2008, at 1:32 PM, peeyush gulati wrote:
May be this helps you.
Just check if you have a file named default.settings.php at the path <drupal installation->sites->default->default.settings.php
Also ensure that the same file has read write permissions. Once the installation if dome you can change it back to read only mode.
Wrong. default.settings.php doesn't even have to exist for install. The settings.php file does need to exist. Also, default.settings.php never needs to be writable, or readable for that matter.
On Sep 3, 2008, at 2:09 PM, Earnie Boyd wrote:
The directory sites/default needs write access by the httpd server as well.
Wrong. This is not required. Drupal will not be able to create the files directory for you, but you can do that manually.
This is with the latest Drupal 6.4. Drupal 6.2 and earlier have different requirements, but no one should be trying to install that anymore.
It would be nice if folks tried to at least verify the advice they give before sending it out to thousands of people.
-Mike
__________________ Michael Prasuhn mike@mikeyp.net http://mikeyp.net
Quoting Michael Prasuhn mike@mikeyp.net:
It would be nice if folks tried to at least verify the advice they give before sending it out to thousands of people.
I'm glad we have you to set the record straight. The information changes at lightning speed. Tomorrow what you say may just be incorrect as well.
1) sites/default/settings.php must be writable by httpd during the initial install steps. Reset to read only once installation is complete. 2) sites/default might need to be writable by httpd depending on your some configurations. And is handy for the install steps to create the files directory for you. Reset to read only once installation is complete. 3) sites/default/files must be writable by httpd regardless of if you create it or you have your system set to allow Drupal to create it. Otherwise, file and image uploads will not be able to occur.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
Problem fixed!
Thank you all for your help
For the record
First I strongly believe that my FTP client corrupted the renaming of the settings.php file giving the errors originally posted (Cyberduck on the mac, and it has happened before)
Second, I wanted to use PHP 5, and to do that I had to add a line to the .htaccess file. Otherwise it would default to PHP 4 but total competency (or even partial competency) of .htaccess evades me and that created other errors.
All was solved by using another FTP client, restructuring the directories such that the domain points to where a new .htaccess (for PHP 5) lives, and having Drupal loaded in its own separate dir, with its own existing and untouched .htaccess
Now I just have to figure out how to add this "AddType x-mapp- php5 .php" to Drupal's .htaccess
Again, thanks for the help