bambinou
09-28-2009, 03:27 PM
Hi All,
I am still new to PHP, I have a strange problem and cannot find a solution to it.
I have been trying to change my mysql user name and password in the config.php file, everything has been changed ok, the PHP connects to the database but I have this error message on the top of my website page, any idea why?
Thanks!
BamBam
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mysite/public_html/commerce/config.php:33) in /home/mysite/public_html/oneadmin411/common/session.php on line 0
Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/commerce/config.php:33) in /home/mysite/public_html/commerce/common/session.php on line 0
and here is the config.php file:
<?php
unset($_POST["path"]);
unset($_GET["path"]);
unset($_REQUEST["path"]);
//Website Path
//$path["webroot"] = "http://www.mysite.com/mysite/ecommerce/";
$path["webroot"] = "http://www.mysite.com/commerce/";
//Document Path
$path["docroot"] = "/home/mysite/public_html/commerce/";
$path["parentroot"] = "/home/mysite/";
$path["image_path"]= "http://www.mysite.com/images/";
//MySQL Settings
$db["type"]="mysql";
$db["host"]="localhost";
$db["user"]="username";
$db["pass"]="password";
$db["used"]="modul_modules";
//Include all the necessary classes and files. Don't modify.
ini_set("magic_quotes_runtime", "0");
ini_set("display_errors",true);
error_reporting(E_ALL ^ E_NOTICE);
include_once("common/include.php");
?>
I am still new to PHP, I have a strange problem and cannot find a solution to it.
I have been trying to change my mysql user name and password in the config.php file, everything has been changed ok, the PHP connects to the database but I have this error message on the top of my website page, any idea why?
Thanks!
BamBam
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mysite/public_html/commerce/config.php:33) in /home/mysite/public_html/oneadmin411/common/session.php on line 0
Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/commerce/config.php:33) in /home/mysite/public_html/commerce/common/session.php on line 0
and here is the config.php file:
<?php
unset($_POST["path"]);
unset($_GET["path"]);
unset($_REQUEST["path"]);
//Website Path
//$path["webroot"] = "http://www.mysite.com/mysite/ecommerce/";
$path["webroot"] = "http://www.mysite.com/commerce/";
//Document Path
$path["docroot"] = "/home/mysite/public_html/commerce/";
$path["parentroot"] = "/home/mysite/";
$path["image_path"]= "http://www.mysite.com/images/";
//MySQL Settings
$db["type"]="mysql";
$db["host"]="localhost";
$db["user"]="username";
$db["pass"]="password";
$db["used"]="modul_modules";
//Include all the necessary classes and files. Don't modify.
ini_set("magic_quotes_runtime", "0");
ini_set("display_errors",true);
error_reporting(E_ALL ^ E_NOTICE);
include_once("common/include.php");
?>
