hey guys,
im getting this error on some, but not all, of my pages:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\some_path\index.php:1) in c:\some_path\userspace\include\session.php on line 48
session.php is a session class that starts the session, authenticates users, and gathers user info from the db to populate class vars.
i have error_reporting() set to E_ALL. i get the error on all the pages, except two, in the root directory. in pages in daughter directories (like \userspace) the error message does not display.
all these pages have this as the first line in the file:
<?php
include 'session.php';
?>
with no other output before that. why am i getting errors on some pages and not others? what can i do to make these errors go away?
not sure if it makes a difference but im on WAMP.