summaryrefslogtreecommitdiffstats
path: root/errors.php
blob: e1621c9351e0b438c9e33db5e7821437db901ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?PHP
include("globe.php");

// echo "You're here because of error: $_GET[error] ";
// echo "<br />Directed from: $_SERVER[HTTP_REFERER]";
// echo "<br />Requested: $_SERVER[REQUEST_URI]";
// echo "<br />Loaded: $_SERVER[PHP_SELF]";

//echo "<br /><a href='$mydomain'>Go back to Home</a>";

LogError("Request Error: $_GET[error]
		REQUEST_URI:$_SERVER[REQUEST_URI] 
		HTTP_REFERER: $_SERVER[HTTP_REFERER]
		REDIRECT_URL: $_SERVER[REDIRECT_URL]
		REMOTE_ADDR: $_SERVER[REMOTE_ADDR]
");
?>
<html>

<head>
<title>Pathery.com - Error</title>

<style>
body {
background-color: #121212;
color:#ddd
}

.update {
	background-color: #222229;
	margin:0 auto;
	margin-top: 200px;
	width:400px;
	border: 0px outset #aaa;
	padding: 10px;
	border-radius: 25px;
}
h3 {
	text-align: center;
}

.buttons a {
	margin: 10px;
	opacity: 0.7;
	filter: alpha(opacity=70);
}
.buttons a:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

a {
	text-decoration: underline;
	color: #aaaa99;
}
a:hover {
	text-decoration: underline;
	color: #FFFFFF;
}
</style>

</head>
<body>

<div class='update'>
<h3>Oh bother. An Error occured.</h3>
<p>Something happened.. Not sure what...
<br />Well I know some things, but I just don't think you care about the details.
<br />I logged the error and i'll look at it later. - But if this keeps happening please email me.
<br /><a href='mailto:snap@pathery.com' target='top'>Snap@pathery.com</a>
<br />
</p>

<p>
<a href='<? echo $mydomain; ?>'>Back to <? echo $mydomain; ?></a>?
</p>
</div>

</body>
</html>