Rename upload/catalog/controller/affiliate.php to upload/catalog/controller/module/affiliate.php