I am new to drupal, I searched the forum but couldnt find an answer.

When i try to install drupal , i am in the install page where i enter the database information , after i click on "save and continue" I get a page with the following:

Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /home/bhmportal/domains/bhmportal.ca/public_html/includes/install.inc on line 188

Warning: Cannot modify header information - headers already sent by (output started at /home/bhmportal/domains/bhmportal.ca/public_html/includes/install.inc:188) in /home/bhmportal/domains/bhmportal.ca/public_html/includes/install.inc on line 618

Warning: Cannot modify header information - headers already sent by (output started at /home/bhmportal/domains/bhmportal.ca/public_html/includes/install.inc:188) in /home/bhmportal/domains/bhmportal.ca/public_html/includes/install.inc on line 619

I have no clue what all this means.

I have created the database.
I elevated the permissions on all folders.

What am i missing?

I would appreciate any advice.

Thanks

Mike

Comments

arhak’s picture

most likely this should be reported as an installation issue at http://drupal.org/project/issues/drupal
since it is failing in a nasty way, while it should be dispatching a readable message

the probable cause:
- when you decompress Drupal you have a file sites/default/default.settings.php
- then you're asked to copy it to sites/default/settings.php (giving it enough permissions)
- you should NOT "rename" the default.settings.php to settings.php
- rather you should make a COPY and have them both

- during installation settings.php should be writable
- after installation it should be set back to read-only

mikey2010’s picture

That worked!

Thank you very much

arhak’s picture