Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /home2/jaymenyc/public_html/esoent/drupal/includes/install.inc on line 187

Warning: Cannot modify header information - headers already sent by (output started at /home2/jaymenyc/public_html/esoent/drupal/includes/install.inc:187) in /home2/jaymenyc/public_html/esoent/drupal/includes/install.inc on line 617

Warning: Cannot modify header information - headers already sent by (output started at /home2/jaymenyc/public_html/esoent/drupal/includes/install.inc:187) in /home2/jaymenyc/public_html/esoent/drupal/includes/install.inc on line 618

Comments

JaymeNYC’s picture

any1 know what this means?

ainigma32’s picture

Looks like you're missing some files. Try reuploading the files.

StrangeRanger’s picture

Help please, I'm getting the same error. I've re-downloaded the package etc. Anyone have any ideas?

j

StrangeRanger’s picture

Ok, oddly enough when I was having problems I had simply renamed default.settings.php. So I went back and copied that file and renamed it so I had default.settings.php and settings.php and it worked. Huh...
j

spy123’s picture

That worked for me too.

Weird as seeing Drupal 6 asks you to rename the file first and then you had to resave it. I hadn't seen that before.

Thanks for the tip.

mzabala’s picture

I'm confirming this same behavior. Also find it odd ;-)

TLR New Media - Content Management and Web Design Developed for Businesses

pjvbeek’s picture

Thanks for the answers. Drupal install instructs to copy default.setting.php to .settings.php. Well, that is correct but confusing.

ghostdog-1’s picture

from me as well.
thx for the idea, glad it worked

hpk’s picture

A note about this should be added to the installation documentation. Any one knows how to bring this to the documentation teams notice?

hpk
[De-centralizing the central issues]
Mumbai, India
http://hpk.co.in

Only local images are allowed.

damarian’s picture

Thanks, it was really make me confuse. Thanks again.

gost_gost’s picture

Same problem same fix!

*Do NOT rename default.settings.php
copy it as settings.php

It appears you MUST have BOTH files present!

drupal 6.x install

Thanks to all that answered!

NetChocs’s picture

Thanks a lot and a thousand thanks, I was stuck up with the problem since last two days and I was thinking of using someother script

brotherlen’s picture

I just did the same thing using mediatemple as a server. Thanks.

drew2727’s picture

having both files worked on my localhost as well as my shared server! Thanks! Now if I can just get Sugarcrm on my shared server...

TonyTheTiger’s picture

I was in the middle of a class on how to install Drupal to 15 people when this error happened to me. I finally had to skip over the last step of setting up the site and get into configuration (with another site I had).

Would be nice if the instructions/docs were clearer or if there was a trap for this error. How to submit this as a bug?

Tony

bcooper’s picture

Same thing...

jimmb’s picture

Yes, I had that problem, fixed it as above, and then get:

    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in /home/solerdma/public_html/includes/menu.inc on line 315.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in /home/solerdma/public_html/includes/menu.inc on line 315.

Above that I also get:

Warning: Unknown column 'serialized' in 'field list' query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in /home/solerdma/public_html/includes/database.mysql.inc on line 128

Warning: Unknown column 'serialized' in 'field list' query: UPDATE cache SET data = 'a:47:{s:13:\"theme_default\";s:7:\"garland\";s:13:\"filter_html_1\";s:1:\"1\";s:18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s:17:\"menu_primary_menu\";i:2;s:19:\"menu_secondary_menu\";i:2;s:15:\"install_profile\";s:7:\"default\";s:17:\"node_options_page\";a:1:{i:0;s:6:\"status\";}s:12:\"comment_page\";i:0;s:18:\"drupal_private_key\";s:64:\"4f2e51371ec9c791345fa1283689912c0d8dc8ec21086bbb3155197c166f8432\";s:19:\"file_directory_temp\";s:4:\"/tmp\";s:19:\"file_directory_path\";s:5:\"files\";s:14:\"file_downloads\";s:1:\"1\";s:17:\"node_options_blog\";a:1:{i:0;s:6:\"status\";}s:9:\"cron_last\";i:1222213321;s:12:\"comment_blog\";s:1:\"2\";s:17:\"n in /home/solerdma/public_html/includes/database.mysql.inc on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/solerdma/public_html/includes/database.mysql.inc:128) in /home/solerdma/public_html/includes/bootstrap.inc on line 582

Warning: Cannot modify header information - headers already sent by (output started at /home/solerdma/public_html/includes/database.mysql.inc:128) in /home/solerdma/public_html/includes/bootstrap.inc on line 583

Warning: Cannot modify header information - headers already sent by (output started at /home/solerdma/public_html/includes/database.mysql.inc:128) in /home/solerdma/public_html/includes/bootstrap.inc on line 584

Warning: Cannot modify header information - headers already sent by (output started at /home/solerdma/public_html/includes/database.mysql.inc:128) in /home/solerdma/public_html/includes/bootstrap.inc on line 585

Note: I have a totally clean install of D5, no contributed modules, and followed exactly the steps of the Greggles screencast. Any help will be much appreciated.

crispin’s picture

as it says up there ^^ you need both files default.settings.php and settings.php

check you have both of these files named correctly - I had duplicated default settings but accidentally renamed the original file...

sigh*

rgouette’s picture

Still copying default.settings.php in January 2009
:)

spooneristic’s picture

Still working. Need both files "default.settings.php" and "settings.php"