What likely happened is that during the edit of application.php, some required configuration lines were either:
Accidentally deleted, or
Commented out improperly, which broke part of the layout or loading logic for FluxCP.
By skipping those unnecessary changes and using the default working config, you avoided the issue — smart move. FluxCP’s templates and modules rely heavily on correct config structure, so even one misstep (like a bad semicolon or misplaced comment) can cause the whole page to partially break or show up blank.