I work with Ubuntu at home, and it's the first time that I have problems with Drupal.
I can not install it, and tells me those 3 errors:
Warning: fopen(./sites/default/settings.php) [function.fopen]: failed to open stream: Operation not permitted in /var/www/drupal-5.7/includes/install.inc on line 227
Warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal-5.7/includes/install.inc:227) in /var/www/drupal-5.7/includes/install.inc on line 573
Warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal-5.7/includes/install.inc:227) in /var/www/drupal-5.7/includes/install.inc on line 574
someone can help me please?
Oskar
Comments
file permissions?
I will assume the file sites/default/settings.php actually exists so you should make sure the user that the webserver is running under has access...
Joe Moraca
http://www.moraca.org
Find a fix yet?
Did you get it working? If not, did you test that PHP was working on your localhost before installing Drupal?
Go to http://localhost - you should see 'Index of /' and a directory: apache2-default/
Test PHP
sudo vi /var/www/test.phpInsert the following line & save file
<?php phpinfo() ?>Also do you have includes enabled in httpd.conf?
Finally, someone on IRC might be able to steer you in the right direction.
=
~mahalie
http://23rdworld.com/2008/04/09/drupal-5x-on-ubuntu-lamp/
Hello, It is working now, I
Hello,
It is working now, I installed again apache2.
Thanks
Oskar
gestión del conocimiento y de la información con software libre
Re: Warning: Cannot modify header information - headers already
I had a problem with the "headers already sent" too at my www.Maxi-Pedia.com website. In my case, it was caused by a blank line at the beginning of common.inc. Drupal or more likely PHP seems to have problems with extra spaces here and there.
Check all your *.inc files to make sure you do not have closing ?> in any of them. Check all your *.php files to make sure you do not have blank lines at the beginning or at the end.
----------
Everything you ever needed to know: www.Maxi-Pedia.com
Thanks xjessie007, I will
Thanks xjessie007, I will check it.
Oskar
gestión del conocimiento y de la información con software libre