Connecting mosques and communities
📖 Help Center & User Manual · Documentation Version 1.0

Kariahku.com User Manual & Help Center

Official step-by-step documentation for the Kariahku.com Multi-Tenant Mosque Management System.

Kariahku.com Multi-Tenant Mosque Management System

SECTION 19 — Section 19: Troubleshooting, Error Guide & Manual Administration

Official step-by-step documentation for the Kariahku.com Multi-Tenant Mosque Management System.

Documentation Version: 1.0
Generated On: 2026-12-05 00:43 UTC
Articles: 2

Table of Contents

  1. [SEC-19A] Troubleshooting & System Error Message Reference Guide — Section 19: Troubleshooting, Error Guide & Manual Administration
  2. [SEC-17A] User Manual Content Administration (/admin/manual): Articles, Translations, Screenshots & Revisions — Section 19: Troubleshooting, Error Guide & Manual Administration
SEC-19A · Section 19: Troubleshooting, Error Guide & Manual Administration ✓ Fully Implemented

Troubleshooting & System Error Message Reference Guide

Complete diagnostic reference covering all 10 major error scenarios: login failure, forgotten password, access denied (403), tenant mismatch, missing prayer times, expired trial/unpaid subscription (402), file upload failure, form validation failure, and duplicate kariah records.

Purpose of Function Equip users and administrators to quickly diagnose error messages and apply verified remedies.
Prerequisites None.
Required User Permissions Public Access / All Users

1. Login Failure & Forgotten Password

  • Symptom: "Invalid email or password" on /login.
  • Cause & Remedy:
    1. Verify email spelling and confirm that the account status in `users` is `active` (not `suspended`).
    2. If 5 failed attempts occurred within 15 minutes, wait 15 minutes for the brute-force lock to clear.
    3. To reset a forgotten password, visit /{lang}/forgot-password, request a reset token (valid for 60 minutes), and set a new 12–72 character password at /{lang}/reset-password.

2. Access Denied (403 Forbidden) & Tenant Mismatch

  • Symptom: HTTP `403 Forbidden` when opening a management screen or submitting an action.
  • Cause & Remedy:
    1. Missing Role Permission: Check the live permission matrix at `/manual/roles` or `/admin/permissions`.
    2. Mosque Tenant Mismatch: Attempting to modify records belonging to another `mosque_id`. Visit `/mosque-admin` and select your authorized mosque.
    3. MAIN/JAKIM Jurisdiction Mismatch: Filtering by a `state_id` outside your verified `institution_state_access` grants.

3. Missing Prayer Times or Stale Schedule Warning

  • Symptom: Prayer widget shows a zone setup prompt or stale cached schedule warning.
  • Remedy: Select a verified `prayer_zone_id` in `/mosque-admin/prayer` and click Sync Now, or run `php database/manage.php prayer-sync`.

4. Expired Trial & Unpaid Subscription (HTTP 402)

  • Symptom: Read-only subscription banner on `/mosque-admin/*`, HTTP `402 Payment Required` on form submission, or locked institutional dashboard on `/main/dashboard` or `/jakim/dashboard`.
  • Remedy: Open `/mosque-admin/subscription`, `/main/subscription`, or `/jakim/subscription`, generate a renewal invoice if needed, and complete payment via toyyibPay or manual bank transfer.

5. File Upload Failure, Form Validation Failure & Duplicate Kariah Member Record

  • File Upload Failure:
    • Mosque registration documents (`/register-mosque`) & payment proofs: must be PDF, JPG, or PNG (≤ 5 MB).
    • Mosque logo/cover, CMS/editorial images & activity posters: must be JPG, PNG, or WEBP (≤ 3 MB).
  • Form Validation Failure (HTTP 400 / 422): Ensure postcodes are 5 digits, external links start with `https://`, end times are not before start times, and browser cookies are enabled for CSRF validation.
  • Duplicate Kariah Member Record: When an application is flagged Possible duplicate — review manually in `/mosque-admin/kariah-members`, check the Member Directory first. If the applicant is genuinely a distinct individual, check Approve as separate member and enter a 10+ character reason.
Kariahku.com Common System Errors & Step-by-Step Diagnostic Troubleshooting Guide.
Kariahku.com Common System Errors & Step-by-Step Diagnostic Troubleshooting Guide.

Input Fields & Options Reference

