<?php include ('contain.php'); $Template = new Template('','default'); $Template->PrintHeader(); $Template->PrintTop(); $Template->PrintMenu(); $Template->PrintBody(); } else { $Template->PrintLoggingHeader(); $Template->PrintLoggingTop(); $Template->PrintLoggingMenu(); $Template->PrintLoggingBody(); } echo ' <div id="left"> ..... '; $Template->PrintFooter(); } else { $Template->PrintLoggingFooter(); } ?>
Pojawiają się dwa ostrzeżenia:
Kod
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/teodor/public_html/index.php:1) in /home/teodor/public_html/index.php on line 3
Kod
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/teodor/public_html/index.php:1) in /home/teodor/public_html/index.php on line 3
z var_dump zwraca NULL.
o co biega? korzystam z pspad.