X7ROOT File Manager
Current Path:
/home/u126090504/domains/sketkaranjia.com/public_html/admin
home
/
u126090504
/
domains
/
sketkaranjia.com
/
public_html
/
admin
/
š
..
š
achievers.php
(21.44 KB)
š
achv_cat_manage.php
(7.99 KB)
š
achv_edit.php
(9.58 KB)
š
achv_list.php
(8.08 KB)
š
achv_upload.php
(13.39 KB)
š
admin-academic-calendar.php
(20.41 KB)
š
admin-public-disclosure.php
(18.36 KB)
š
admissions.php
(28.76 KB)
š
admissions_error.log
(56 KB)
š
assets
š
banners.php
(9.78 KB)
š
branding_settings.php
(5.93 KB)
š
change_password.php
(3.01 KB)
š
class_master.php
(4.32 KB)
š
contacts.php
(3.83 KB)
š
dashboard.php
(27.76 KB)
š
downloads.php
(4.91 KB)
š
edit_faculty.php
(6.85 KB)
š
events.php
(920 B)
š
export_franchise.php
(930 B)
š
faculty.php
(8.36 KB)
š
fees_list.php
(8.48 KB)
š
fees_upload.php
(6.19 KB)
š
forgot_password.php
(5.76 KB)
š
franchise.php
(7.28 KB)
š
gallery.php
(3.08 KB)
š
grievance-update.php
(1003 B)
š
grievance-view.php
(8.51 KB)
š
grievances.php
(9.55 KB)
š
homework_add.php
(5.98 KB)
š
homework_edit.php
(9.39 KB)
š
homework_list.php
(2.24 KB)
š
img
š
includes
š
index.php
(82 B)
š
login.php
(13.47 KB)
š
logout.php
(102 B)
š
manage_albums.php
(10.82 KB)
š
manage_media.php
(11.77 KB)
š
manage_photos.php
(6.35 KB)
š
manage_videos.php
(18.38 KB)
š
managing-committee.php
(13.64 KB)
š
master_menu.php
(5.75 KB)
š
master_menu_debug.php
(3.73 KB)
š
new_password.php
(3.9 KB)
š
non_academic_achievers.php
(21.2 KB)
š
notice.php
(15.52 KB)
š
notice_error.log
(38.45 KB)
š
notices.php
(8.24 KB)
š
payments.php
(14.96 KB)
š
phpmailer
š
popup.php
(14.07 KB)
š
reset_password.php
(2.27 KB)
š
section_master.php
(6.59 KB)
š
sections_by_class.php
(346 B)
š
secure_session.php
(1000 B)
š
settings.php
(8.34 KB)
š
student_photo_update.php
(1.8 KB)
š
subject_master.php
(6.16 KB)
š
submit-grievance.php
(4.97 KB)
š
testimonials.php
(15.15 KB)
š
update_status.php
(1.66 KB)
š
upi_settings.php
(1.52 KB)
Editing: master_menu_debug.php
<?php /* master_menu_debug.php ā temporary diagnostic to fix HTTP 500 Upload to /admin/master_menu_debug.php and open it in browser. Remove after fixing. */ error_reporting(E_ALL); ini_set('display_errors', 1); ini_set('log_errors', 1); echo "<pre style='padding:12px;background:#111;color:#0f0;border-radius:8px;'>"; echo "PHP: ".PHP_VERSION."\n"; echo "DIR: ".__DIR__."\n\n"; /* Try to include any init/config without fatals */ function try_include($path){ if (file_exists($path)) { echo "Including: $path\n"; include_once $path; return true; } echo "Missing: $path\n"; return false; } $hits = 0; $hits += try_include(__DIR__.'/includes/init.php'); $hits += try_include(__DIR__.'/includes/header.php'); // optional check $hits += try_include(__DIR__.'/includes/footer.php'); // optional check /* Fallbacks */ $hits += try_include(__DIR__.'/../config.php'); $hits += try_include(__DIR__.'/config.php'); $hits += try_include(__DIR__.'/secure_session.php'); $hits += try_include(__DIR__.'/includes/auth.php'); if (!isset($conn)) { if (isset($con) && $con instanceof mysqli) { $conn = $con; echo "Using \$con as \$conn\n"; } elseif (isset($mysqli) && $mysqli instanceof mysqli) { $conn = $mysqli; echo "Using \$mysqli as \$conn\n"; } } if (!isset($conn) || !($conn instanceof mysqli)) { echo "\nā No mysqli connection found in included files.\n"; echo "Tip: ensure config.php sets \$conn = new mysqli(...)\n"; exit; } mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); $conn->set_charset('utf8mb4'); /* List tables */ echo "\n== TABLES ==\n"; $tables = []; $res = $conn->query("SHOW TABLES"); while($r = $res->fetch_array()) { $tables[] = $r[0]; } print_r($tables); /* For each candidate classes/sections table, print columns */ function columns($conn,$t){ try{ $cols=[]; $r=$conn->query("SHOW COLUMNS FROM `$t`"); while($c=$r->fetch_assoc()){ $cols[]=$c['Field']." (".$c['Type'].")"; } return $cols; }catch(Throwable $e){ return ["<err ".$e->getMessage().">"]; } } $candidates_classes=['classes','class_master','class','tbl_classes','standards','standard']; $candidates_sections=['sections','section_master','tbl_sections','class_sections','section']; echo "\n== CANDIDATE CLASSES ==\n"; foreach($candidates_classes as $t){ if (in_array($t,$tables)) { echo "$t: "; print_r(columns($conn,$t)); } } echo "\n== CANDIDATE SECTIONS ==\n"; foreach($candidates_sections as $t){ if (in_array($t,$tables)) { echo "$t: "; print_r(columns($conn,$t)); } } echo "\n== SAMPLE COUNTS (first match) ==\n"; function pick_col($conn,$t,$cands){ foreach($cands as $c){ $q=$conn->query("SHOW COLUMNS FROM `$t` LIKE '".$conn->real_escape_string($c)."'"); if($q&&$q->num_rows) return $c; } return null; } $cls_table = null; foreach($candidates_classes as $t){ if (!in_array($t,$tables)) continue; $name = pick_col($conn,$t,['class_name','classname','name','class','title']); $id = pick_col($conn,$t,['id','class_id','cid']); if($name && $id){ $cls_table=$t; break; } } if($cls_table){ $cnt = $conn->query("SELECT COUNT(*) c FROM `$cls_table`")->fetch_assoc()['c'] ?? 0; echo "Classes => table: $cls_table, count: $cnt\n"; } else { echo "Classes => NOT FOUND\n"; } $sec_table = null; foreach($candidates_sections as $t){ if (!in_array($t,$tables)) continue; $name = pick_col($conn,$t,['section_name','name','section','sec_name']); $id = pick_col($conn,$t,['id','section_id','sid']); if($name && $id){ $sec_table=$t; break; } } if($sec_table){ $cnt = $conn->query("SELECT COUNT(*) c FROM `$sec_table`")->fetch_assoc()['c'] ?? 0; echo "Sections => table: $sec_table, count: $cnt\n"; } else { echo "Sections => NOT FOUND\n"; } echo "\n\nIf you share the lines above (table & columns), I'll lock the mapper accordingly.\n"; echo "</pre>"; ?>
Upload File
Create Folder