Hij doet het wel, alleen krijg ik in de page_header de volgende fout:
Regel 29:Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/auto-banden.nl/httpdocs/rc/includes/page_header.php on line 29
Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/auto-banden.nl/httpdocs/rc/includes/page_header.php:29) in /home/httpd/vhosts/auto-banden.nl/httpdocs/rc/includes/page_header.php on line 594
Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/auto-banden.nl/httpdocs/rc/includes/page_header.php:29) in /home/httpd/vhosts/auto-banden.nl/httpdocs/rc/includes/page_header.php on line 596
Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/auto-banden.nl/httpdocs/rc/includes/page_header.php:29) in /home/httpd/vhosts/auto-banden.nl/httpdocs/rc/includes/page_header.php on line 597
Code: Selecteer alles
include('digest_constants.' . $phpEx);
Code: Selecteer alles
// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($_SERVER['SERVER_SOFTWARE']) && strstr($_SERVER['SERVER_SOFTWARE'], 'Apache/2'))
{
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');
$template->pparse('overall_header');
?>
