2. Exception
…/­core/­Application.php222
1. Application getSite
…/­core/­Application.php51
0. Application handle
/­home/­www/­amaia/­www_front/­index.php28

Exception

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Exception thrown with message "Debug mode is active, so you must access your site using the following domain: {siteID}.webcoffee.fr" Stacktrace: #2 Exception in /home/www/amaia/lib/core/Application.php:222 #1 Application:getSite in /home/www/amaia/lib/core/Application.php:51 #0 Application:handle in /home/www/amaia/www_front/index.php:28

Debug mode is active, so you must access your site using the following domain: {siteID}.webcoffee.fr

/home/www/amaia/lib/core/Application.php
		global $_CONFIG;
 
		// If we're in debug mode, we must access a site using its ID as a subdomain!
		if (isset($_CONFIG['debug']) && $_CONFIG['debug']) {
			if (ends_with($domain, '.' . AMAIA_DEBUG_DOMAIN)) {
				$site = new Site(str_replace('.' . AMAIA_DEBUG_DOMAIN, '', $domain));
			} else {
				throw new Exception('Debug mode is active, so you must access your site using the following domain: {siteID}.' . AMAIA_DEBUG_DOMAIN);
			}
		}
/home/www/amaia/lib/core/Application.php
	{
		Logger::sql('', 'debug');
		Logger::sql('----------] ' . $request->domain . $request->path . ' [----------', 'debug');
 
		try {
 
			// Get the site matching the request's domain
			$site = $this->getSite($request->domain);
 
			// Apply the URL rewriting rules to the request
/home/www/amaia/www_front/index.php
 */

require('../config.php');
require(AMAIA_LIB . 'functions.php');
require(AMAIA_ROOT . 'autoload.php');

$app = new Application();
$app->handle(Request::buildFromHTTP(Request::TYPE_FRONT));
empty
empty
empty
empty
empty
Key Value
USER www-data
HOME /var/www
HTTP_HOST webcoffee.fr
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
SCRIPT_FILENAME /var/www/amaia/www_front/index.php
REDIRECT_STATUS 200
SERVER_NAME _
SERVER_PORT 80
SERVER_ADDR 46.105.103.228
REMOTE_PORT 61551
REMOTE_ADDR 3.149.233.72
SERVER_SOFTWARE nginx/1.10.3
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /var/www/amaia/www_front
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1714875000.3111
REQUEST_TIME 1714875000
empty
0. Whoops\Handler\PrettyPageHandler