hallo ich habe folgende fehler auf meiner HP
Code
- Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /www/htdocs/******/******.com/homepage/index.php:1) in /www/htdocs/******/******.com/homepage/inc/header.inc.php on line 8
- Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/htdocs/******/******.com/homepage/index.php:1) in /www/htdocs/******/******.com/homepage/inc/header.inc.php on line 8
Hier ist die Header.inc.php
Code
- <?PHP
- ERROR_REPORTING(E_ALL);
- ini_set('display_errors', true);
- if(!file_exists('./inc/config.inc.php'))
- {
- header('Location: install.php');
- }
- session_name("m2hp");
- session_start();
- require("./inc/config.inc.php");
- require("./inc/rights.inc.php");
- require("./inc/functions.inc.php");
- $sqlHp = mysql_connect(SQL_HP_HOST, SQL_HP_USER, SQL_HP_PASS);
- $sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS);
- if(!is_resource($sqlServ) OR !is_resource($sqlHp)) {
- exit("Wir sind gleich wieder fuer euch da !");
- }
- require("./inc/head.inc.php");
- ?>