Admin Panel Errors
This page lists common errors encountered in the Admin Panel and their solutions.
Login Issues
Unable to Login to Admin Panel
Symptoms:
- Login page refreshes without any error message
- "Invalid credentials" despite using correct username and password
Solutions:
- Clear browser cache and cookies
- Check if caps lock is enabled
- Reset password through the "Forgot Password" link
- Verify database connection
Session Expired Too Quickly
Symptoms:
- Frequent session timeouts
- Being logged out while actively using the admin panel
Solutions:
- Check your server configuration for session timeout settings
- Update the
session.lifetime
value in config files - Ensure your server's date and time are correctly set
Database Connection Errors
Database Connection Failed
Symptoms:
- Error messages mentioning "could not connect to database"
- Blank pages when trying to access certain sections
Solutions:
- Verify database credentials in configuration files
- Check if database server is running
- Ensure your database user has appropriate permissions
- Check for database server resource limitations
Web Settings Issues
Firebase Configuration Not Saving
Symptoms:
- Firebase settings don't save or appear to reset
- Authentication methods don't work despite being configured
Solutions:
- Check for JavaScript errors in the browser console
- Ensure you're saving the form after making changes
- Verify the format of your Firebase configuration
- Check file permissions for config storage directories
API Not Working
Symptoms:
- Web app can't connect to admin panel API
- Error messages about API connection failure
Solutions:
- Verify API URL configuration
- Check CORS settings on your server
- Ensure API routes are correctly defined
- Verify SSL certificate if using HTTPS
Content Management Problems
Cannot Upload Images
Symptoms:
- Image upload fails or shows error
- Uploaded images don't appear in the media library
Solutions:
- Check upload directory permissions
- Verify maximum upload size settings
- Ensure the image format is supported
- Check disk space on your server
Quiz Questions Not Appearing
Symptoms:
- Created questions don't show up in quizzes
- Questions appear in admin but not on the front-end
Solutions:
- Check if the questions are marked as active
- Verify category and language settings
- Clear application cache
- Check for any pending database migrations
Server-related Issues
500 Internal Server Error
Symptoms:
- Page shows "500 Internal Server Error"
- Certain admin functions fail with server error
Solutions:
- Check server error logs
- Verify PHP version compatibility
- Check for syntax errors in custom code
- Increase memory limits if resource-related
Slow Admin Panel
Symptoms:
- Pages take a long time to load
- Actions like saving take excessive time
Solutions:
- Optimize database with proper indexes
- Enable caching mechanisms
- Check for resource-intensive queries
- Upgrade server resources if necessary