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

Role-Specific User Manual — Mosque Member / Read-Only Staff

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

Documentation Version: 1.0
Generated On: 2026-12-05 00:33 UTC
Articles: 7

Table of Contents

  1. [SEC-A1] About Kariahku.com, System Objectives, Main Features & Community Benefits — Section A: Introduction to Kariahku.com
  2. [SEC-A5] Multi-Tenant System Concept, System Requirements & Supported Browsers/Devices — Section A: Introduction to Kariahku.com
  3. [SEC-A8] Understanding the User Interface, System Navigation & Terminology Glossary — Section A: Introduction to Kariahku.com
  4. [SEC-B4] Logging In, Logging Out Securely & Resetting a Forgotten Password — Section B: Getting Started & Account Access
  5. [SEC-B7] Updating User Profile, Changing Passwords, Selecting Language & Understanding Dashboards — Section B: Getting Started & Account Access
  6. [SEC-04A] Platform Management & Mosque Management Roles (Including Non-Existent Role Clarifications) — Section 4: User Roles and Permissions
  7. [SEC-19A] Troubleshooting & System Error Message Reference Guide — Section 19: Troubleshooting, Error Guide & Manual Administration
SEC-A1 · Section A: Introduction to Kariahku.com ✓ Fully Implemented

About Kariahku.com, System Objectives, Main Features & Community Benefits

Comprehensive overview of the Kariahku.com multi-tenant mosque management ecosystem, system objectives, implemented modules, and benefits for mosques and communities.

Purpose of Function Provide mosque administrators, kariah members, religious authority officers, and public visitors with an accurate understanding of the Kariahku.com platform.
Prerequisites No login account is required. Accessible via any modern web browser.
Required User Permissions Public Access (No Login Required)

1. About Kariahku.com

Kariahku.com is a Multi-Tenant Mosque Management System that unifies a nationwide mosque directory, dedicated mosque microsites, residential-area-based kariah membership management, programme scheduling, official JAKIM e-Solat prayer times, and aggregate institutional reporting for State Islamic Religious Councils (MAIN) and JAKIM.

2. System Objectives

  1. Digital Standardization: Equip every registered masjid, surau, and surau Jumaat with an official microsite at /masjid/{slug} without requiring separate hosting.
  2. Jurisdiction-Aware Governance: Enforce strict tenant isolation between mosques (by mosque_id) and state jurisdiction boundaries for MAIN institutions (by state_id).
  3. Authoritative Prayer Schedules: Synchronize prayer times exclusively from the official JAKIM e-Solat service rather than unverified manual entry.
  4. Full Trilingual Accessibility: Deliver Bahasa Melayu (default), English, and Arabic (with full right-to-left layout) across the platform.

3. Implemented Core Features

  • Public Portal & CMS: Mosque directory search by state/district, featured announcements, and trilingual CMS pages (/about, /features, /benefits, /faq, /contact).
  • Mosque Registration & Verification: Public application form (/register-mosque) with supporting document upload and platform review workflow (/admin/mosques).
  • Mosque Microsite & Editorial Content: Profile management, logo, cover banner, theme colors, committee (AJK) list, announcements, articles, events, and photo gallery.
  • Kariah Membership & Residential Areas: Public kariah registration (/kariah-register), hierarchical residential areas (Locality/Mukim, Kampung, Taman, Street), application review, duplicate detection, and CSV export.
  • Activities & Prayer Times: Recurring activity scheduling, ICS calendar feeds, and automated JAKIM e-Solat synchronization.
  • Subscriptions, Billing & Authority Dashboards: 1-month free trial, toyyibPay and manual transfer payments, and aggregate MAIN and JAKIM dashboards.

4. Benefits for Mosques and Communities

  1. For Mosques: Streamlines kariah member records organized by kampung, taman, and street, publishes programmes, and maintains an official web presence.
  2. For Kariah Members & Public: Provides verified daily prayer times, searchable mosque programmes, and privacy-respecting online kariah membership applications (without requiring national IC numbers).
  3. For Religious Authorities (MAIN & JAKIM): Offers real-time aggregate visibility into registered mosques and community activities while preserving individual member privacy.
