Warning: session_start(): Cannot send session cache limiter – headers already sent PROBLEM!!!

This problem mostly occurs if the server administrator has disabled output buffering. It is easy to fix it, the only thing you have to do i to put <?php ob_start(); ?> and  <?php ob_end_clean(); ?>


<?php ob_start(); ?>

php code here before html code generate

<?php ob_end_clean(); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: