Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When of In-Portal have not any enabled theme (and set primary) there no any error message, just blank page without text. Also debugger is not loaded.Guess 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 I found revealed that application interrupts on it's initin kApplication::Init method. Further debugging showed that problem is in that methodthe kApplication::ApplicationDie method:

Code Block
languagephp
titlecore/kernel/application.php
firstline2730
linenumberstrue
	/**
	 * 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.

Related Tasks