When none of In-Portal themes is enabled and marked as primary, then user only sees empty blank screen instead of Front-End. Debugger also appears hidden.
I guess, that a message should be shown to the user, explaining the problem.
During debugging revealed that application interrupts in kApplication::Init
method. Further debugging showed that problem is in the kApplication::ApplicationDie
method:
core/kernel/application.php
/** * Stops processing of user request and displays given message * * @param string $message * @access public */ public function ApplicationDie($message = '') { $message = ob_get_clean() . $message; if ( $this->isDebugMode() ) { $message .= $this->Debugger->printReport(true); } echo $this->UseOutputCompression() ? gzencode($message, DBG_COMPRESSION_LEVEL) : $message; exit; }
Output of this code will be done in buffer and never be showed.