Troubleshooting

Common issues and their solutions


Common Installation Issues

🚨 404 Not Found / Document Root Issues

Important:

Getting 404 errors or "file not found" when accessing PostUno


Solution
Root Cause: Web server document root is not pointing to PostUno's /public directory


Fix Options:

  1. Move contents of /public to document root (Recommended for shared hosting)

  2. Configure virtual host (Recommended for VPS/dedicated)

  3. Use .htaccess redirect (Quick fix)

# Option 3: .htaccess redirect (place in public_html/) RewriteEngine On RewriteRule ^(.*)$ public/$1 [L]

🗄️ Database Connection Errors

Important:

1. "SQLSTATE[HY000] [1045] Access denied"
2. "SQLSTATE[HY000] [2002] No such file or directory"
3. "Database does not exist"


Solutions
Check Database Credentials:

# Test connection manually mysql -h localhost -u your_username -p your_database_name

Verify Database Exists:

SHOW DATABASES;

Check User Permissions:

SHOW GRANTS FOR 'your_username'@'localhost';

📞 Getting Help


📧 Support Checklist - Include this info:

📞Contact Support
📖Knowledge Base