Magento: Firecheckout not running after run compilation process

There are a lot of cases around Magento compilation. But, my client case is unique. Firecheckout module is already installed and enabled. No error message displayed on screen or found in log. But why? I only see a default Magento checkout page rather than Firecheckout.

What do I find after debugging?

  • Compiler collect path is enabled. Open file `includes/config.php`. You will find a line of code below.
define(‘COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’);
  • Files inside the directory `includes/stat` are messed up. Some files are not registered as Compiled Scopes. Filename describe the scope.

If you run compilation process with compiler collect path enabled. The compiler will scan files inside `includes/stat` directory. If the scope exist, Magento will recompile all files under the scope.

My solution is to disable compiler collect path by adding sign # in front of code.

#define(‘COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’);

Then, I remove directory `includes/stat` and its content. I click button Run Compilation Process in Admin panel. Problem solved.