2013-07-05

So we just got setup w/ dreamhost, and are in the process of making sure everything works before we re-point our Domain to the Dreamhost DNS servers.

A few of our pages use $_SESSION, and are throwing up an error:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/site/site.com/new.php:2) in /home/site/site.com/new.php on line 24

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/site/site.com/new.php:2) in /home/site/site.com/new.php on line 24

Could this be because I am looking at it at
http://www.site.dreamhosters.com/new.php

rather than

actually looking at http://www.site.com

Or is it more likely to be something to do with a different version of PHP than was used on the old host? Something else?

Show more