![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 14 Pomógł: 0 Dołączył: 30.11.2011 Ostrzeżenie: (0%) ![]() ![]() |
Kod headeru.
Kod <?php ob_start(); 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"); if(!isset($__installer_mode)){ require_once("inc/config.php"); // include("email.php"); } ob_end_flush(); ?> błedy które wyskakuja http://fotkowo.pl/images/306b_edy.png Jakies propozycje zmian jak to naprawic? Dodam że w index.php 1 linijka to: Kod <? require "header.php";?> Szukam szukam i niemoge znalesc odpowiedzi na ten bład Ten post edytował xeron01 4.12.2011, 21:05:03 |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 548 Pomógł: 105 Dołączył: 4.06.2010 Ostrzeżenie: (0%) ![]() ![]() |
ten błąd mówi że wysłałeś już jakieś nagłówki
skasuj wszystkie spacje wcześniej |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 14 Pomógł: 0 Dołączył: 30.11.2011 Ostrzeżenie: (0%) ![]() ![]() |
Po usunięciu wszystkich spacji , bład nadal jest taki sam.
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 548 Pomógł: 105 Dołączył: 4.06.2010 Ostrzeżenie: (0%) ![]() ![]() |
a w index.php dajesz coś do wyświetlenia na stronę przed wysłaniem nagłówków??
|
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 14 Pomógł: 0 Dołączył: 30.11.2011 Ostrzeżenie: (0%) ![]() ![]() |
Nie nic.
Dam wiekszą część moze ktoś cos wymysli: Kod <?php
ob_start(); 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"); if(!isset($__installer_mode)){ require_once("inc/config.php"); // include("email.php"); } ob_end_flush(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="<?=$config[MetaDesc]?>" /> <meta name="keywords" content="<?=$config[MetaWords]?>" /> <? Ten post edytował xeron01 4.12.2011, 21:44:01 |
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 548 Pomógł: 105 Dołączył: 4.06.2010 Ostrzeżenie: (0%) ![]() ![]() |
to pokaż ten index.php
|
|
|
![]()
Post
#7
|
|
![]() Grupa: Moderatorzy Postów: 8 989 Pomógł: 1550 Dołączył: 8.08.2008 Skąd: Słupsk/Gdańsk ![]() |
Zamykam. Temat był omawiamy tysiące razy a poszukanie odpowiedzi na borykający Cie problem wcale nie jest trudne.
-------------------- |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 13.06.2025 - 11:11 |