Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem tłumaczenia
xeron01
post 2.12.2011, 23:25:50
Post #1





Grupa: Zarejestrowani
Postów: 14
Pomógł: 0
Dołączył: 30.11.2011

Ostrzeżenie: (0%)
-----


Witam dzisiaj dopadł mnie kolejny problem. (zapewne błachy)
Otóż piszę spolszczenie w index.php dodałem linijkę
Cytat
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">

Pliki Zapisuję i edytuje( w postaci UTF-8) NotePad++ .
Gdy wrzucam na serwer powstają nastepujące błędy

Kod
Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/d349171117/htdocs/hosting/header.php:1) in /homepages/33/d349171117/htdocs/hosting/header.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/d349171117/htdocs/hosting/header.php:1) in /homepages/33/d349171117/htdocs/hosting/header.php on line 4

Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/d349171117/htdocs/hosting/header.php:1) in /homepages/33/d349171117/htdocs/hosting/header.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/d349171117/htdocs/hosting/header.php:1) in /homepages/33/d349171117/htdocs/hosting/header.php on line 6

Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/d349171117/htdocs/hosting/header.php:1) in /homepages/33/d349171117/htdocs/hosting/header.php on line 7

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/33/d349171117/htdocs/hosting/header.php:1) in /homepages/33/d349171117/htdocs/hosting/header.php on line 11


Myślę iz bład leży w tej linijce kodu:

Kod
<?php

header("ETag: PUB" . time());
header("Last-Modified: " . gmdate("D, d M Y H:i:s", time()-10) . " GMT");
header("Expires: " . gmdate("D, d M Y H:i:s", time() + 5) . " GMT");
header("Pragma: no-cache");
header("Cache-Control: max-age=1, s-maxage=1, no-cache, must-revalidate");
session_cache_limiter("nocache");

ob_start();
session_start();


Wie ktoś jak rozwiązać problem?
Ps. szukałem po googlach lecz nie znalazłem dosadnej odpowiedzi
Znalazłem jeszcze takie coś lecz gdzie to wstawic?
Kod
$LANGUAGE_PACK = array();
$LANGUAGE_PACK["site_charset"]       = 'UTF-8';


Ten post edytował xeron01 3.12.2011, 00:53:52
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 21:08