Pagina 1 van 1

[FIX] Lycos Page header fout

Geplaatst: 06 apr 2003, 11:14
door Leipo
Hiero de FIX voor de mensen op lycos met de fout..


In page_header.php zoek (Regel 456):

Code: Selecteer alles

// Work around for "current" Apache 2 + PHP module which seems to not 
// cope with private cache control setting 
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2')) 
{ 
   header ('Cache-Control: no-cache, pre-check=0, post-check=0, max-age=0'); 
} 
else 
{ 
   header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); 
} 
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); 
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); 

$template->pparse('overall_header'); 

?> 

En vervang door

Code: Selecteer alles

// Work around for "current" Apache 2 + PHP module which seems to not 
// cope with private cache control setting 
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2')) 
{ 
   @header ('Cache-Control: no-cache, pre-check=0, post-check=0, max-age=0'); 
} 
else 
{ 
   @header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); 
} 
@header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); 
@header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); 

$template->pparse('overall_header'); 

?> 

Geplaatst: 06 apr 2003, 11:26
door DaMnNaTiOn
In page_header.php zoek (Regel 456):

Code: Selecteer alles

// Work around for "current" Apache 2 + PHP module which seems to not 
// cope with private cache control setting 
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2')) 
{ 
   header ('Cache-Control: no-cache, pre-check=0, post-check=0, max-age=0'); 
} 
else 
{ 
   header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); 
} 
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); 
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); 

$template->pparse('overall_header'); 

?>
En vervang door:

Code: Selecteer alles

// Work around for "current" Apache 2 + PHP module which seems to not 
// cope with private cache control setting 
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2')) 
{ 
   @header ('Cache-Control: no-cache, pre-check=0, post-check=0, max-age=0'); 
} 
else 
{ 
   @header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); 
} 
@header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); 
@header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); 

$template->pparse('overall_header'); 

?>

Geplaatst: 06 apr 2003, 11:36
door Leipo
:?
Zei ik er toch al bij.. :?

Geplaatst: 06 apr 2003, 11:49
door DaMnNaTiOn
Je hoeft alleen includes/page_header.php te editen.

Geplaatst: 14 apr 2003, 21:02
door DaMnNaTiOn
Unnuhm niemand heeft dezelfde page_header.php

Geplaatst: 14 apr 2003, 21:56
door Leipo
De mensen kunnen het er nu uit op maken toch wat ze moeten doen?? :lol:

Geplaatst: 15 apr 2003, 11:39
door DaMnNaTiOn
Ik denk het wel.

Geplaatst: 15 apr 2003, 11:45
door michaa113
dat wel maar het is toch beter als je het preciese stuk weet wat je moet veranderen.

Geplaatst: 15 apr 2003, 11:47
door DaMnNaTiOn
Dus welke post vind je beter?
Die van mij of die van Leipo.

Geplaatst: 15 apr 2003, 11:48
door michaa113
Die van jou.
Als je namelijk een mod geinstalleerd hebt en je doet hem als die van Leipo klopt je mod niet meer.

Geplaatst: 15 apr 2003, 14:27
door DaMnNaTiOn
:D :lol: 8)

Geplaatst: 15 apr 2003, 15:48
door brambo
DaMnNaTiOn,

ik heb via je psot mijn page_header aangepast & nu krijg ik dat de 'header' er al bijgezet is door Posting.php


http://members.lycos.nl/bramloquet/phpBB2

Geplaatst: 15 apr 2003, 16:06
door DaMnNaTiOn
Wat voor fout krijg je brambo?

Geplaatst: 15 apr 2003, 16:28
door brambo
nope,

de fout is opgelsot

THX

Geplaatst: 15 apr 2003, 16:30
door DaMnNaTiOn
Keej.
Al zelf opgelost.` 8)

Geplaatst: 15 apr 2003, 16:32
door brambo
yeps 8)