HTTP Status / ErrorPrimary CauseImmediate Remedy
400 Bad RequestMissing or expired CSRF token.Refresh the page, ensure cookies are enabled, and resubmit.
402 Payment RequiredTrial expired or subscription is expired / suspended.Settle the renewal invoice on your subscription page.
403 ForbiddenInsufficient role permission or cross-tenant/cross-state access attempt.Verify active role permissions or switch active mosque at /mosque-admin.
405 Method Not AllowedPOST to a read-only route or GET to /logout.Use the standard in-app navigation and form buttons.
422 Unprocessable EntityValidation error (postcode, email, date range, file MIME/size, or duplicate record).Read the alert banner above the form and correct the highlighted field.
Expected Results: Users and administrators can rapidly diagnose and resolve any operational error in Kariahku.com.
Important Notes & Data Boundaries: For additional categorized Q&A across all 11 topics, visit the <a href="faq"><strong>FAQ Center</strong></a> at `/{lang}/manual/faq`.

Common Errors & Troubleshooting

If you encounter an unexpected server issue, check PHP and database connectivity using php database/manage.php status.

SEC-17A · Section 19: Troubleshooting, Error Guide & Manual Administration ✓ Fully Implemented

User Manual Content Administration (/admin/manual): Articles, Translations, Screenshots & Revisions

Step-by-step guide for Platform Administrators to manage manual categories, create/edit trilingual articles (BM/EN/AR), upload screenshots, assign roles, review revision history, and monitor user feedback.

Purpose of Function Enable authorized administrators to maintain and expand Kariahku.com documentation directly from the admin workspace.
Prerequisites Signed in with `manual.manage` permission (`super_admin` or `portal_admin`).
Required User Permissions Global Scope: manual.manage (/admin/manual)

1. Creating & Editing Manual Articles (/admin/manual)

  1. Sign in and open /{lang}/admin/manual.
  2. Click Add New Article or click Edit next to any existing article.
  3. Configure article metadata:
    • Select the Category / Chapter, enter the URL Slug, Article Code (e.g., SEC-05A), Module Key, and Associated System Route (`route_context`, used for Context-Sensitive Help).
    • Set Implementation Status (`implemented`, `partial`, or `planned`), Publication Status (`draft`, `published`, or `archived`), Sort Order, and Version.
    • Select the applicable User Roles.
  4. Complete the content across the Bahasa Melayu, English, and العربية tabs: Title, Summary, Purpose, Prerequisites, Step-by-Step Instructions, Field Guide, Expected Result, Important Notes, and Troubleshooting.
  5. Enter a Revision Change Note and click Save Manual Article.

2. Uploading Screenshots & Managing Categories, FAQs & Feedback

  1. While editing an article at /admin/manual?edit={id}, use the Upload Screenshot form to upload a PNG, JPG, or WEBP screenshot (max 4 MB) with trilingual captions.
  2. Switch to the Categories / Chapters tab to add, edit, or reorder manual chapters.
  3. Switch to the FAQ tab to manage trilingual FAQ items across all 11 FAQ categories.
  4. Switch to the User Feedback Summary tab to review helpfulness ratings and user comments.
User Manual Content Management Module (/admin/manual) for Articles, Translations, Screenshots & FAQs.
User Manual Content Management Module (/admin/manual) for Articles, Translations, Screenshots & FAQs.

Input Fields & Options Reference

Manual Database TablePrimary Responsibility
manual_categoriesStores manual chapters, icons, sort order, and trilingual titles/descriptions.
manual_articles & manual_article_translationsStores article metadata, route context, and reviewed BM, EN, and AR content.
manual_screenshotsStores verified screenshot paths under public/assets/manual/screenshots/ and trilingual captions.
manual_article_rolesMaps articles to user roles for role-specific filtering and printing.
manual_revisionsRecords JSON snapshots, version numbers, change notes, and actor IDs on every save.
manual_feedbackStores article helpfulness votes and optional user feedback comments.
Expected Results: Manual categories, trilingual articles, screenshots, and FAQs are updated live with CSRF protection, DOM HTML sanitization, and revision tracking.
Important Notes & Data Boundaries: All HTML fields pass through `manual_sanitize_html()` to strip unsafe tags and attributes before database storage.

Common Errors & Troubleshooting

If a newly saved article is not visible in the public Help Center, verify that its status is set to published and its parent category is active.