If you're experiencing login issues with the admin account, follow these steps:
Edit config/config.php and replace the placeholder values:
// Database Configuration
define('DB_HOST', 'localhost');
define('DB_USER', 'u677493242_plugins');
define('DB_PASS', 'YOUR_ACTUAL_DATABASE_PASSWORD'); // ⚠️ REPLACE THIS
define('DB_NAME', 'u677493242_plugins');Important: Get your actual database password from:
- Hostinger Control Panel → Databases → MySQL Databases
- Or from your hosting provider's database management panel
Run the test script to verify your database configuration:
php api/test-db.phpThis will show you:
- ✓ If database connection works
- ✓ If admin user exists
- ✓ If password hash is correct
If the admin user doesn't exist or password is incorrect:
php sql/seed.phpThis will:
- Create the admin user with email:
admin@mixlarlabs.com - Set password to:
admin123 - Import all plugins from
list.json
If login still fails, check the PHP error logs:
On Hostinger:
- Go to hosting control panel
- Look for "Error Logs" or "PHP Error Logs"
- Check recent entries for login errors
The improved login.php now logs:
- Database connection status
- User lookup results
- Password verification results
- Detailed error messages
Try logging in again:
- URL:
https://aqua-sparrow-114102.hostingersite.com/frontend/public/login.html - Email:
admin@mixlarlabs.com - Password:
admin123
- Database password in
config/config.phpis wrong - Database doesn't exist
- Database user doesn't have proper permissions
Could mean:
- Email doesn't exist in database (run
sql/seed.php) - Password is incorrect
- Password hash in database is corrupted
- Frontend is not sending data properly
- Check browser console (F12) for JavaScript errors
- Change the admin password immediately
- Update
config/config.phpwith strong passwords - Never commit
config/config.phpto git (it should be in.gitignore)
Run the diagnostic script:
php api/test-db.phpThis will identify the exact issue and guide you to the solution.