🐛 Bug Description
When attempting to register a new account on the NearBy platform, clicking the "Create Account" button does not proceed and throws a JavaScript ReferenceError in the browser console.
🔁 Steps to Reproduce
Steps to reproduce the behavior:
- Navigate to sumitrathor.rf.gd/nearby/register.php
- Fill in all required fields:
- Full Name: e.g. Pooja
- College Email: e.g. pooja@mitsgwl.ac.in
- Password: (any valid password)
- Account Purpose: Find Accommodation (Student)
- I am registering as: Student
- Click the "Create Account" button
- Open browser DevTools → Console tab
✅ Expected Behavior
A new NearBy account should be created successfully and the user should be redirected or shown a success message.
📸 Screenshots
Actual Behavior
The account is not created. Two identical errors appear in the console:
Uncaught (in promise) ReferenceError: NearBy is not defined
at HTMLFormElement. (auth.js:73:13)
Uncaught (in promise) ReferenceError: NearBy is not defined
at HTMLFormElement. (auth.js:73:13)
📌 Additional Context
Ensure the NearBy object is properly defined and loaded before auth.js executes. Check the script load order in the HTML and verify the main NearBy JS bundle is not missing or throwing its own silent error on load.
🐛 Bug Description
When attempting to register a new account on the NearBy platform, clicking the "Create Account" button does not proceed and throws a JavaScript ReferenceError in the browser console.
🔁 Steps to Reproduce
Steps to reproduce the behavior:
✅ Expected Behavior
A new NearBy account should be created successfully and the user should be redirected or shown a success message.
📸 Screenshots
Actual Behavior
The account is not created. Two identical errors appear in the console:
Uncaught (in promise) ReferenceError: NearBy is not defined
at HTMLFormElement. (auth.js:73:13)
Uncaught (in promise) ReferenceError: NearBy is not defined
at HTMLFormElement. (auth.js:73:13)
📌 Additional Context
Ensure the NearBy object is properly defined and loaded before auth.js executes. Check the script load order in the HTML and verify the main NearBy JS bundle is not missing or throwing its own silent error on load.