DJ::Beatz
21-05-2008, 07:29 PM
Last night, i was making a popup radio, and then all the sudden when i put a request line on, this popped up on the stats:
Warning: session_start() [function.session-start (http://habblefm.com/panel/frontend/function.session-start)]: Cannot send session cache limiter - headers already sent (output started at /home/habble/public_html/panel/frontend/request.php:2) in /home/user/public_html/panel/config.php on line 2
I cant figure out what is wrong with it, but here is the config file:
<?php
session_start();
/*
* Location Configuration
*/
$root = "/home/USERNAME/public_html/panel/";
$url = "http://www.SITE.com/panel/";
$classes = $root . "classes/";
$includes = $root . "includes/";
$images = $url . "images/";
$css = $url . "css/";
$javascript = $url . "javascript/";
/* Include Files */
require_once $classes . "database.php";
require_once $classes . "core.php";
/* Define Database Settings */
$database ["server"] = "localhost";
$database ["username"] = "USERNAME";
$database ["password"] = "PASS";
$database ["database"] = "DATABASE";
/* Connect */
$db->connect ( $database ["server"], $database ["username"], $database ["password"], $database ["database"] );
/* Define Presets */
$action = @$_GET["action"];
$myuid = session_id();
?>
Please post and help :)
Warning: session_start() [function.session-start (http://habblefm.com/panel/frontend/function.session-start)]: Cannot send session cache limiter - headers already sent (output started at /home/habble/public_html/panel/frontend/request.php:2) in /home/user/public_html/panel/config.php on line 2
I cant figure out what is wrong with it, but here is the config file:
<?php
session_start();
/*
* Location Configuration
*/
$root = "/home/USERNAME/public_html/panel/";
$url = "http://www.SITE.com/panel/";
$classes = $root . "classes/";
$includes = $root . "includes/";
$images = $url . "images/";
$css = $url . "css/";
$javascript = $url . "javascript/";
/* Include Files */
require_once $classes . "database.php";
require_once $classes . "core.php";
/* Define Database Settings */
$database ["server"] = "localhost";
$database ["username"] = "USERNAME";
$database ["password"] = "PASS";
$database ["database"] = "DATABASE";
/* Connect */
$db->connect ( $database ["server"], $database ["username"], $database ["password"], $database ["database"] );
/* Define Presets */
$action = @$_GET["action"];
$myuid = session_id();
?>
Please post and help :)