Kariahku.com public portal homepage featuring mosque search, official JAKIM prayer times, and activities.
Kariahku.com public portal homepage featuring mosque search, official JAKIM prayer times, and activities.

Input Fields & Options Reference

Portal ComponentURL RoutePrimary Function
Portal Homepage/{lang}Quick mosque search, upcoming activities, prayer times, and portal announcements.
Mosque Directory/{lang}/mosquesSearchable directory of active registered mosques filtered by State and District.
Activities Directory/{lang}/activitiesNationwide mosque programme listing and monthly calendar view.
Prayer Times/{lang}/prayer-timesDaily and monthly prayer time schedules by official JAKIM zone or mosque.
Expected Results: Users understand the exact scope of Kariahku.com and can navigate to the modules relevant to their role.
Important Notes & Data Boundaries: Mosque Financial Management, Khairat, Qurban/Aqiqah, and Mosque Committee Election modules are registered as disabled future placeholders and are not active in the current release.

Common Errors & Troubleshooting

If the portal displays in an unexpected language, click BM, EN, or AR in the top utility bar to switch and persist your preferred language.

SEC-A5 · Section A: Introduction to Kariahku.com ✓ Fully Implemented

Multi-Tenant System Concept, System Requirements & Supported Browsers/Devices

Detailed explanation of how multiple mosques operate independently within Kariahku.com, client system requirements, and supported browsers and devices.

Purpose of Function Ensure mosque administrators and authority users understand tenant data isolation guarantees and technical prerequisites.
Prerequisites Active internet connection and a modern standards-compliant web browser.
Required User Permissions Public Access / All Authenticated Roles

1. Multi-Tenant System Concept

