[15-Aug-2026 17:15:05 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:15:53 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:17:50 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:18:29 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:18:59 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:18:59 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:18:59 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:18:59 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:19:54 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:20:21 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:20:21 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:20:21 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:20:21 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:20:42 Asia/Kathmandu] [DB CONNECTION FAILED] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[15-Aug-2026 17:27:15 Asia/Kathmandu] [SETUP FAILED] super_admin role missing — run database/seed.sql before setup.
[15-Aug-2026 17:28:24 Asia/Kathmandu] [SETUP FAILED] SQLSTATE[HY093]: Invalid parameter number
[15-Aug-2026 17:29:24 Asia/Kathmandu] [SETUP FAILED] SQLSTATE[HY093]: Invalid parameter number
[15-Aug-2026 17:45:39 Asia/Kathmandu] [SETUP FAILED] SQLSTATE[HY093]: Invalid parameter number
[15-Aug-2026 17:46:33 Asia/Kathmandu] [SETUP FAILED] SQLSTATE[HY093]: Invalid parameter number
[15-Aug-2026 17:49:05 Asia/Kathmandu] [SETUP FAILED] SQLSTATE[HY093]: Invalid parameter number in /home3/mohanma1/ams.mohanmaya.com/public/setup.php on line 87
[15-Aug-2026 17:49:05 Asia/Kathmandu] [SETUP FAILED] Stack trace: #0 /home3/mohanma1/ams.mohanmaya.com/public/setup.php(87): PDOStatement->execute()
#1 {main}
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] Step 1: Inserting organization
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] Organization params: {":name":"MOHANMAYA SECONDARY SCHOOL",":name_np":"\u092e\u094b\u0939\u0928\u092e\u093e\u092f\u093e \u092e\u093e\u0927\u094d\u092f\u092e\u093f\u0915 \u0935\u093f\u0926\u094d\u092f\u093e\u0932\u092f",":type":"School",":tz":"Asia\/Kathmandu",":cur":"NPR",":lang":"en"}
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] Organization inserted with ID: 7
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] Step 2: Inserting user
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] SQL: INSERT INTO users (organization_id, full_name, username, email, password_hash, status) 
                    VALUES (?, ?, ?, ?, ?, ?)
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] User params count: 6
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] User params: [7,"Saurav Neupane","saurav","Srvnpn@gmail.com","$2y$10$vjgW3Mt\/2dFRMVRz3AwL6Oc\/StSvJrelFJXCaMLKzbX5oIKq3E51S","active"]
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] User inserted with ID: 7
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] Step 3: Checking super_admin role
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] super_admin role found with ID: 1
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] Step 4: Assigning role to user
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] Role assigned successfully
[15-Aug-2026 17:51:08 Asia/Kathmandu] [SETUP DEBUG] Transaction committed successfully
[15-Aug-2026 17:57:25 Asia/Kathmandu] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php:120
Stack trace:
#0 /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php(120): PDOStatement->execute()
#1 /home3/mohanma1/ams.mohanmaya.com/public/login.php(25): attempt_login()
#2 {main}
  thrown in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php on line 120
[15-Aug-2026 17:57:41 Asia/Kathmandu] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php:120
Stack trace:
#0 /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php(120): PDOStatement->execute()
#1 /home3/mohanma1/ams.mohanmaya.com/public/login.php(25): attempt_login()
#2 {main}
  thrown in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php on line 120
[15-Aug-2026 17:59:36 Asia/Kathmandu] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php:144
Stack trace:
#0 /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php(144): PDOStatement->execute()
#1 /home3/mohanma1/ams.mohanmaya.com/public/login.php(25): attempt_login()
#2 {main}
  thrown in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php on line 144
[15-Aug-2026 18:00:57 Asia/Kathmandu] [LOGIN DEBUG] Attempting login for: saurav
[15-Aug-2026 18:00:57 Asia/Kathmandu] [LOGIN DEBUG] Looking up user: saurav
[15-Aug-2026 18:00:57 Asia/Kathmandu] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php:149
Stack trace:
#0 /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php(149): PDOStatement->execute()
#1 /home3/mohanma1/ams.mohanmaya.com/public/login.php(25): attempt_login()
#2 {main}
  thrown in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php on line 149
[15-Aug-2026 18:01:09 Asia/Kathmandu] [LOGIN DEBUG] Attempting login for: saurav
[15-Aug-2026 18:01:09 Asia/Kathmandu] [LOGIN DEBUG] Looking up user: saurav
[15-Aug-2026 18:01:09 Asia/Kathmandu] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php:149
Stack trace:
#0 /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php(149): PDOStatement->execute()
#1 /home3/mohanma1/ams.mohanmaya.com/public/login.php(25): attempt_login()
#2 {main}
  thrown in /home3/mohanma1/ams.mohanmaya.com/app/Helpers/auth.php on line 149
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] Attempting login for: saurav
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] Identifier type: string
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] Password length: 9
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] Looking up user: saurav
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] SQL prepared, executing with params: [saurav, saurav, saurav]
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] User found: saurav (ID: 7)
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] User status: active
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] User failed_login_count: 0
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] Login successful for user: saurav
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] User updated successfully
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] Recording attempt for user: saurav, success: true
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] Using query with user_agent
[15-Aug-2026 18:04:31 Asia/Kathmandu] [LOGIN DEBUG] Login attempt recorded successfully
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] Attempting login for: saurav
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] Identifier type: string
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] Password length: 9
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] Looking up user: saurav
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] SQL prepared, executing with params: [saurav, saurav, saurav]
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] User found: saurav (ID: 7)
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] User status: active
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] User failed_login_count: 0
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] Login successful for user: saurav
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] User updated successfully
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] Recording attempt for user: saurav, success: true
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] Using query with user_agent
[15-Aug-2026 18:05:54 Asia/Kathmandu] [LOGIN DEBUG] Login attempt recorded successfully
