Restore getUserMemberStatus function to original implementation and fix database queries

This commit is contained in:
twotalesanimation
2025-12-03 10:45:13 +02:00
parent c13c77aac4
commit 204462877c
58 changed files with 3204 additions and 89 deletions

20
test_header.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
// Test script to verify header.php loads without errors
error_reporting(E_ALL);
ini_set('display_errors', 1);
echo "<!-- TEST: Starting header load -->\n";
try {
define('HEADER_VARIANT', '01');
echo "<!-- TEST: HEADER_VARIANT defined as 01 -->\n";
require_once('header.php');
echo "<!-- TEST: header.php loaded successfully -->\n";
} catch (Exception $e) {
echo "<!-- TEST ERROR: " . $e->getMessage() . " -->\n";
echo "<pre>" . print_r($e, true) . "</pre>";
}
echo "<!-- TEST: Script finished -->\n";
?>