=== Production Environment Analysis === Production Path: /var/www/factur-x.point8.fr/customers/customer1 1. Directory Structure Analysis: ✓ src (DIR): /var/www/factur-x.point8.fr/customers/customer1/src ✓ admin (DIR): /var/www/factur-x.point8.fr/customers/customer1/admin ✓ vendor (DIR): /var/www/factur-x.point8.fr/customers/customer1/vendor ✓ config (DIR): /var/www/factur-x.point8.fr/customers/customer1/config 2. Key Files Analysis: ✓ Config.php: /var/www/factur-x.point8.fr/customers/customer1/src/Config.php (2394 bytes) ✓ OrderManager.php: /var/www/factur-x.point8.fr/customers/customer1/src/OrderManager.php (11017 bytes) ✓ Database.php: /var/www/factur-x.point8.fr/customers/customer1/src/Database.php (5511 bytes) ✓ index.php: /var/www/factur-x.point8.fr/customers/customer1/admin/index.php (2074 bytes) ✓ config.php: /var/www/factur-x.point8.fr/customers/customer1/config/config.php (1333 bytes) ✓ autoload.php: /var/www/factur-x.point8.fr/customers/customer1/vendor/autoload.php (1682 bytes) 3. Current Autoloader Analysis: ✓ Autoloader exists Size: 1682 characters ⚠ Uses __DIR__ (may not work in production) 4. Direct Config Class Test: ⚠ Config class already defined (possible conflict) ✗ Fatal error in Config.php: Call to private FacturX\Config::__construct() from global scope === Analysis Complete === === Likely Issues === 1. Autoloader: Uses __DIR__ which may not resolve correctly 2. File Permissions: May not have proper permissions 3. Class Conflicts: Possible duplicate class definitions 4. PHP Version: May have compatibility issues === Recommended Fixes === 1. Use absolute paths in autoloader 2. Ensure proper file permissions 3. Clear PHP opcode cache: opcache_reset() 4. Use simple autoloader (direct includes) 5. Check PHP error logs for details