[Help] Usersystem

Status
Not open for further replies.

HotelCrazy

Member
Jan 14, 2011
86
6
Hey.

Anyone could help me?

I don't know whats wrong.

PHP:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/crazy/public_html/thecrazysound.net/test/index.php:7) in /home/crazy/public_html/thecrazysound.net/test/usersystem/user.class.php on line 4

if you know how to fix it, PM me or post below :)
 

Markshall

Русский Стандарт
Contributor
Dec 18, 2010
2,639
2,397
Try adding 'ob_start();' to the top of your code under <?php and then 'ob_flush();' just above ?>. So your code becomes:

PHP:
<?php
ob_start();
session_start();
 
//Rest of your code goes here.
 
ob_flush();
?>
 
Status
Not open for further replies.

Users who are viewing this thread

Top