| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /bpkd_/admin/error/ |
Upload File : |
<?php
// Set HTTP response code
http_response_code(500);
// Load konfigurasi
require_once '../config/database.php';
require_once '../includes/init.php';
// Cek login
requireLogin();
$page_title = '500 - Kesalahan Server';
?>
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>500 - Kesalahan Server | BPKD</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!-- Bootstrap 5 CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome 6 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
:root {
--warning-color: #f6c23e;
--gradient-warning: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
}
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 20px;
}
.error-container {
text-align: center;
max-width: 600px;
margin: 0 auto;
}
.error-code {
font-size: 120px;
font-weight: 800;
background: var(--gradient-warning);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
line-height: 1;
margin-bottom: 20px;
}
.error-title {
font-size: 2rem;
font-weight: 700;
color: #2c3e50;
margin-bottom: 15px;
}
.error-message {
font-size: 1rem;
color: #6c757d;
margin-bottom: 30px;
line-height: 1.6;
}
.error-icon {
font-size: 80px;
color: #f6c23e;
margin-bottom: 20px;
}
.btn-home {
background: var(--gradient-warning);
color: white;
border: none;
padding: 12px 30px;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 10px;
}
.btn-home:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(246, 194, 62, 0.3);
color: white;
}
.footer-note {
margin-top: 40px;
font-size: 0.8rem;
color: #adb5bd;
}
</style>
</head>
<body>
<div class="error-container">
<div class="error-icon">
<i class="fas fa-exclamation-triangle"></i>
</div>
<div class="error-code">500</div>
<h1 class="error-title">Kesalahan Server Internal</h1>
<p class="error-message">
Maaf, terjadi kesalahan pada server. Tim teknis kami telah diberitahu dan sedang memperbaikinya.
Silakan coba beberapa saat lagi.
</p>
<a href="dashboard.php" class="btn-home">
<i class="fas fa-home me-2"></i>Kembali ke Dashboard
</a>
<div class="footer-note">
<i class="fas fa-info-circle me-1"></i> Error ID: <?php echo uniqid(); ?>
</div>
</div>
</body>
</html>