Troubleshooting
Common issues and solutions.
Installation
Composer error
bash
composer create-project tavp/core myapp
# Error: Could not find package tavp/coreSolution: Ensure you have PHP 8.1+ and composer is up to date.
bash
composer self-update
php -vPhalcon not found
bash
PHP Fatal error: Uncaught Error: Class 'Phalcon\Config' not foundSolution: Install Phalcon extension.
bash
# Ubuntu/Debian
sudo apt-get install php8.3-phalcon
# PHP-FPM
sudo systemctl restart php8.3-fpmDatabase
Connection refused
bash
SQLSTATE[HY000] [2002] Connection refusedSolution: Check database credentials in .env.
Table not found
bash
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tavp.users' doesn't existSolution: Run migrations.
bash
tavp migratePerformance
Slow response
- Check database queries (enable query log)
- Enable caching
- Use Coil or Relay runtime
High memory usage
- Reduce PHP memory_limit
- Optimize database queries
- Use pagination
