I'm trying to replicate an installation of Drupal I had on a different host on my new host and it's not working so hot. I dropped all tables from my database and reimported the two parts of a MySQL export I had made. I even changed the prefix in settings.php to get it working better. However, I still get all of the following errors:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ffapps4u/public_html/sites/default/settings.php:1) in /home/ffapps4u/public_html/includes/bootstrap.inc on line 899

Warning: Cannot modify header information - headers already sent by (output started at /home/ffapps4u/public_html/sites/default/settings.php:1) in /home/ffapps4u/public_html/includes/bootstrap.inc on line 531

Warning: Cannot modify header information - headers already sent by (output started at /home/ffapps4u/public_html/sites/default/settings.php:1) in /home/ffapps4u/public_html/includes/bootstrap.inc on line 532

Warning: Cannot modify header information - headers already sent by (output started at /home/ffapps4u/public_html/sites/default/settings.php:1) in /home/ffapps4u/public_html/includes/bootstrap.inc on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/ffapps4u/public_html/sites/default/settings.php:1) in /home/ffapps4u/public_html/includes/bootstrap.inc on line 534

This appears at the top of the page. There's also the following inside a red box:


    * warning: Cannot modify header information - headers already sent by (output started at /home/ffapps4u/public_html/sites/default/settings.php:1) in /home/ffapps4u/public_html/includes/common.inc on line 141.
    * warning: Cannot modify header information - headers already sent by (output started at /home/ffapps4u/public_html/sites/default/settings.php:1) in /home/ffapps4u/public_html/includes/common.inc on line 141.
    * warning: Cannot modify header information - headers already sent by (output started at /home/ffapps4u/public_html/sites/default/settings.php:1) in /home/ffapps4u/public_html/includes/common.inc on line 141.

Note that the "Site off-line" and my maintenance message appears perfectly fine (sandwiched in between all the errors).

Comments

peacho’s picture

The problem was resolved. I had a bit of a mess in line 1 of settings.php