🔍 Admin GS Mapper Diagnostic Tool
1. File Existence & Path Checks
✅ Config: Found (/home/hkzbascf/public_html/config.php)
✅ Functions: Found (/home/hkzbascf/public_html/function.php)
✅ Ensure No Login: Found (/home/hkzbascf/public_html/ensure-no-login.php)
✅ LMS Functions: Found (/home/hkzbascf/public_html/admin/lms/lms_function.php)
✅ Admin Sidebar: Found (/home/hkzbascf/public_html/admin/admin-sidebar.php)
2. Database Connection Check
✅ Database Connected Successfully.
3. 'study_schedule' Schema Check
✅ Column id exists in study_schedule
✅ Column page_title exists in study_schedule
✅ Column url exists in study_schedule
✅ Column gs_paper exists in study_schedule
✅ Column syllabus_topic exists in study_schedule
✅ Column syllabus_subtopic exists in study_schedule
4. 'syllabus_lookup' Schema Check
✅ Table syllabus_lookup exists.
5. Prepared Statement Query Test
✅ Prepared statement for GS Mapper query built successfully.
Diagnostic Complete. Fix any ❌ errors shown above to eliminate the 404/redirect.