Hi,
Did the installation and when starting the first time administration page a few warnings pop up:
Warning: ini_set(): Unable to access in /home/httpd/....../httpdocs/sites/default/settings.php on line 131
Removed empty line at the end op settigns.php but that didn't help
This message is followed by:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/httpd/.........../httpdocs/sites/default/settings.php:131) in /home/httpd/......../httpdocs/includes/bootstrap.inc on line 750
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/httpd/........../httpdocs/sites/default/settings.php:131) in /home/httpd/......./httpdocs/includes/bootstrap.inc on line 750
Then in the header of the admin screen in red it says:
warning: Cannot modify header information - headers already sent by (output started at /home/httpd/....../httpdocs/sites/default/settings.php:131) in /home/httpd/...../httpdocs/includes/common.inc on line 139.
tried searching on the forum and internet but apart from removing the blank line at the end of settings.php no luck so far :(
Comments
Sounds like a permission
Sounds like a permission problem to me. Check that apache/php have read permissions to your settings.php file and the default directory. You could also temporarily disable SAFE MODE in php to see if it is not some security setting that is causing the error.
The other warnings will stop once you have solved the first problem. They only appear as a result of the first error being sent to your browser and apache subsequently trying to modify the http headers, which is not possible as they have been sent to your browser already.
Well, the permissions on
Well, the permissions on settings.php in /sites is 644 so everyone should be able to read it.
Funny thing is that the file isn't closed right, first of all there's two empty lines in the default file and there is no ?> at the end. Not sure if that 's a problem
safe mode's fault
same problem over here
after i turned safe mode off the problem disappeared (but the login does not seem to work - but thats a different problem)
Ok, as i have not figured out yet what caused this behaviour i have to live with a disabled safe mode.
I think it has something to do with the url_rewriter.tags option in php.ini which can not be overwritten by the local PHP settings in settings.php, but after i disabled them in php.ini the problem won't disappear.
Any further help on this?
Same problem
In my php.ini safe mode is off. So that is probably not what causes this line 131-problem (that bothers me as well).