Within Kariahku.com, each registered mosque operates as an independent tenant uniquely identified by its database key mosque_id and public URL slug:

  1. Strict Tenant Data Partitioning: Every operational mosque table—including mosque_users, mosque_settings, mosque_announcements, mosque_committees, mosque_editorial_items, mosque_activities, mosque_kariah_areas, and kariah_members—is scoped directly to the owning mosque_id.
  2. Server-Side Tenant Authorization: When a Mosque Administrator accesses /mosque-admin/*, require_mosque_permission() verifies an active assignment in mosque_users for that exact mosque. Any cross-tenant access attempt is rejected with HTTP 403 Forbidden and logged in audit_logs.
  3. Independent Tenant Billing: Each mosque maintains its own billing customer record (billing_customers) and subscription lifecycle (subscriptions) without affecting other mosques.

2. System Requirements

  • Network Connectivity: Broadband or mobile data connection (2 Mbps or higher recommended when uploading PDF/image attachments).
  • Screen Resolution: Fully responsive across smartphones (360px+), tablets (768px+), and desktop monitors (1280px+).
  • Browser Cookies: First-party session cookies (`HttpOnly`, `SameSite=Lax`) must be enabled for login sessions and CSRF protection.

3. Supported Browsers and Devices

  • Desktop (Windows, macOS, Linux): Google Chrome (109+), Microsoft Edge (109+), Mozilla Firefox (115+), Apple Safari (16+).
  • Mobile & Tablet: Chrome for Android 10+, Safari for iOS / iPadOS 15+.
  • Printing & PDF: Native browser print (`Ctrl+P` / `Cmd+P`) and built-in PDF download for invoices, receipts, institutional reports, and user manual guides.
Kariahku.com multi-tenant architecture and strict tenant data isolation model.
Kariahku.com multi-tenant architecture and strict tenant data isolation model.

Input Fields & Options Reference

Tenant LayerAccess Control TableData Boundary
Global Platformuser_roles + role_permissionsPlatform-wide scope according to assigned global permissions.
Mosque Tenantmosque_users (mosque_id)Restricted strictly to records belonging to the authorized mosque.
MAIN Institutioninstitution_users + institution_state_accessAggregate records of registered mosques within the verified state only.
JAKIM Institutioninstitution_users (nationwide)Aggregate records of registered mosques across all 16 states/territories.
Expected Results: Administrators and users understand how tenant boundaries protect mosque data and verify that their devices meet system requirements.
Important Notes & Data Boundaries: Kariahku.com enforces a strict Content Security Policy (`script-src 'self'; style-src 'self'`). Avoid browser extensions that inject unauthorized third-party scripts.

Common Errors & Troubleshooting

If a form submission fails with an invalid request or CSRF error, verify that first-party cookies are enabled in your browser and refresh the page.

SEC-A8 · Section A: Introduction to Kariahku.com ✓ Fully Implemented

Understanding the User Interface, System Navigation & Terminology Glossary

Guide to Kariahku.com interface regions, public and administrative navigation patterns, and definitions of frequently used terminology.

Purpose of Function Help new users quickly orient themselves across public portal pages, mosque microsites, and administrative workspaces.
Prerequisites None.
Required User Permissions Public Access / All Roles

1. Understanding the User Interface

The Kariahku.com interface consists of four consistent structural regions:

  1. Top Utility Bar: Located at the very top of every page. Displays the platform tagline, quick link to the Help Center, context-sensitive Page Help button, and the BM / EN / AR language switcher.
  2. Main Header Navigation: Houses the Kariahku.com brand mark and links to Home, Mosques, Activities, Prayer Times, Register as Kariah Member, Register Mosque, User Manual, and Log In (or Dashboard & Log Out when signed in).
  3. Workspace Sidebar: Inside administrative screens (/admin/* and /mosque-admin/*), a sticky side navigation panel provides one-click switching between management modules.
  4. Portal Footer: Contains links to Privacy Policy, Terms of Use, FAQ, Mosque Registration, and the User Manual.

2. General System Navigation

  • Language-Prefixed Routes: Every localized URL follows /{lang}/{route} such as /ms/mosques, /en/mosques, or /ar/mosques.
  • Keyboard Skip Link: Pressing Tab upon loading any page reveals the Skip to content link jumping directly to #main-content.
  • Responsive Mobile Menu: On screens narrower than 992px, tap the Menu toggle button in the header to expand navigation links.

3. Frequently Used Terminology

  • Kariah: The local parish boundary served by a mosque and the Muslim community residing within that geographic area.
  • Tenant: An individual registered mosque operating an isolated workspace and record set keyed by mosque_id.
  • Microsite: A mosque’s dedicated public website hosted at /masjid/{slug}.
  • Prayer Zone: Official JAKIM e-Solat geographical zone code (e.g., WLY01, SGR01, JHR02).
  • MAIN: Majlis Agama Islam Negeri — State Islamic Religious Council authorized for state-level aggregate reporting.
  • JAKIM: Jabatan Kemajuan Islam Malaysia — Federal Islamic authority authorized for nationwide aggregate reporting across all 16 states and federal territories.
Top navigation bar, language utility bar, admin sidebar workspace, and context-sensitive help.
Top navigation bar, language utility bar, admin sidebar workspace, and context-sensitive help.

Input Fields & Options Reference

System TermTechnical & Operational Meaning
slugURL-safe unique identifier for a mosque microsite (e.g. masjid-al-hidayah).
KRH-YYYYMMDD-XXXXXXUnique reference code issued when submitting a kariah membership application.
trialing / active / past_due / grace_periodSubscription lifecycle states governing paid feature availability.
Expected Results: Users can navigate seamlessly across public and administrative interfaces and understand platform terminology.
Important Notes & Data Boundaries: When Arabic (`ar`) is active, the interface automatically switches to right-to-left (`dir="rtl"`), while technical fields such as emails, URLs, phone numbers, and postcodes remain left-to-right (`dir="ltr"`).

Common Errors & Troubleshooting

On mobile devices, wide data tables can be scrolled horizontally inside their responsive container.

SEC-B4 · Section B: Getting Started & Account Access ✓ Fully Implemented

Logging In, Logging Out Securely & Resetting a Forgotten Password

Step-by-step instructions for logging into Kariahku.com, brute-force rate limiting rules, secure POST+CSRF logout, and resetting a forgotten password.

Purpose of Function Enable authorized users to sign in safely, terminate their session securely, and recover account access if a password is forgotten.
Prerequisites An active user record in the `users` table.
Required User Permissions Active User Account in users Table

1. Logging Into the System (/login)

  1. Click Log In in the top navigation bar or visit /{lang}/login.
  2. Enter your registered Email address (up to 254 characters).
  3. Enter your Password (up to 72 characters).
  4. Click Log In.
  5. Upon verification, the system regenerates the PHP session ID (session_regenerate_id(true)), rotates the CSRF token, writes an auth.login audit entry, and redirects to /{lang}/dashboard.

2. Logging Out Securely (/logout)

  1. Click the Log Out button in the header navigation bar.
  2. The button submits a CSRF-protected HTTP POST request to /{lang}/logout (GET requests to /logout are rejected with 405 Method Not Allowed to prevent cross-site logout CSRF).
  3. The session is destroyed, the session cookie is expired, an auth.logout event is logged, and you are redirected to /{lang}/login.

3. Resetting a Forgotten Password (/forgot-password & /reset-password)

  1. On /login, click Forgot password? to open /{lang}/forgot-password.
  2. Enter your registered Email address and click Submit.
  3. The system generates a 64-character hex reset token (stored as a SHA-256 hash in password_resets valid for 1 hour).
  4. Open the reset URL /{lang}/reset-password?token={token}.
  5. Enter your new Password (minimum 12 characters, maximum 72 characters) and repeat it in Confirm Password.
  6. Click Submit. The token is marked used (used_at) and you are redirected to /login.
Sign In (/login) and Password Recovery (/forgot-password & /reset-password) screens.
Sign In (/login) and Password Recovery (/forgot-password & /reset-password) screens.

Input Fields & Options Reference

Input FieldRouteValidation Rules
email/login, /forgot-passwordValid email format, max 254 chars, dir="ltr".
password/login, /reset-passwordLogin: 1–72 chars. Password reset: 12–72 chars required.
confirm_password/reset-passwordMust exactly match the new password field.
Expected Results: Users sign in to `/dashboard`, sign out with complete session cleanup, or reset their password securely.
Important Notes & Data Boundaries: Brute-Force Protection: 5 failed login attempts for the same email or IP address within 15 minutes temporarily locks login attempts for 15 minutes.

Common Errors & Troubleshooting

  • Login Error ("Invalid email or password"): Verify email spelling, check Caps Lock, ensure your account status is active, and wait 15 minutes if rate-limited.
  • Reset Error ("Invalid or expired reset token"): Tokens expire after 60 minutes and are single-use. Request a new token at /forgot-password (throttled to 1 request per 60 seconds).
SEC-B7 · Section B: Getting Started & Account Access ◐ Partially Implemented

Updating User Profile, Changing Passwords, Selecting Language & Understanding Dashboards

Guide to user profile and password management policies, switching interface languages (BM/EN/AR), and interpreting dashboard cards and navigation.

Purpose of Function Help users manage their language preference, understand how account profiles and passwords are maintained, and navigate role-specific dashboards.
Prerequisites An authenticated session for `/dashboard`; language switching is available to all visitors.
Required User Permissions Authenticated User Session (/dashboard)

1. Updating User Profile (Current System Policy)

Implementation Status: In Kariahku.com, login account identity fields (users.name and users.email) are centrally governed to preserve audit log integrity (audit_logs) and institutional/mosque role bindings:

  • Viewing Account Info: Signing in to /{lang}/dashboard displays your account name, email, and active role capabilities.
  • Login Account Name/Email Changes: Self-service editing of users.name or users.email is not exposed in the UI; changes are performed by platform administrators.
  • Updating Mosque & Kariah Profiles: Mosque Administrators have full self-service screens to update the Mosque Profile at /mosque-admin/profile and Kariah Member Profiles at /mosque-admin/kariah-members.

2. Changing Passwords

  1. To rotate or change your account password at any time, navigate to /{lang}/forgot-password.
  2. Submit your account email address and follow the token-verified /{lang}/reset-password?token=... workflow to set a new 12–72 character password.

3. Selecting Your Preferred Language (BM, EN, AR)

  1. Locate the language switcher in the top utility bar.
  2. Click BM (Bahasa Melayu), EN (English), or AR (العربية).
  3. The system rewrites the current route to the chosen language prefix (e.g. /en/manual → /ar/manual) and persists your choice in $_SESSION['lang'] and the 365-day kariahku_lang cookie.

4. Understanding Dashboard Information (/dashboard)

Visiting /{lang}/dashboard automatically routes you according to your assigned permissions:

  • Platform Administrators (with platform.dashboard.view): Redirected to /admin/dashboard showing total users, mosques by status, pending reviews, and recent audit logs.
  • Mosque Administrators & Editors: Redirected to /mosque-admin/dashboard showing profile completeness percentage, announcement/committee counts, subscription status, and quick action links.
  • MAIN & JAKIM Officers: Access state or national aggregate dashboards at /main/dashboard and /jakim/dashboard.
Unified dashboard router (/dashboard) and trilingual language switcher (BM / EN / AR).
Unified dashboard router (/dashboard) and trilingual language switcher (BM / EN / AR).

Input Fields & Options Reference

Language CodeDisplay NameDirection & Typography
msBahasa Melayu (Default)dir="ltr" (Left-to-Right), system UI typography.
enEnglishdir="ltr" (Left-to-Right), system UI typography.
arالعربية (Arabic)dir="rtl" (Right-to-Left), bundled KariahArabic (NotoNaskhArabic.ttf) font.
Expected Results: Users can switch languages persistently and interpret all metrics and quick actions on their dashboard.
Important Notes & Data Boundaries: Language preferences are stored in the `kariahku_lang` cookie (`HttpOnly`, `SameSite=Lax`) for 1 year.

Common Errors & Troubleshooting

If you sign in and see only the basic account card on /dashboard without management links, your account has not yet been assigned a mosque or platform role. Contact a Super Admin.

SEC-04A · Section 4: User Roles and Permissions ✓ Fully Implemented

Platform Management & Mosque Management Roles (Including Non-Existent Role Clarifications)

Authoritative reference for Global roles (Super Admin, Portal Admin) and Mosque tenant roles (Mosque Admin, Mosque Editor, Mosque Member), plus clarifications on non-existent separate sub-roles.

Purpose of Function Document every verified platform and mosque role, login workflow, accessible modules, allowed/restricted actions, and data access boundaries.
Prerequisites An active user account with role assignments in `user_roles` or `mosque_users`.
Required User Permissions Role Reference Guide (All Users)

A. Kariahku.com Platform Management Roles (Global Scope: user_roles)

1. Super Administrator (Role Code: super_admin)

  • Role Description: Highest administrative authority across Kariahku.com. Holds all 15 global permissions and is immutable in the permission editor.
  • Login & Dashboard Access: Sign in at /login → routed to /admin/dashboard.
  • Available Modules: All /admin/* modules (Dashboard, Users, Permissions, Mosques, CMS, Activity Categories, Featured Activities, Prayer Times, Subscriptions, Payments, Institutions, Reports, and User Manual).
  • Allowed Actions: Manage user accounts and global roles, edit non-Super-Admin role permissions, review/approve/suspend mosques, manage CMS pages, configure subscription plans/fees/discounts, verify manual bank transfers, manage MAIN/JAKIM institutions, and administer the User Manual.
  • Restricted Actions: Protected by last-Super-Admin safeguard (cannot suspend or remove the final active super_admin).
  • Report Access & Data Boundaries: Full access to /admin/reports and platform billing revenue reports at /admin/payments.

2. Platform / Portal Administrator (Role Code: portal_admin)

  • Role Description: Operational administrator for portal content, mosque registration reviews, featured activities, and help center content.
  • Login & Dashboard Access: Sign in at /login → accesses /admin/mosques, /admin/cms, /admin/featured-activities, /admin/reports, and /admin/manual.
  • Allowed Actions: Review/approve/reject mosque registrations (mosques.review), edit trilingual CMS content (portal.content.manage), curate featured activities (portal.activities.feature), view content reports (reports.content.view), and manage User Manual content (manual.manage).
  • Restricted Actions (Default): Cannot manage users (users.manage), edit permissions (permissions.manage), alter subscription plans (subscriptions.manage), verify payments (payments.manage), or manage institutions (institutions.manage) unless explicitly granted in /admin/permissions.

3. Clarification: Subscription/Billing Administrator & Support Administrator

Verified Codebase Reality: Separate role rows for Subscription/Billing Administrator or Support Administrator do not exist in the roles table. Billing and support administration are governed via granular permissions (subscriptions.manage, payments.manage, institutions.manage) held by super_admin and configurable in /admin/permissions.

B. Mosque Management Roles (Mosque Tenant Scope: mosque_users)

1. Mosque Administrator (Role Code: mosque_admin)

  • Role Description: Primary administrator for an individual mosque tenant. Holds mosque.access, mosque.manage, mosque.publish, subscriptions.view, and kariah.members.export.
  • Login & Dashboard Access: Sign in at /login → routed to /mosque-admin/dashboard.
  • Available Modules: All /mosque-admin/* modules (Dashboard, Mosque Profile, Microsite Website, Announcements, Committee, Editorial Content, Activities, Prayer Times, Mosque Users, Kariah Residential Areas, Kariah Members, and Subscription/Billing).
  • Allowed Actions: Update mosque details/coordinates, upload logo/cover image, manage public committee members, publish announcements/articles/events/gallery, schedule activities, configure prayer zone, manage assigned mosque staff, configure residential areas, approve/manage kariah members, export kariah CSV, and pay mosque subscription invoices.
  • Restricted Actions & Data Boundaries: Strictly isolated to the assigned mosque_id. Cannot view or modify any other mosque tenant or access /admin/*.

2. Mosque Editor (Role Code: mosque_editor)

  • Role Description: Secondary mosque tenant role holding mosque.access and mosque.publish.
  • Allowed & Restricted Actions: Can select the assigned mosque in /mosque-admin, whereas administrative configuration screens requiring mosque.manage or kariah.members.export are restricted to mosque_admin.

3. Mosque Member (Role Code: mosque_member)

  • Role Description: Read-only tenant workspace role holding mosque.access. Cannot modify mosque settings or export member directories.

4. Clarification: Mosque Committee (AJK), Treasurer & Secretary

Verified Codebase Reality: Separate login role codes for Mosque Committee / AJK, Mosque Treasurer, or Mosque Secretary do not exist in the roles table. Mosque committee positions (Chairman, Imam, Secretary, Treasurer, Committee Members) are published as public organisational directory records in mosque_committees via /mosque-admin/committee, while system login access uses mosque_admin, mosque_editor, or mosque_member.

Platform Administrator (/admin/dashboard) and Mosque Administrator (/mosque-admin/dashboard) workspaces.
Platform Administrator (/admin/dashboard) and Mosque Administrator (/mosque-admin/dashboard) workspaces.

Input Fields & Options Reference

Role CodeScope TableDefault PermissionsPrimary Entry Route
super_adminGlobal (user_roles)All 15 global permissions (including manual.manage)/admin/dashboard
portal_adminGlobal (user_roles)portal.access, mosques.review, portal.content.manage, reports.content.view, portal.activities.feature, manual.manage/admin/mosques, /admin/cms
mosque_adminMosque (mosque_users)mosque.access, mosque.manage, mosque.publish, subscriptions.view, kariah.members.export/mosque-admin/dashboard
mosque_editorMosque (mosque_users)mosque.access, mosque.publish/mosque-admin
mosque_memberMosque (mosque_users)mosque.access/mosque-admin
Expected Results: Administrators and auditors have an exact reference of every platform and mosque role and its boundaries.
Important Notes & Data Boundaries: A single user account can be assigned to multiple mosques in `mosque_users` and switch between them at `/mosque-admin`.

Common Errors & Troubleshooting

If a mosque_admin user receives 403 Forbidden, verify that both their mosque_users.status and the mosque’s mosques.status are set to active.

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.