session_start(): Cannot send session cookie
Posted: Tue May 01, 2007 2:43 pm
Hey ya'll. I'm new to PHP, but I've worked through it and gotten a script with a database running properly on my comp (Windows). I'm trying to load it up to a GoDaddy host that is Linux based. I added the MySQL database through the steps that they provided me and simply loaded all of the files/directories to the server through an FTP. When I go to the page now (http://www.musicdocumentaries.org) I'm receiving this error:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/content/m/u/s/musicdocument/html/index.php:2) in /home/content/m/u/s/musicdocument/html/library/config.php on line 7
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/m/u/s/musicdocument/html/index.php:2) in /home/content/m/u/s/musicdocument/html/library/config.php on line 7
Table 'unorthodokz.tbl_shop_config' doesn't exist
I'm hoping that this is a simple fix, but I'm stumped. Is there something differently about Linux that I'm missing, or did I not config something properly for the page? My $dbHost, User, Pass, and Name all look to be changed correctly.
Any thoughts? Any bit of help is MORE THAN APPRECIATED!
Thanks,
Charlie
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/content/m/u/s/musicdocument/html/index.php:2) in /home/content/m/u/s/musicdocument/html/library/config.php on line 7
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/m/u/s/musicdocument/html/index.php:2) in /home/content/m/u/s/musicdocument/html/library/config.php on line 7
Table 'unorthodokz.tbl_shop_config' doesn't exist
I'm hoping that this is a simple fix, but I'm stumped. Is there something differently about Linux that I'm missing, or did I not config something properly for the page? My $dbHost, User, Pass, and Name all look to be changed correctly.
Any thoughts? Any bit of help is MORE THAN APPRECIATED!
Thanks,
Charlie