When of In-Portal themes is enabled and marked is primary, when user only sees empty blank screen instead of Front-End. Debugger also appears hidden.
I guess there must be something that leads user to 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.