tinkerbell
n00b
- Joined
- Jul 20, 2006
- Messages
- 2
Hey. I'm currently designing a site with a membership system. I've run into a problem and I am not quite grasping the error that it is giving me.
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home2/houseofc/public_html/main.php:2) in /home2/houseofc/public_html/sessions.php on line 47
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home2/houseofc/public_html/main.php:2) in /home2/houseofc/public_html/sessions.php on line 47
Any help would be greatly appreciated.
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home2/houseofc/public_html/main.php:2) in /home2/houseofc/public_html/sessions.php on line 47
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home2/houseofc/public_html/main.php:2) in /home2/houseofc/public_html/sessions.php on line 47
Code:
function startSession(){
global $database;
session_start(); <-line 47
Any help would be greatly appreciated.