Common Issues & Fixes
A comprehensive guide to the most common problems and their solutions.
Kurulum Issues
Blank White Page After Kurulum
Cause: Usually a file permissions issue.
Fix:
# Check the Laravel log
tail -50 storage/logs/laravel.log
# Fix permissions
sudo chmod -R 775 storage bootstrap/cache
sudo chown -R www-data:www-data storage bootstrap/cache
"Class Not Found" Errors
Cause: Composer dependencies not installed or autoloader not generated.
Fix:
composer install --no-dev --optimize-autoloader
php artisan config:clear
Installer Shows "Already Installed"
Cause: The storage/installed.lock file exists.
Fix: If you need to re-run the installer:
rm storage/installed.lock
Then visit /install again.
CSS/JS Not Loading (Unstyled Page)
Cause: Storage symlink missing or asset path issue.
Fix:
php artisan storage:link
php artisan config:clear
php artisan view:clear
Also check that your APP_URL in .env matches your actual domain (including https://).
Veritabani Issues
"SQLSTATE[HY000] [2002] Connection Refused"
Cause: MySQL is not running or wrong host.
Fix:
- Check MySQL is running:
sudo systemctl status mysql - Try
127.0.0.1instead oflocalhostin.env - Verify port (default: 3306)
"SQLSTATE[HY000] [1045] Access Denied"
Cause: Wrong database credentials.
Fix:
- Verify username/password in
.env - Test connection:
mysql -u your_user -p your_database - Re-grant permissions:
GRANT ALL PRIVILEGES ON feedbackpulse.* TO 'your_user'@'localhost';
FLUSH PRIVILEGES;
Emojis Showing as ????
Cause: Veritabani charset is utf8 instead of utf8mb4.
Fix:
ALTER DATABASE feedbackpulse CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Web Server Issues
All Routes Return 404
Apache fix:
sudo a2enmod rewrite
sudo systemctl restart apache2
Make sure AllowOverride All is set in your virtual host.
Nginx fix: Ensure your server block has:
location / {
try_files $uri $uri/ /index.php?$query_string;
}
502 Bad Gateway (Nginx)
Cause: PHP-FPM not running or wrong socket path.
Fix:
sudo systemctl restart php8.2-fpm
# Check the socket path
ls /var/run/php/php8.2-fpm.sock
413 Request Entity Too Large
Cause: Upload size limit too low.
Fix (Nginx):
client_max_body_size 20M;
Fix (PHP):
upload_max_filesize = 20M
post_max_size = 25M
Authentication Issues
"CSRF Token Mismatch" (419 Error)
Cause: Session expired or cookies issue.
Fix:
- Clear browser cookies and try again
- Check
SESSION_DOMAINin.env(set to.yourdomain.comfor subdomains) - Ensure
SESSION_SECURE_COOKIE=trueonly if using HTTPS
Can't Login After Password Reset
Cause: Browser cached the old session.
Fix: Clear browser cookies or use incognito mode.