Fix: 500 error(DB logic) and Geolocation timeout issue

This commit is contained in:
2025-12-14 15:42:40 +09:00
parent 0716754bf5
commit fb5a954691
15 changed files with 228 additions and 35 deletions

12
output/debug_schema.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
$_SERVER['DOCUMENT_ROOT'] = 'c:/Users/light/sam/5130';
require_once 'c:/Users/light/sam/5130/lib/mydb.php';
try {
$pdo = db_connect();
$stmt = $pdo->query("SHOW COLUMNS FROM output LIKE 'num'");
$row = $stmt->fetch(PDO::FETCH_ASSOC);
print_r($row);
} catch (Exception $e) {
echo "Error: " . $e->getMessage();
}
?>