T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/soundstudiopro.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/soundstudiopro.com/public_html/fix_stephane_test.php
<?php
// Simple test script to identify the issue
error_reporting(E_ALL);
ini_set('display_errors', 1);

echo "Test 1: PHP is working<br>";

session_start();
echo "Test 2: Session started<br>";

if (!isset($_SESSION['is_admin']) || !$_SESSION['is_admin']) {
    die("Admin access required. Current session: " . print_r($_SESSION, true));
}

echo "Test 3: Admin check passed<br>";

if (!file_exists(__DIR__ . '/config/database.php')) {
    die("Error: config/database.php not found");
}

echo "Test 4: Database config file exists<br>";

require_once __DIR__ . '/config/database.php';
echo "Test 5: Database config loaded<br>";

try {
    $pdo = getDBConnection();
    echo "Test 6: Database connection successful<br>";
} catch (Exception $e) {
    die("Error connecting to database: " . $e->getMessage());
}

echo "All tests passed!";
?>


CasperSecurity Mini