Cannot send session cookie - headers already sent by

0

Wiem ze temat poruszany milion razy
sprawdzilem kodowanie itp.

Wklejam kawalek kodu ktory generuje blad

<?php ob_start();
session_start();?>
<html dir="ltr" lang="en-US">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>xxxx</title>
    <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">
    <link rel="stylesheet" href="style.css" media="screen">
    <link rel="stylesheet" href="style.responsive.css" media="all">
	<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Actor&amp;subset=latin">
	<script src="jquery.js"></script>
    <script src="script.js"></script>
    <script src="script.responsive.js"></script>
	<meta name="description" content="Description">
	<meta name="keywords" content="Keywords">


<style>.art-content .art-postcontent-0 .layout-item-0 {  border-collapse: separate;  }
.art-content .art-postcontent-0 .layout-item-1 { border-top-style:dotted;border-right-style:dotted;border-bottom-style:dotted;border-left-style:dotted;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-color:#807C98;border-right-color:#807C98;border-bottom-color:#807C98;border-left-color:#807C98; color: #111222; background: #EEEEF2; padding-top: 5px;padding-right: 20px;padding-bottom: 20px;padding-left: 20px; border-radius: 15px;  }
.art-content .art-postcontent-0 .layout-item-2 { color: #1B1D37; background: ; padding-top: 0px;padding-right: 20px;padding-bottom: 20px;padding-left: 20px;  }
.art-content .art-postcontent-0 .layout-item-3 { border-top-style:dotted;border-right-style:dotted;border-bottom-style:dotted;border-left-style:dotted;border-width:1px;border-color:#9D95E4; color: #111222; background: #EAECF6; padding: 20px; border-radius: 15px;  }
.ie7 .art-post .art-layout-cell {border:none !important; padding:0 !important; }
.ie6 .art-post .art-layout-cell {border:none !important; padding:0 !important; }

</style></head>

dodane znaczniki <code class="css"> dla jakiegokolwiek kolorowania składni - fp

0

Sprawdź czy nie masz ustawionego kodowania UTF-8 with BOM. (BOM to takie 3 niewyświetlane w większości edytorów bajty na samym początku pliku).
Czy ten plik załączasz z innego pliku czy uruchamiasz go bezpośrednio?

1

zajrzyj też do źródła strony - jak się hostujesz na jakimś cba.pl to pewnie dokleja Ci reklamy czy coś.

1 użytkowników online, w tym zalogowanych: 0, gości: 1