Appearance
Troubleshooting Guide
Common issues, error messages, debugging techniques, and solutions for OmniSuite CMS.
Table of Contents
Common Issues
Installation Issues
Issue: Installer Not Loading
Symptoms:
- Blank page at
/install - 404 error
- Server error
Solutions:
- Check file permissions
- Verify
.envfile exists - Check PHP version (8.2+)
- Verify web server configuration
- Check error logs
Issue: Database Connection Failed
Symptoms:
- "Database connection failed" error
- Cannot connect to database
Solutions:
- Verify database credentials in
.env - Check database server is running
- Verify database exists
- Check user permissions
- Test connection manually
Issue: Permission Denied Errors
Symptoms:
- "Permission denied" errors
- Cannot write files
- Upload failures
Solutions:
bash
# Set correct permissions
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod -R 775 storage bootstrap/cache
chmod 600 .envConfiguration Issues
Issue: 500 Internal Server Error
Symptoms:
- 500 error on pages
- Server error messages
Solutions:
- Check error logs:
storage/logs/laravel.log - Clear cache:
php artisan config:clear - Check file permissions
- Verify
.envconfiguration - Check PHP error logs
Issue: White Screen of Death
Symptoms:
- Blank white page
- No error message
Solutions:
- Enable error display in
.env:APP_DEBUG=true - Check
storage/logs/laravel.log - Verify PHP version
- Check memory limit
- Review recent changes
Module Issues
Issue: Module Not Appearing
Symptoms:
- Module not in menu
- Cannot access module
Solutions:
- Check module is enabled in Module Settings
- Verify user has permissions
- Clear cache
- Check module status
- Review module logs
Issue: Module Not Working
Symptoms:
- Module errors
- Features not functioning
Solutions:
- Check module is enabled
- Verify permissions
- Check error logs
- Review module settings
- Test in different browser
Error Messages
Common Error Messages
"Class not found"
Cause: Autoloader issue
Solution:
bash
composer dump-autoload
php artisan config:clear"Table doesn't exist"
Cause: Migration not run
Solution:
bash
php artisan migrate"Permission denied"
Cause: File permission issue
Solution:
bash
chmod -R 775 storage bootstrap/cache"Token mismatch"
Cause: CSRF token issue
Solution:
- Clear browser cache
- Clear application cache
- Check session configuration
"Route not found"
Cause: Route not registered
Solution:
bash
php artisan route:clear
php artisan route:cacheDebugging Techniques
Enable Debug Mode
Development
.env:
env
APP_DEBUG=true
APP_ENV=localWarning: Never enable in production!
Check Logs
Application Logs
Location: storage/logs/laravel.log
View:
bash
tail -f storage/logs/laravel.logServer Logs
Apache:
- Error log:
/var/log/apache2/error.log - Access log:
/var/log/apache2/access.log
Nginx:
- Error log:
/var/log/nginx/error.log - Access log:
/var/log/nginx/access.log
Database Debugging
Check Queries
Enable Query Log:
php
DB::enableQueryLog();
// Your code
dd(DB::getQueryLog());Test Connection
bash
php artisan tinker
DB::connection()->getPdo();Cache Debugging
Clear All Caches
bash
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clearCheck Cache
bash
php artisan config:cache
php artisan route:cacheLog File Locations
Application Logs
Main Log:
storage/logs/laravel.log
Daily Logs:
storage/logs/laravel-YYYY-MM-DD.log
Server Logs
Apache
Error Log:
/var/log/apache2/error.log/var/log/httpd/error_log(CentOS)
Access Log:
/var/log/apache2/access.log/var/log/httpd/access_log(CentOS)
Nginx
Error Log:
/var/log/nginx/error.log
Access Log:
/var/log/nginx/access.log
PHP Logs
PHP Error Log:
- Check
php.iniforerror_logsetting - Usually:
/var/log/php_errors.log
Database Logs
MySQL:
/var/log/mysql/error.log- Check MySQL configuration
PostgreSQL:
- Check PostgreSQL log directory
Support Resources
Documentation
Available Documentation:
- Installation guides
- Module documentation
- Settings guides
- Feature management
- API documentation
Self-Help
Steps:
- Check documentation
- Review troubleshooting guides
- Check error logs
- Search for similar issues
- Review recent changes
Getting Help
Before Contacting Support:
Gather information:
- Error messages
- Log files
- Steps to reproduce
- System information
Check:
- Documentation
- Troubleshooting guides
- Known issues
Provide:
- Detailed description
- Error messages
- Log excerpts
- System details
Related Documentation
Last Updated: [Date will be updated during final review]