=== Complete Production Server Test === Testing Factur-X system at: https://factur-x.point8.fr Production path: /var/www/factur-x/ 1. Testing Autoloader: ✅ Autoloader loaded successfully 2. Testing Configuration: ✅ Configuration loaded from: /var/www/factur-x/config/config.php Database host: 192.168.233.9 Database name: factur_x_qa Company name: Point8 3. Testing Database Connection: ❌ Database connection failed: Database connection failed: SQLSTATE[HY000] [2002] Connection refused 4. Testing OrderManager: ❌ OrderManager failed: Database connection failed: SQLSTATE[HY000] [2002] Connection refused 5. Testing InvoiceGenerator: ❌ InvoiceGenerator failed: Database connection failed: SQLSTATE[HY000] [2002] Connection refused 6. Testing Admin Panel Files: ✅ Main admin router exists ✅ Dashboard view exists ✅ Orders list view exists ✅ Invoices list view exists ✅ Order detail view exists ✅ Invoice detail view exists ✅ Order creation form exists ✅ Order edit form exists 7. Testing Web Access: Testing Dashboard: https://factur-x.point8.fr/admin/?customer=customer1 ✅ Web accessible ✅ No obvious errors Testing Orders: https://factur-x.point8.fr/admin/?page=orders&customer=customer1 ✅ Web accessible ✅ No obvious errors Testing Invoices: https://factur-x.point8.fr/admin/?page=invoices&customer=customer1 ✅ Web accessible ✅ No obvious errors 8. Testing PHP Extensions: ✅ Extension 'pdo' loaded ✅ Extension 'pdo_mysql' loaded ✅ Extension 'json' loaded ✅ Extension 'mbstring' loaded 9. Testing File Permissions: ✅ Autoloader readable ❌ Configuration not found ✅ Admin router readable === Manual Testing Instructions === 1. Open browser and go to: https://factur-x.point8.fr/admin/?customer=customer1 2. Test dashboard loads without errors 3. Test orders list displays correctly 4. Test creating a new order: - Click 'Nouvelle commande' - Fill form with test data - Submit form - Check for success message 5. Test validating an order: - Find a draft order - Click 'Valider la commande' - Check status changes to 'Payée' 6. Test generating an invoice: - Find a paid order - Click 'Générer la facture' - Check for success message 7. Test marking invoice as paid: - Go to invoices list - Find a draft invoice - Click 'Marquer comme payée' - Check status changes 8. Test downloading Factur-X: - Click 'Télécharger Factur-X' - Check XML file downloads === Expected Working URLs === Dashboard: https://factur-x.point8.fr/admin/?customer=customer1 Orders: https://factur-x.point8.fr/admin/?page=orders&customer=customer1 Create Order: https://factur-x.point8.fr/admin/?page=orders&action=create&customer=customer1 Invoices: https://factur-x.point8.fr/admin/?page=invoices&customer=customer1 Order Detail: https://factur-x.point8.fr/admin/?page=order&id=1&customer=customer1 Invoice Detail: https://factur-x.point8.fr/admin/?page=invoice&id=1&customer=customer1 === Action URLs === Validate Order: https://factur-x.point8.fr/admin/?page=orders&action=validate&id=1&customer=customer1 Mark Invoice Paid: https://factur-x.point8.fr/admin/?page=invoices&action=mark_paid&id=1&customer=customer1 Send Invoice: https://factur-x.point8.fr/admin/?page=invoices&action=send&id=1&customer=customer1 Download Factur-X: https://factur-x.point8.fr/admin/?page=invoices&action=download&id=1&customer=customer1 === Test Complete ===