I have a centralized error page that I would like all die/failures to call for a consistent look to a site under development.
The error message I am receiving is:
Error 310 (net::ERR_TOO_MANY_REDIREC
TS): There were too many redirects.
The index page begins with the code listed. I have also cut and paste the top of the required file.
Thanks in advance for any help.
session_set_cookie_params('600'); // 10 minutes.
// BRING IN OUR COMMON CODE
// set CommunityId
$_SESSION["CommunityId"] = 8388607;
$_SESSION["DBlink"] = 'localhost';
$_SESSION["DBuser"] = 'DB';
$_SESSION["DBpw"] = 'pw';
$_SESSION["DBname"] = 'DBname';
// Database connection
$link = mysql_connect($_SESSION["DBlink"], $_SESSION["DBuser"], $_SESSION["DBpw"]) or die(header("Location: ./incomplete.php"));