/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
case '1429':
case '2002':
case '2005':
return new ConnectionException($message, $exception);
case '2006':
return new ConnectionLost($message, $exception);
case '1048':
case '1121':
case '1138':
case '1171':
case '1252':
case '1263':
case '1364':
case '1566':
return new NotNullConstraintViolationException($message, $exception);
}
return new DriverException($message, $exception);
}
/**
* {@inheritdoc}
*
* @throws Exception
*/
public function createDatabasePlatformForVersion($version)
{
$mariadb = stripos($version, 'mariadb') !== false;
if ($mariadb && version_compare($this->getMariaDbMysqlVersionNumber($version), '10.2.7', '>=')) {
return new MariaDb1027Platform();
}
if (! $mariadb) {
$oracleMysqlVersion = $this->getOracleMysqlVersionNumber($version);
if (version_compare($oracleMysqlVersion, '8', '>=')) {
return new MySQL80Platform();
}
Arguments
"""
An exception occurred while executing 'UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?' with params [151, 3, 159, "Hauptnavigation", "<ul class=\"flexnav\" data-breakpoint=\"767\"><li class=\"nav-firstlvl1\"><a href=\"https:\/\/www.heilbar.ch\/bar\" target=\"_self\" class=\"nav-first\">BAR<\/a><\/li><li class=\"nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/zeit-fuer-heilung\" target=\"_self\" class=\"nav-dropdown\">Zeit f\u00fcr Heilung<\/a><ul><li class=\"nav-firstlvl2\"><a href=\"https:\/\/www.heilbar.ch\/zeit-fuer-heilung\/Grundsatz-und-Ablauf\" target=\"_self\" class=\"nav-first\">Grundsatz und Ablauf<\/a><\/li><li class=\"nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/zeit-fuer-heilung\/erfahrungsberichte\" target=\"_self\" class=\"nav-last\">Erfahrungsberichte<\/a><\/li><\/ul><\/li><li class=\"nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/beratung\" target=\"_self\" class=\"nav-dropdown\">Beratung<\/a><ul><li class=\"nav-first nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/beratung\/erfahrungsberichte\" target=\"_self\" class=\"nav-first nav-last\">Erfahrungsberichte<\/a><\/li><\/ul><\/li><li class=\"nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/gemeinschaft\" target=\"_self\" class=\"nav-dropdown\">Gemeinschaft<\/a><ul><li class=\"nav-first nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/gemeinschaft\/persoenliche-statements\" target=\"_self\" class=\"nav-first nav-last\">Pers\u00f6nliche Statements<\/a><\/li><\/ul><\/li><li class=\"nav-last nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\" target=\"_self\" class=\"nav-last nav-dropdown\">Was uns wichtig ist<\/a><ul><li class=\"nav-firstlvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/vision\" target=\"_self\" class=\"nav-first\">Vision<\/a><\/li><li class=\"lvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/wie-sich-unser-dienst-finanziert\" target=\"_self\" class=\"\">Wie sich unser Dienst finanziert<\/a><\/li><li class=\"lvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/schnupperzeit\" target=\"_self\" class=\"\">Schnupperzeit<\/a><\/li><li class=\"nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/links\" target=\"_self\" class=\"nav-last\">Links<\/a><\/li><\/ul><\/li><\/ul>", 1711664921, 151, 3, "Hauptnavigation", 159]:\n
\n
SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement
"""
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php
* @deprecated
*
* @return Exception
*/
public static function driverException(Driver $driver, Throwable $driverEx)
{
return self::wrapException($driver, $driverEx, 'An exception occurred in driver: ' . $driverEx->getMessage());
}
/**
* @return Exception
*/
private static function wrapException(Driver $driver, Throwable $driverEx, string $msg)
{
if ($driverEx instanceof DriverException) {
return $driverEx;
}
if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DeprecatedDriverException) {
return $driver->convertException($msg, $driverEx);
}
return new Exception($msg, 0, $driverEx);
}
/**
* Returns a human-readable representation of an array of parameters.
* This properly handles binary data by returning a hex representation.
*
* @param mixed[] $params
*
* @return string
*/
private static function formatParameters(array $params)
{
return '[' . implode(', ', array_map(static function ($param) {
if (is_resource($param)) {
return (string) $param;
}
Arguments
"""
An exception occurred while executing 'UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?' with params [151, 3, 159, "Hauptnavigation", "<ul class=\"flexnav\" data-breakpoint=\"767\"><li class=\"nav-firstlvl1\"><a href=\"https:\/\/www.heilbar.ch\/bar\" target=\"_self\" class=\"nav-first\">BAR<\/a><\/li><li class=\"nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/zeit-fuer-heilung\" target=\"_self\" class=\"nav-dropdown\">Zeit f\u00fcr Heilung<\/a><ul><li class=\"nav-firstlvl2\"><a href=\"https:\/\/www.heilbar.ch\/zeit-fuer-heilung\/Grundsatz-und-Ablauf\" target=\"_self\" class=\"nav-first\">Grundsatz und Ablauf<\/a><\/li><li class=\"nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/zeit-fuer-heilung\/erfahrungsberichte\" target=\"_self\" class=\"nav-last\">Erfahrungsberichte<\/a><\/li><\/ul><\/li><li class=\"nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/beratung\" target=\"_self\" class=\"nav-dropdown\">Beratung<\/a><ul><li class=\"nav-first nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/beratung\/erfahrungsberichte\" target=\"_self\" class=\"nav-first nav-last\">Erfahrungsberichte<\/a><\/li><\/ul><\/li><li class=\"nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/gemeinschaft\" target=\"_self\" class=\"nav-dropdown\">Gemeinschaft<\/a><ul><li class=\"nav-first nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/gemeinschaft\/persoenliche-statements\" target=\"_self\" class=\"nav-first nav-last\">Pers\u00f6nliche Statements<\/a><\/li><\/ul><\/li><li class=\"nav-last nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\" target=\"_self\" class=\"nav-last nav-dropdown\">Was uns wichtig ist<\/a><ul><li class=\"nav-firstlvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/vision\" target=\"_self\" class=\"nav-first\">Vision<\/a><\/li><li class=\"lvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/wie-sich-unser-dienst-finanziert\" target=\"_self\" class=\"\">Wie sich unser Dienst finanziert<\/a><\/li><li class=\"lvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/schnupperzeit\" target=\"_self\" class=\"\">Schnupperzeit<\/a><\/li><li class=\"nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/links\" target=\"_self\" class=\"nav-last\">Links<\/a><\/li><\/ul><\/li><\/ul>", 1711664921, 151, 3, "Hauptnavigation", 159]:\n
\n
SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement
"""
Doctrine\DBAL\Driver\PDO\Exception {#2601
#message: "SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#2602
#message: "SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MariaDB server is running with the --read-only option so it cannot execute this statement"
]
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MariaDB server is running with the --read-only option so it cannot execute this statement"
]
-errorCode: 1290
-sqlState: "HY000"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php
}
/**
* @deprecated
*
* @param string $sql
* @param mixed[] $params
*
* @return Exception
*/
public static function driverExceptionDuringQuery(Driver $driver, Throwable $driverEx, $sql, array $params = [])
{
$msg = "An exception occurred while executing '" . $sql . "'";
if ($params) {
$msg .= ' with params ' . self::formatParameters($params);
}
$msg .= ":\n\n" . $driverEx->getMessage();
return self::wrapException($driver, $driverEx, $msg);
}
/**
* @deprecated
*
* @return Exception
*/
public static function driverException(Driver $driver, Throwable $driverEx)
{
return self::wrapException($driver, $driverEx, 'An exception occurred in driver: ' . $driverEx->getMessage());
}
/**
* @return Exception
*/
private static function wrapException(Driver $driver, Throwable $driverEx, string $msg)
{
if ($driverEx instanceof DriverException) {
return $driverEx;
}
Arguments
Concrete\Core\Database\Driver\PDOMySqlConcrete\Driver {#132}
Doctrine\DBAL\Driver\PDO\Exception {#2601
#message: "SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#2602
#message: "SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MariaDB server is running with the --read-only option so it cannot execute this statement"
]
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MariaDB server is running with the --read-only option so it cannot execute this statement"
]
-errorCode: 1290
-sqlState: "HY000"
}
"""
An exception occurred while executing 'UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?' with params [151, 3, 159, "Hauptnavigation", "<ul class=\"flexnav\" data-breakpoint=\"767\"><li class=\"nav-firstlvl1\"><a href=\"https:\/\/www.heilbar.ch\/bar\" target=\"_self\" class=\"nav-first\">BAR<\/a><\/li><li class=\"nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/zeit-fuer-heilung\" target=\"_self\" class=\"nav-dropdown\">Zeit f\u00fcr Heilung<\/a><ul><li class=\"nav-firstlvl2\"><a href=\"https:\/\/www.heilbar.ch\/zeit-fuer-heilung\/Grundsatz-und-Ablauf\" target=\"_self\" class=\"nav-first\">Grundsatz und Ablauf<\/a><\/li><li class=\"nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/zeit-fuer-heilung\/erfahrungsberichte\" target=\"_self\" class=\"nav-last\">Erfahrungsberichte<\/a><\/li><\/ul><\/li><li class=\"nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/beratung\" target=\"_self\" class=\"nav-dropdown\">Beratung<\/a><ul><li class=\"nav-first nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/beratung\/erfahrungsberichte\" target=\"_self\" class=\"nav-first nav-last\">Erfahrungsberichte<\/a><\/li><\/ul><\/li><li class=\"nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/gemeinschaft\" target=\"_self\" class=\"nav-dropdown\">Gemeinschaft<\/a><ul><li class=\"nav-first nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/gemeinschaft\/persoenliche-statements\" target=\"_self\" class=\"nav-first nav-last\">Pers\u00f6nliche Statements<\/a><\/li><\/ul><\/li><li class=\"nav-last nav-dropdownlvl1\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\" target=\"_self\" class=\"nav-last nav-dropdown\">Was uns wichtig ist<\/a><ul><li class=\"nav-firstlvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/vision\" target=\"_self\" class=\"nav-first\">Vision<\/a><\/li><li class=\"lvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/wie-sich-unser-dienst-finanziert\" target=\"_self\" class=\"\">Wie sich unser Dienst finanziert<\/a><\/li><li class=\"lvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/schnupperzeit\" target=\"_self\" class=\"\">Schnupperzeit<\/a><\/li><li class=\"nav-lastlvl2\"><a href=\"https:\/\/www.heilbar.ch\/was-uns-wichtig-ist\/links\" target=\"_self\" class=\"nav-last\">Links<\/a><\/li><\/ul><\/li><\/ul>", 1711664921, 151, 3, "Hauptnavigation", 159]:\n
\n
SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement
"""
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
return true;
} catch (DBALException $e) {
return false;
}
}
/**
* @internal
*
* @param array<int, mixed>|array<string, mixed> $params
* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
*
* @psalm-return never-return
*
* @throws Exception
*/
public function handleExceptionDuringQuery(Throwable $e, string $sql, array $params = [], array $types = []): void
{
$this->throw(
Exception::driverExceptionDuringQuery(
$this->_driver,
$e,
$sql,
$this->resolveParams($params, $types)
)
);
}
/**
* @internal
*
* @psalm-return never-return
*
* @throws Exception
*/
public function handleDriverException(Throwable $e): void
{
$this->throw(
Exception::driverException(
$this->_driver,
Arguments
Concrete\Core\Database\Driver\PDOMySqlConcrete\Driver {#132}
Doctrine\DBAL\Driver\PDO\Exception {#2601
#message: "SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#2602
#message: "SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MariaDB server is running with the --read-only option so it cannot execute this statement"
]
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MariaDB server is running with the --read-only option so it cannot execute this statement"
]
-errorCode: 1290
-sqlState: "HY000"
}
"UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?"
array:10 [
1 => 151
2 => 3
3 => 159
4 => "Hauptnavigation"
5 => "<ul class="flexnav" data-breakpoint="767"><li class="nav-firstlvl1"><a href="https://www.heilbar.ch/bar" target="_self" class="nav-first">BAR</a></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/zeit-fuer-heilung" target="_self" class="nav-dropdown">Zeit für Heilung</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/Grundsatz-und-Ablauf" target="_self" class="nav-first">Grundsatz und Ablauf</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/erfahrungsberichte" target="_self" class="nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/beratung" target="_self" class="nav-dropdown">Beratung</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/beratung/erfahrungsberichte" target="_self" class="nav-first nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/gemeinschaft" target="_self" class="nav-dropdown">Gemeinschaft</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/gemeinschaft/persoenliche-statements" target="_self" class="nav-first nav-last">Persönliche Statements</a></li></ul></li><li class="nav-last nav-dropdownlvl1"><a href="https://www.heilbar.ch/was-uns-wichtig-ist" target="_self" class="nav-last nav-dropdown">Was uns wichtig ist</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/vision" target="_self" class="nav-first">Vision</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/wie-sich-unser-dienst-finanziert" target="_self" class="">Wie sich unser Dienst finanziert</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/schnupperzeit" target="_self" class="">Schnupperzeit</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/links" target="_self" class="nav-last">Links</a></li></ul></li></ul>"
6 => 1711664921
7 => 151
8 => 3
9 => "Hauptnavigation"
10 => 159
]
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
try {
if ($params) {
[$sql, $params, $types] = SQLParserUtils::expandListParameters($sql, $params, $types);
$stmt = $connection->prepare($sql);
if ($types) {
$this->_bindTypedValues($stmt, $params, $types);
$stmt->execute();
} else {
$stmt->execute($params);
}
$result = $stmt->rowCount();
} else {
$result = $connection->exec($sql);
}
} catch (Throwable $e) {
$this->handleExceptionDuringQuery(
$e,
$sql,
$params,
$types
);
}
if ($logger) {
$logger->stopQuery();
}
return $result;
}
/**
* Executes an SQL statement and return the number of affected rows.
*
* @deprecated Use {@link executeStatement()} instead.
*
* @param string $sql
Arguments
Doctrine\DBAL\Driver\PDO\Exception {#2601
#message: "SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#2602
#message: "SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MariaDB server is running with the --read-only option so it cannot execute this statement"
]
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MariaDB server is running with the --read-only option so it cannot execute this statement"
]
-errorCode: 1290
-sqlState: "HY000"
}
"UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?"
array:10 [
0 => 151
1 => 3
2 => 159
3 => "Hauptnavigation"
4 => "<ul class="flexnav" data-breakpoint="767"><li class="nav-firstlvl1"><a href="https://www.heilbar.ch/bar" target="_self" class="nav-first">BAR</a></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/zeit-fuer-heilung" target="_self" class="nav-dropdown">Zeit für Heilung</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/Grundsatz-und-Ablauf" target="_self" class="nav-first">Grundsatz und Ablauf</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/erfahrungsberichte" target="_self" class="nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/beratung" target="_self" class="nav-dropdown">Beratung</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/beratung/erfahrungsberichte" target="_self" class="nav-first nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/gemeinschaft" target="_self" class="nav-dropdown">Gemeinschaft</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/gemeinschaft/persoenliche-statements" target="_self" class="nav-first nav-last">Persönliche Statements</a></li></ul></li><li class="nav-last nav-dropdownlvl1"><a href="https://www.heilbar.ch/was-uns-wichtig-ist" target="_self" class="nav-last nav-dropdown">Was uns wichtig ist</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/vision" target="_self" class="nav-first">Vision</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/wie-sich-unser-dienst-finanziert" target="_self" class="">Wie sich unser Dienst finanziert</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/schnupperzeit" target="_self" class="">Schnupperzeit</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/links" target="_self" class="nav-last">Links</a></li></ul></li></ul>"
5 => 1711664921
6 => 151
7 => 3
8 => "Hauptnavigation"
9 => 159
]
array:10 [
0 => null
1 => null
2 => null
3 => null
4 => null
5 => null
6 => null
7 => null
8 => null
9 => null
]
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Driver\PDO;
use Doctrine\DBAL\Driver\PDOException;
/**
* @internal
*
* @psalm-immutable
*/
final class Exception extends PDOException
{
public static function new(\PDOException $exception): self
{
return new self($exception);
}
}
Arguments
"SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
{
try {
return parent::closeCursor();
} catch (PDOException $exception) {
// Exceptions not allowed by the interface.
// In case driver implementations do not adhere to the interface, silence exceptions here.
return true;
}
}
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function execute($params = null)
{
try {
return parent::execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
*
* @deprecated Use fetchNumeric(), fetchAssociative() or fetchOne() instead.
*/
#[ReturnTypeWillChange]
public function fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
$args = func_get_args();
if (isset($args[0])) {
$args[0] = $this->convertFetchMode($args[0]);
}
try {
return parent::fetch(...$args);
} catch (PDOException $exception) {
Arguments
PDOException {#2602
#message: "SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MariaDB server is running with the --read-only option so it cannot execute this statement"
]
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
#[ReturnTypeWillChange]
public function closeCursor()
{
try {
return parent::closeCursor();
} catch (PDOException $exception) {
// Exceptions not allowed by the interface.
// In case driver implementations do not adhere to the interface, silence exceptions here.
return true;
}
}
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function execute($params = null)
{
try {
return parent::execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
*
* @deprecated Use fetchNumeric(), fetchAssociative() or fetchOne() instead.
*/
#[ReturnTypeWillChange]
public function fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
$args = func_get_args();
if (isset($args[0])) {
$args[0] = $this->convertFetchMode($args[0]);
}
try {
Arguments
"SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --read-only option so it cannot execute this statement"
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
#[ReturnTypeWillChange]
public function closeCursor()
{
try {
return parent::closeCursor();
} catch (PDOException $exception) {
// Exceptions not allowed by the interface.
// In case driver implementations do not adhere to the interface, silence exceptions here.
return true;
}
}
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function execute($params = null)
{
try {
return parent::execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
*
* @deprecated Use fetchNumeric(), fetchAssociative() or fetchOne() instead.
*/
#[ReturnTypeWillChange]
public function fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
$args = func_get_args();
if (isset($args[0])) {
$args[0] = $this->convertFetchMode($args[0]);
}
try {
Arguments
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
* @throws Exception
*/
public function executeStatement($sql, array $params = [], array $types = [])
{
$connection = $this->getWrappedConnection();
$logger = $this->_config->getSQLLogger();
if ($logger) {
$logger->startQuery($sql, $params, $types);
}
try {
if ($params) {
[$sql, $params, $types] = SQLParserUtils::expandListParameters($sql, $params, $types);
$stmt = $connection->prepare($sql);
if ($types) {
$this->_bindTypedValues($stmt, $params, $types);
$stmt->execute();
} else {
$stmt->execute($params);
}
$result = $stmt->rowCount();
} else {
$result = $connection->exec($sql);
}
} catch (Throwable $e) {
$this->handleExceptionDuringQuery(
$e,
$sql,
$params,
$types
);
}
if ($logger) {
$logger->stopQuery();
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
public function update($table, array $data, array $criteria, array $types = [])
{
$columns = $values = $conditions = $set = [];
foreach ($data as $columnName => $value) {
$columns[] = $columnName;
$values[] = $value;
$set[] = $columnName . ' = ?';
}
$this->addCriteriaCondition($criteria, $columns, $values, $conditions);
if (is_string(key($types))) {
$types = $this->extractTypeValues($columns, $types);
}
$sql = 'UPDATE ' . $table . ' SET ' . implode(', ', $set)
. ' WHERE ' . implode(' AND ', $conditions);
return $this->executeStatement($sql, $values, $types);
}
/**
* Inserts a table row with specified data.
*
* Table expression and columns are not escaped and are not safe for user-input.
*
* @param string $table Table name
* @param array<string, mixed> $data Column-value pairs
* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types Parameter types
*
* @return int|string The number of affected rows.
*
* @throws Exception
*/
public function insert($table, array $data, array $types = [])
{
if (empty($data)) {
return $this->executeStatement('INSERT INTO ' . $table . ' () VALUES ()');
}
Arguments
"UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?"
array:10 [
0 => 151
1 => 3
2 => 159
3 => "Hauptnavigation"
4 => "<ul class="flexnav" data-breakpoint="767"><li class="nav-firstlvl1"><a href="https://www.heilbar.ch/bar" target="_self" class="nav-first">BAR</a></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/zeit-fuer-heilung" target="_self" class="nav-dropdown">Zeit für Heilung</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/Grundsatz-und-Ablauf" target="_self" class="nav-first">Grundsatz und Ablauf</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/erfahrungsberichte" target="_self" class="nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/beratung" target="_self" class="nav-dropdown">Beratung</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/beratung/erfahrungsberichte" target="_self" class="nav-first nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/gemeinschaft" target="_self" class="nav-dropdown">Gemeinschaft</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/gemeinschaft/persoenliche-statements" target="_self" class="nav-first nav-last">Persönliche Statements</a></li></ul></li><li class="nav-last nav-dropdownlvl1"><a href="https://www.heilbar.ch/was-uns-wichtig-ist" target="_self" class="nav-last nav-dropdown">Was uns wichtig ist</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/vision" target="_self" class="nav-first">Vision</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/wie-sich-unser-dienst-finanziert" target="_self" class="">Wie sich unser Dienst finanziert</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/schnupperzeit" target="_self" class="">Schnupperzeit</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/links" target="_self" class="nav-last">Links</a></li></ul></li></ul>"
5 => 1711664921
6 => 151
7 => 3
8 => "Hauptnavigation"
9 => 159
]
array:10 [
0 => null
1 => null
2 => null
3 => null
4 => null
5 => null
6 => null
7 => null
8 => null
9 => null
]
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Database/Connection/Connection.php
if ($autoQuote) {
$field = $qb->expr()->literal($field === null ? '' : $field);
}
$where->add($qb->expr()->eq($key, $field));
}
$qb->where($where);
$sql = $qb->getSql();
$num = parent::query($sql)->fetchColumn();
if ($num) {
$update = true;
} else {
try {
$this->insert($table, $fieldArray);
$update = false;
} catch (UniqueConstraintViolationException $x) {
$update = true;
}
}
if ($update) {
$this->update($table, $fieldArray, $updateKeys);
}
}
/**
* @deprecated -
* alias to old ADODB method
*
* @param mixed $q
* @param mixed $arguments
*/
public function GetCol($q, $arguments = [])
{
$r = $this->fetchAll($q, $arguments);
$return = [];
foreach ($r as $value) {
$return[] = $value[key($value)];
}
return $return;
Arguments
"CollectionVersionBlocksOutputCache"
array:6 [
"cID" => 151
"cvID" => 3
"bID" => 159
"arHandle" => "Hauptnavigation"
"btCachedBlockOutput" => "<ul class="flexnav" data-breakpoint="767"><li class="nav-firstlvl1"><a href="https://www.heilbar.ch/bar" target="_self" class="nav-first">BAR</a></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/zeit-fuer-heilung" target="_self" class="nav-dropdown">Zeit für Heilung</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/Grundsatz-und-Ablauf" target="_self" class="nav-first">Grundsatz und Ablauf</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/erfahrungsberichte" target="_self" class="nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/beratung" target="_self" class="nav-dropdown">Beratung</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/beratung/erfahrungsberichte" target="_self" class="nav-first nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/gemeinschaft" target="_self" class="nav-dropdown">Gemeinschaft</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/gemeinschaft/persoenliche-statements" target="_self" class="nav-first nav-last">Persönliche Statements</a></li></ul></li><li class="nav-last nav-dropdownlvl1"><a href="https://www.heilbar.ch/was-uns-wichtig-ist" target="_self" class="nav-last nav-dropdown">Was uns wichtig ist</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/vision" target="_self" class="nav-first">Vision</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/wie-sich-unser-dienst-finanziert" target="_self" class="">Wie sich unser Dienst finanziert</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/schnupperzeit" target="_self" class="">Schnupperzeit</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/links" target="_self" class="nav-last">Links</a></li></ul></li></ul>"
"btCachedBlockOutputExpires" => 1711664921
]
array:4 [
"cID" => 151
"cvID" => 3
"arHandle" => "Hauptnavigation"
"bID" => 159
]
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Block/Block.php
$db = app(Connection::class);
$c = $this->getBlockCollectionObject();
$btCachedBlockOutputExpires = strtotime('+5 years');
if ($lifetime > 0) {
$btCachedBlockOutputExpires = time() + $lifetime;
}
$arHandle = $this->getAreaHandle();
$cID = $c->getCollectionID();
$cvID = $c->getVersionID();
if ($this->isBlockInStack() && is_object($area)) {
$arHandle = $area->getAreaHandle();
$cx = Page::getCurrentPage();
$cID = $cx->getCollectioniD();
$cvID = $cx->getVersionID();
}
if ($arHandle && $cID && $cvID) {
$db->replace(
'CollectionVersionBlocksOutputCache',
[
'cID' => $cID,
'cvID' => $cvID,
'bID' => $this->getBlockID(),
'arHandle' => $arHandle,
'btCachedBlockOutput' => $content,
'btCachedBlockOutputExpires' => $btCachedBlockOutputExpires,
],
[
'cID',
'cvID',
'arHandle',
'bID',
],
true
);
}
}
Arguments
"CollectionVersionBlocksOutputCache"
array:6 [
"cID" => 151
"cvID" => 3
"bID" => 159
"arHandle" => "Hauptnavigation"
"btCachedBlockOutput" => "<ul class="flexnav" data-breakpoint="767"><li class="nav-firstlvl1"><a href="https://www.heilbar.ch/bar" target="_self" class="nav-first">BAR</a></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/zeit-fuer-heilung" target="_self" class="nav-dropdown">Zeit für Heilung</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/Grundsatz-und-Ablauf" target="_self" class="nav-first">Grundsatz und Ablauf</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/erfahrungsberichte" target="_self" class="nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/beratung" target="_self" class="nav-dropdown">Beratung</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/beratung/erfahrungsberichte" target="_self" class="nav-first nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/gemeinschaft" target="_self" class="nav-dropdown">Gemeinschaft</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/gemeinschaft/persoenliche-statements" target="_self" class="nav-first nav-last">Persönliche Statements</a></li></ul></li><li class="nav-last nav-dropdownlvl1"><a href="https://www.heilbar.ch/was-uns-wichtig-ist" target="_self" class="nav-last nav-dropdown">Was uns wichtig ist</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/vision" target="_self" class="nav-first">Vision</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/wie-sich-unser-dienst-finanziert" target="_self" class="">Wie sich unser Dienst finanziert</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/schnupperzeit" target="_self" class="">Schnupperzeit</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/links" target="_self" class="nav-last">Links</a></li></ul></li></ul>"
"btCachedBlockOutputExpires" => 1711664921
]
array:4 [
0 => "cID"
1 => "cvID"
2 => "arHandle"
3 => "bID"
]
true
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Block/View/BlockView.php
}
}
return false;
}
public function field($field)
{
return $field;
}
public function usedBlockCacheDuringRender()
{
return $this->didPullFromOutputCache;
}
public function finishRender($contents)
{
if ($this->useBlockCache() && !$this->didPullFromOutputCache) {
$this->block->setBlockCachedOutput(
$this->outputContent,
$this->block->getBlockOutputCacheLifetime(),
$this->area
);
}
return $contents;
}
public function runControllerTask()
{
// First, check the block controller is already started.
$started = false;
$c = Page::getCurrentPage();
if (is_object($c) && is_object($this->block)) {
$pageController = $c->getPageController();
$blockController = $pageController->getBlockController($this->block);
if ($blockController) {
$this->controller = $blockController;
$started = true;
Arguments
"<ul class="flexnav" data-breakpoint="767"><li class="nav-firstlvl1"><a href="https://www.heilbar.ch/bar" target="_self" class="nav-first">BAR</a></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/zeit-fuer-heilung" target="_self" class="nav-dropdown">Zeit für Heilung</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/Grundsatz-und-Ablauf" target="_self" class="nav-first">Grundsatz und Ablauf</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/zeit-fuer-heilung/erfahrungsberichte" target="_self" class="nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/beratung" target="_self" class="nav-dropdown">Beratung</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/beratung/erfahrungsberichte" target="_self" class="nav-first nav-last">Erfahrungsberichte</a></li></ul></li><li class="nav-dropdownlvl1"><a href="https://www.heilbar.ch/gemeinschaft" target="_self" class="nav-dropdown">Gemeinschaft</a><ul><li class="nav-first nav-lastlvl2"><a href="https://www.heilbar.ch/gemeinschaft/persoenliche-statements" target="_self" class="nav-first nav-last">Persönliche Statements</a></li></ul></li><li class="nav-last nav-dropdownlvl1"><a href="https://www.heilbar.ch/was-uns-wichtig-ist" target="_self" class="nav-last nav-dropdown">Was uns wichtig ist</a><ul><li class="nav-firstlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/vision" target="_self" class="nav-first">Vision</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/wie-sich-unser-dienst-finanziert" target="_self" class="">Wie sich unser Dienst finanziert</a></li><li class="lvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/schnupperzeit" target="_self" class="">Schnupperzeit</a></li><li class="nav-lastlvl2"><a href="https://www.heilbar.ch/was-uns-wichtig-ist/links" target="_self" class="nav-last">Links</a></li></ul></li></ul>"
300
Concrete\Core\Area\GlobalArea {#2381}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/View/AbstractView.php
} else {
$return = $this->scopeItems;
}
$return['view'] = $this;
$return['controller'] = $this->controller;
return $return;
}
public function render($state = false)
{
if ($this instanceof View) {
$this->setRequestInstance($this);
}
$this->start($state);
$this->setupRender();
$this->startRender();
$scopeItems = $this->getScopeItems();
$contents = $this->renderViewContents($scopeItems);
$contents = $this->postProcessViewContents($contents);
$response = $this->finishRender($contents);
if ($this instanceof View) {
$this->revertRequestInstance();
}
return $response;
}
public function renderViewContents($scopeItems)
{
if (file_exists($this->template)) {
extract($scopeItems);
ob_start();
$this->onBeforeGetContents();
include $this->template;
$this->onAfterGetContents();
$contents = ob_get_contents();
ob_end_clean();
return $contents;
}
Arguments
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Area/Area.php
$loc = Localization::getInstance();
// now, we iterate through these block groups (which are actually arrays of block objects), and display them on the page
$loc->pushActiveContext(Localization::CONTEXT_UI);
if ($this->showControls && $c->isEditMode() && $ap->canViewAreaControls()) {
View::element('block_area_header', array('a' => $this));
} else {
View::element('block_area_header_view', array('a' => $this));
}
$loc->popActiveContext();
foreach ($blocksToDisplay as $b) {
$bv = new BlockView($b);
$bv->setAreaObject($this);
$p = new Permissions($b);
if ($p->canViewBlock()) {
if (!$c->isEditMode()) {
echo $this->enclosingStart;
}
$bv->render('view');
if (!$c->isEditMode()) {
echo $this->enclosingEnd;
}
}
}
$loc->pushActiveContext(Localization::CONTEXT_UI);
if ($this->showControls && $c->isEditMode() && $ap->canViewAreaControls()) {
View::element('block_area_footer', array('a' => $this));
} else {
View::element('block_area_footer_view', array('a' => $this));
}
$loc->popActiveContext();
}
/**
* Exports the area to content format.
*
* @param \SimpleXMLElement $p
* @param Page $page
Arguments
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Area/GlobalArea.php
if (is_object($stack)) {
$blocksTmp = $stack->getBlocks(STACKS_AREA_NAME);
$globalArea = self::get($stack, STACKS_AREA_NAME);
}
$blocks = [];
foreach ($blocksTmp as $ab) {
$ab->setBlockAreaObject($globalArea);
$ab->setBlockActionCollectionID($stack->getCollectionID());
$blocks[] = $ab;
}
unset($blocksTmp);
return $blocks;
}
public function display($c = false, $fake = null)
{
parent::display($c, null);
}
/**
* Note that this function does not delete the global area's stack.
* You probably want to call the "delete" method of the Stack model instead.
*
* @param string $arHandle
*/
public static function deleteByName($arHandle)
{
$db = Loader::db();
$db->Execute('select cID from Areas where arHandle = ? and arIsGlobal = 1', [$arHandle]);
$db->Execute('delete from Areas where arHandle = ? and arIsGlobal = 1', [$arHandle]);
}
/**
* Searches for global areas without any blocks in it and deletes them.
* This will have a positive impact on the performance as every global area is rendered for every page.
*/
public static function deleteEmptyAreas()
Arguments
Concrete\Core\Page\Page {#2045}
null
/home/heilbarc/public_html/_www_heilbar_ch/application/themes/wbox_landscape/elements/content_header.php
<ul>
<li><a accesskey="0" href="/" title="[ALT + 0]">Startseite</a></li>
<li><a accesskey="1" href="#mainnav" title="[ALT + 1]">Weiter zur Hauptnavigation</a></li>
<li><a accesskey="2" href="#wbox-content-header" title="[ALT + 2]">Weiter zum Inhalt</a></li>
</ul>
</div>
<header class="header navbar-fixed-top">
<div class="container">
<div class="logo">
<?php
$a = new GlobalArea('Logo');
$a->setBlockLimit(1);
$a->display($c);
?>
</div>
<nav id="mainnav" class="mainnav">
<?php
$a = new GlobalArea('Hauptnavigation');
$a->setBlockLimit(1);
$a->display($c);
?>
</nav>
<!-- Mainnav -->
<div id="c-button--push-left" class="mobile-menu-button">
<span class="icon"></span>
</div>
<div id="c-button--push-right" class="mobile-sidebar-button">
<span class="icon"></span>
</div>
</div>
<!-- Servicenav -->
<div class="servicenav-wrapper hidden-mobile">
<div class="servicenav">
<?php
$a = new GlobalArea('Service Navigation');
$a->display($c);
?>
</div>
</div>
</header>
Arguments
Concrete\Core\Page\Page {#2045}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/View/View.php
$path = $env->getPath(DIRNAME_THEMES.'/'.$this->themeHandle.'/'.$file, $this->themePkgHandle);
if (!file_exists($path)) {
$path2 = $env->getPath(DIRNAME_THEMES.'/'.$this->themeHandle.'/'.$file, $this->viewPkgHandle);
if (file_exists($path2)) {
$path = $path2;
}
unset($path2);
}
$__data__['path'] = $path;
unset($file);
unset($args);
unset($env);
unset($path);
if (!empty($__data__['scopedItems'])) {
if (array_key_exists('__data__', $__data__['scopedItems'])) {
throw new \Exception(t(/*i18n: %1$s is a variable name, %2$s is a function name*/'Illegal variable name \'%1$s\' in %2$s args.', '__data__', __CLASS__.'::'.__METHOD__));
}
extract($__data__['scopedItems']);
}
include $__data__['path'];
}
/**
* A shortcut to posting back to the current page with a task and optional parameters. Only works in the context of.
*
* @param string $action
* @param string $task
*
* @return string $url
*/
public function action($action)
{
$a = func_get_args();
$controllerPath = $this->controller->getControllerActionPath();
array_unshift($a, $controllerPath);
$ret = call_user_func_array([$this, 'url'], $a);
return $ret;
}
Arguments
"/home/heilbarc/public_html/_www_heilbar_ch/application/themes/wbox_landscape/elements/content_header.php"
/home/heilbarc/public_html/_www_heilbar_ch/application/themes/wbox_landscape/page_not_found.php
<?php
defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header.php'); ?>
<body class="page-not-found">
<div class="<?=$c->getPageWrapperClass()?>">
<?php $this->inc('elements/content_header.php'); ?>
<main class="wbox-content-wrap">
<div class="container">
<div class="wbox-content-main">
<h1><?php echo t('404 Error')?></h1>
<p><?php echo t('Page not found.')?></p>
<a href="<?php echo DIR_REL?>/" class="wbox-button wbox-back"><?php echo t('Back to Home')?></a>
</div>
</div>
</main>
<?php $this->inc('elements/content_footer.php'); ?>
<?php $this->inc('elements/footer.php'); ?>
Arguments
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/View/View.php
ob_end_clean();
return $innerContent;
}
/**
* Render the file set to $this->template
* @param $scopeItems
* @return string
*/
protected function renderTemplate($scopeItems, $innerContent)
{
// Extract the items into the current scope
extract($scopeItems);
ob_start();
// Fire a `before` event
$this->onBeforeGetContents();
include $this->template;
// Fire an `after` event
$this->onAfterGetContents();
$contents = ob_get_contents();
ob_end_clean();
return $contents;
}
public function finishRender($contents)
{
$event = new \Symfony\Component\EventDispatcher\GenericEvent();
$event->setArgument('view', $this);
Events::dispatch('on_render_complete', $event);
return $contents;
}
/**
* Function responsible for outputting header items.
Arguments
"/home/heilbarc/public_html/_www_heilbar_ch/application/themes/wbox_landscape/page_not_found.php"
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/View/View.php
protected function onBeforeGetContents()
{
$this->themeObject->registerAssets();
$event = new \Symfony\Component\EventDispatcher\GenericEvent();
$event->setArgument('view', $this);
Events::dispatch('on_before_render', $event);
}
public function renderViewContents($scopeItems)
{
$contents = '';
// Render the main view file
if ($this->innerContentFile) {
$contents = $this->renderInnerContents($scopeItems);
}
// Render the template around it
if (file_exists($this->template)) {
$contents = $this->renderTemplate($scopeItems, $contents);
}
return $contents;
}
/**
* Render the file set to $this->innerContentFile
* @param $scopeItems
* @return string
*/
protected function renderInnerContents($scopeItems)
{
// Extract the items into the current scope
extract($scopeItems);
ob_start();
include $this->innerContentFile;
$innerContent = ob_get_contents();
ob_end_clean();
Arguments
array:5 [
"html" => Concrete\Core\Html\Service\Html {#2057}
"view" => Concrete\Core\Page\View\PageView {#2050}
"controller" => Concrete\Controller\SinglePage\PageNotFound {#2052}
"c" => Concrete\Core\Page\Page {#2045}
"theme" => Application\Theme\wboxLandscape\PageTheme {#2060}
]
""
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/View/AbstractView.php
$helpers = $this->controller->getHelperObjects();
$return = array_merge($this->scopeItems, $sets, $helpers);
} else {
$return = $this->scopeItems;
}
$return['view'] = $this;
$return['controller'] = $this->controller;
return $return;
}
public function render($state = false)
{
if ($this instanceof View) {
$this->setRequestInstance($this);
}
$this->start($state);
$this->setupRender();
$this->startRender();
$scopeItems = $this->getScopeItems();
$contents = $this->renderViewContents($scopeItems);
$contents = $this->postProcessViewContents($contents);
$response = $this->finishRender($contents);
if ($this instanceof View) {
$this->revertRequestInstance();
}
return $response;
}
public function renderViewContents($scopeItems)
{
if (file_exists($this->template)) {
extract($scopeItems);
ob_start();
$this->onBeforeGetContents();
include $this->template;
$this->onAfterGetContents();
$contents = ob_get_contents();
ob_end_clean();
Arguments
array:5 [
"html" => Concrete\Core\Html\Service\Html {#2057}
"view" => Concrete\Core\Page\View\PageView {#2050}
"controller" => Concrete\Controller\SinglePage\PageNotFound {#2052}
"c" => Concrete\Core\Page\Page {#2045}
"theme" => Application\Theme\wboxLandscape\PageTheme {#2060}
]
/home/heilbarc/public_html/_www_heilbar_ch/concrete/controllers/single_page/page_not_found.php
<?php
namespace Concrete\Controller\SinglePage;
use Concrete\Core\Http\Response;
use Concrete\Core\Page\Controller\PageController;
use Events;
class PageNotFound extends PageController
{
public function validateRequest()
{
return true;
}
public function view()
{
$view = $this->getViewObject();
$contents = $view->render();
Events::dispatch('on_page_not_found');
return new Response($contents, 404);
}
public function __call($method, $arguments)
{
if (method_exists($this, $method)) {
return call_user_func_array(array($this, $method), $arguments);
}
return $this->view();
}
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Controller/AbstractController.php
public function runTask($action, $parameters)
{
$this->runAction($action, $parameters);
}
/**
* Perform an action of this controller (if shouldRunControllerTask returns true).
*
* @param string $action the action to be performed
* @param array $parameters the action parameters
*
* @return mixed in case the action is executed, you'll receive the result of the action, or NULL otherwise
*/
public function runAction($action, $parameters = [])
{
$this->action = $action;
$this->parameters = $parameters;
if (is_callable([$this, $action])) {
if ($this->shouldRunControllerTask()) {
return call_user_func_array([$this, $action], $parameters);
}
}
}
/**
* Get the whole $_REQUEST array or a specific requested value.
*
* @param string|null $key set to null to get the whole $_REQUEST array, or a string to get a specific value in $_GET or in $_POST
*
* @return mixed
*/
public function request($key = null)
{
return Request::request($key);
}
/**
* Dispatches a command to the command bus.
* @param mixed $command
*/
Arguments
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Controller/AbstractController.php
public function runTask($action, $parameters)
{
$this->runAction($action, $parameters);
}
/**
* Perform an action of this controller (if shouldRunControllerTask returns true).
*
* @param string $action the action to be performed
* @param array $parameters the action parameters
*
* @return mixed in case the action is executed, you'll receive the result of the action, or NULL otherwise
*/
public function runAction($action, $parameters = [])
{
$this->action = $action;
$this->parameters = $parameters;
if (is_callable([$this, $action])) {
if ($this->shouldRunControllerTask()) {
return call_user_func_array([$this, $action], $parameters);
}
}
}
/**
* Get the whole $_REQUEST array or a specific requested value.
*
* @param string|null $key set to null to get the whole $_REQUEST array, or a string to get a specific value in $_GET or in $_POST
*
* @return mixed
*/
public function request($key = null)
{
return Request::request($key);
}
/**
* Dispatches a command to the command bus.
* @param mixed $command
*/
Arguments
array:2 [
0 => Concrete\Controller\SinglePage\PageNotFound {#2052}
1 => "view"
]
array:1 [
0 => "erlebnis.htm"
]
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/ResponseFactory.php
if ($controller instanceof PageController) {
if ($controller->isReplaced()) {
return $this->controller($controller->getReplacement(), $code, $headers);
}
$controller->setupRequestActionAndParameters($request);
$response = $controller->validateRequest();
// If validaterequest returned a response
if ($response instanceof \Symfony\Component\HttpFoundation\Response) {
return $response;
} else {
// If validateRequest did not return true
if ($response == false) {
return $this->notFound('', Response::HTTP_NOT_FOUND, $headers);
}
}
$requestTask = $controller->getRequestAction();
$requestParameters = $controller->getRequestActionParameters();
$response = $controller->runAction($requestTask, $requestParameters);
if ($response instanceof \Symfony\Component\HttpFoundation\Response) {
return $response;
}
if ($controller->isReplaced()) {
return $this->controller($controller->getReplacement(), $code, $headers);
}
} else {
if ($response = $controller->runAction('view')) {
return $response;
}
}
$view = $controller->getViewObject();
// Mobile theme
if ($this->config->get('concrete.misc.mobile_theme_id') > 0) {
$md = $this->app->make(MobileDetect::class);
if ($md->isMobile()) {
$mobileTheme = Theme::getByID($this->app->config->get('concrete.misc.mobile_theme_id'));
if ($mobileTheme instanceof Theme) {
Arguments
"view"
array:1 [
0 => "erlebnis.htm"
]
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/ResponseFactory.php
$this->localization->pushActiveContext(Localization::CONTEXT_SITE);
$responseData = [
'error' => t('Page not found'),
'errors' => [t('Page not found')],
];
$this->localization->popActiveContext();
return $this->json($responseData, $code, $headers);
}
$item = '/page_not_found';
$c = Page::getByPath($item);
if (is_object($c) && !$c->isError()) {
// Display not found
$dl = $this->app->make('multilingual/detector');
$dl->setupSiteInterfaceLocalization($c);
$this->request->setCurrentPage($c);
return $this->controller($c->getPageController(), $code, $headers);
}
$cnt = $this->app->make(PageForbidden::class);
return $this->controller($cnt, $code, $headers);
}
/**
* {@inheritdoc}
*/
public function error($content, $code = Response::HTTP_INTERNAL_SERVER_ERROR, $headers = [])
{
return $this->create($content, $code, $headers);
}
/**
* {@inheritdoc}
*/
public function forbidden($requestUrl, $code = Response::HTTP_FORBIDDEN, $headers = [])
{
Arguments
Concrete\Controller\SinglePage\PageNotFound {#2052}
404
[]
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/ResponseFactory.php
{
// if we don't have a path and we're doing cID, then this automatically fires a 404.
if (!$request->getPath() && $request->get('cID')) {
return $this->notFound('', Response::HTTP_NOT_FOUND, $headers);
}
// let's test to see if this is, in fact, the home page,
// and we're routing arguments onto it (which is screwing up the path.)
$home = Page::getByID(Page::getHomePageID());
$request->setCurrentPage($home);
$homeController = $home->getPageController();
$homeController->setupRequestActionAndParameters($request);
$response = $homeController->validateRequest();
if ($response instanceof \Symfony\Component\HttpFoundation\Response) {
return $response;
} elseif ($response === true) {
return $this->controller($homeController);
} else {
return $this->notFound('', Response::HTTP_NOT_FOUND, $headers);
}
}
}
Arguments
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/ResponseFactory.php
return $this->view($view, $code, $headers);
} finally {
$this->localization->popActiveContext();
}
}
/**
* {@inheritdoc}
*/
public function collection(Collection $collection, $code = Response::HTTP_OK, $headers = [])
{
if (!$this->app) {
throw new \RuntimeException('Cannot resolve collections without a reference to the application');
}
$dl = $this->app->make('multilingual/detector');
$request = $this->request;
if ($collection->isError() && $collection->getError() == COLLECTION_NOT_FOUND) {
if ($response = $this->collectionNotFound($collection, $request, $headers)) {
return $response;
}
}
if ($collection->getCollectionPath() != '/page_not_found') {
if (!isset($collection->cPathFetchIsCanonical) || !$collection->cPathFetchIsCanonical) {
// Handle redirect URL (additional page paths)
/** @var Url $url */
$url = $this->app->make('url/manager')->resolve([$collection]);
$query = $url->getQuery();
$query->modify($request->getQueryString());
$url = $url->setQuery($query);
return $this->redirect($url, Response::HTTP_MOVED_PERMANENTLY, $headers);
}
}
// maintenance mode
if ($collection->getCollectionPath() != '/login') {
Arguments
Concrete\Core\Page\Page {#1764}
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
[]
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/DefaultDispatcher.php
new DispatcherDelegate($dispatcher)
);
$stack->setApplication($this->app);
foreach($route->getMiddlewares() as $middleware) {
if (is_string($middleware->getMiddleware())) {
$inflatedMiddleware = $this->app->make($middleware->getMiddleware());
} else {
$inflatedMiddleware = $middleware->getMiddleware();
}
$stack = $stack->withMiddleware(
$inflatedMiddleware,
$middleware->getPriority()
);
}
return $stack->process($request);
} catch (ResourceNotFoundException $e) {
} catch (MethodNotAllowedException $e) {
}
$c = \Page::getFromRequest($request);
$response = $this->app->make(ResponseFactoryInterface::class)->collection($c);
return $response;
}
/**
* @param \Symfony\Component\Routing\RouteCollection $routes
* @param string $path
*
* @return \Symfony\Component\Routing\RouteCollection
*/
private function filterRouteCollectionForPath(RouteCollection $routes, $path)
{
$result = new RouteCollection();
foreach ($routes->getResources() as $resource) {
$result->addResource($resource);
}
foreach ($routes->all() as $name => $route) {
$routePath = $route->getPath();
$p = strpos($routePath, '{');
$skip = false;
Arguments
Concrete\Core\Page\Page {#1764}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/DefaultDispatcher.php
/**
* @param \Symfony\Component\HttpFoundation\Request $request
*
* @return SymfonyResponse
*/
public function dispatch(SymfonyRequest $request)
{
$path = rawurldecode($request->getPathInfo());
if (substr($path, 0, 3) == '../' || substr($path, -3) == '/..' || strpos($path, '/../') ||
substr($path, 0, 3) == '..\\' || substr($path, -3) == '\\..' || strpos($path, '\\..\\')) {
throw new UserMessageException(t('Invalid path traversal. Please make this request with a valid HTTP client.'));
}
$response = null;
if ($this->app->isInstalled()) {
$response = $this->getEarlyDispatchResponse();
}
if ($response === null) {
$response = $this->handleDispatch($request);
}
return $response;
}
private function getEarlyDispatchResponse()
{
$validator = $this->app->make(SessionValidator::class);
if ($validator->hasActiveSession()) {
$session = $this->app['session'];
if (!$session->has('uID')) {
User::verifyAuthTypeCookie();
}
// User may have been logged in, so lets check status again.
if ($session->has('uID') && $session->get('uID') > 0 && $response = $this->validateUser()) {
return $response;
}
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/DispatcherDelegate.php
private $dispatcher;
/**
* DispatcherFrame constructor.
* @param \Concrete\Core\Http\DispatcherInterface $dispatcher
*/
public function __construct(DispatcherInterface $dispatcher)
{
$this->dispatcher = $dispatcher;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
return $this->dispatcher->dispatch($request);
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/FrameOptionsMiddleware.php
private $config;
/**
* @var \Concrete\Core\Utility\Service\Validation\Strings
*/
private $stringValidator;
public function __construct(Repository $config, Strings $stringValidator)
{
$this->config = $config;
$this->stringValidator = $stringValidator;
}
/**
* @param \Concrete\Core\Http\Middleware\DelegateInterface $frame
* @return Response
*/
public function process(Request $request, DelegateInterface $frame)
{
$response = $frame->next($request);
if ($response->headers->has('X-Frame-Options') === false) {
$x_frame_options = $this->config->get('concrete.security.misc.x_frame_options');
if ($this->stringValidator->notempty($x_frame_options)) {
$response->headers->set('X-Frame-Options', $x_frame_options);
}
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\DispatcherDelegate {#1739}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/StrictTransportSecurityMiddleware.php
/**
* @var Strings
*/
private $stringValidator;
public function __construct(Repository $config, Strings $stringValidator)
{
$this->config = $config;
$this->stringValidator = $stringValidator;
}
/**
* @param Request $request
* @param DelegateInterface $frame
*
* @return Response
*/
public function process(Request $request, DelegateInterface $frame)
{
$response = $frame->next($request);
if ($response->headers->has('Strict-Transport-Security') === false) {
$x_frame_options = $this->config->get('concrete.security.misc.strict_transport_security');
if ($this->stringValidator->notempty($x_frame_options)) {
$response->headers->set('Strict-Transport-Security', $x_frame_options);
}
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#1746}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/ContentSecurityPolicyMiddleware.php
/**
* @var Strings
*/
private $stringValidator;
public function __construct(Repository $config, Strings $stringValidator)
{
$this->config = $config;
$this->stringValidator = $stringValidator;
}
/**
* @param Request $request
* @param DelegateInterface $frame
*
* @return Response
*/
public function process(Request $request, DelegateInterface $frame)
{
$response = $frame->next($request);
if ($response->headers->has('Content-Security-Policy') === false) {
$csp = $this->config->get('concrete.security.misc.content_security_policy');
if ((is_array($csp) && count($csp) > 0) || $this->stringValidator->notempty($csp)) {
$response->headers->set('Content-Security-Policy', $csp);
}
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#1748}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/CookieMiddleware.php
* @var \Concrete\Core\Cookie\ResponseCookieJar
*/
private $responseCookieJar;
/**
* @param \Concrete\Core\Cookie\ResponseCookieJar $responseCookieJar
*/
public function __construct(ResponseCookieJar $responseCookieJar)
{
$this->responseCookieJar = $responseCookieJar;
}
/**
* {@inheritdoc}
*
* @see \Concrete\Core\Http\Middleware\MiddlewareInterface::process()
*/
public function process(Request $request, DelegateInterface $frame)
{
$response = $frame->next($request);
$cleared = $this->responseCookieJar->getClearedCookies();
foreach ($cleared as $cookie) {
$response->headers->clearCookie($cookie, DIR_REL . '/');
}
$cookies = $this->responseCookieJar->getCookies();
foreach ($cookies as $cookie) {
$response->headers->setCookie($cookie);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#1750}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/ApplicationMiddleware.php
* Middleware for applying state changes to the application
* @package Concrete\Core\Http\Middleware
*/
class ApplicationMiddleware implements MiddlewareInterface, ApplicationAwareInterface
{
use ApplicationAwareTrait;
/**
* Apply the request instance to the request singleton
* @param \Symfony\Component\HttpFoundation\Request $request
* @param \Concrete\Core\Http\Middleware\DelegateInterface $frame
* @return \Symfony\Component\HttpFoundation\Response
*/
public function process(Request $request, DelegateInterface $frame)
{
\Concrete\Core\Http\Request::setInstance($request);
$this->app->instance('Concrete\Core\Http\Request', $request);
return $frame->next($request);
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#1752}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/Middleware/MiddlewareStack.php
public function withoutMiddleware(MiddlewareInterface $middleware)
{
$stack = clone $this;
$stack->middleware = array_map(function($priorityGroup) use ($middleware) {
return array_map(function($stackMiddleware) use ($middleware) {
return $middleware === $stackMiddleware ? null : $stackMiddleware;
}, $priorityGroup);
}, $stack->middleware);
return $stack;
}
/**
* @inheritdoc
*/
public function process(Request $request)
{
$stack = $this->getStack();
return $stack->next($request);
}
/**
* Reduce middleware into a stack of functions that each call the next
* @return callable
*/
private function getStack()
{
$processed = [];
foreach ($this->middlewareGenerator() as $middleware) {
$processed[] = $middleware;
}
$middleware = array_reverse($processed);
$stack = array_reduce($middleware, $this->getZipper(), $this->dispatcher);
return $stack;
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Http/DefaultServer.php
*/
public function removeMiddleware(MiddlewareInterface $middleware)
{
$this->stack = $this->stack->withoutMiddleware($middleware);
return $this;
}
/**
* Take a request and pass it through middleware, then return the response
* @param SymfonyRequest $request
* @return SymfonyResponse
*/
public function handleRequest(SymfonyRequest $request)
{
$stack = $this->stack;
if ($stack instanceof MiddlewareStack) {
$stack = $stack->withDispatcher($this->app->make(DispatcherDelegate::class, ['dispatcher' => $this->dispatcher]));
}
return $stack->process($request);
}
}
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Foundation/Runtime/Run/DefaultRunner.php
// Handle loading permission keys
'handlePermissionKeys',
// Handle eventing
'handleEventing',
]);
} else {
$this->initializeSystemTimezone();
$this->preloadClassAliases();
}
// Create the request to use
$request = $this->createRequest();
if (!$response) {
if ($this->shouldProcessRequest($request) === false) {
return null;
}
$response = $this->server->handleRequest($request);
}
// Prepare and return the response
return $response->prepare($request);
}
/**
* Define the base url if not defined
* This will define `BASE_URL` to whatever is resolved from the resolver.
*
* @deprecated In a future major version this will be part of HTTP middleware
*
* @return Response|void Returns a response if an error occurs
*/
protected function initializeLegacyURLDefinitions()
{
if (!defined('BASE_URL')) {
$resolver = $this->getUrlResolver();
try {
Arguments
Concrete\Core\Http\Request {#1562
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1731}
+request: Symfony\Component\HttpFoundation\InputBag {#1405}
+query: Symfony\Component\HttpFoundation\InputBag {#1570}
+server: Symfony\Component\HttpFoundation\ServerBag {#1734}
+files: Symfony\Component\HttpFoundation\FileBag {#1733}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1732}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1735}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/erlebnis.htm"
#requestUri: "/erlebnis.htm"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
-isIisRewrite: false
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#2045}
basePath: ""
format: "html"
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/src/Foundation/Runtime/DefaultRuntime.php
$this->status = self::STATUS_ACTIVE;
}
}
/**
* Begin the runtime.
*/
public function run()
{
switch ($this->status) {
case self::STATUS_ENDED:
// We've already ended, lets just return
return;
case self::STATUS_INACTIVE:
throw new \RuntimeException('Runtime has not yet booted.');
}
$runner = $this->getRunner();
$response = $runner->run();
if ($response) {
$this->sendResponse($response);
}
return $response;
}
/**
* The method that handles properly sending a response.
*
* @param \Symfony\Component\HttpFoundation\Response $response
*/
protected function sendResponse(Response $response)
{
$response->send();
// Set the status to ended
$this->status = self::STATUS_ENDED;
}
/home/heilbarc/public_html/_www_heilbar_ch/concrete/dispatcher.php
* Include all autoloaders.
* ----------------------------------------------------------------------------
*/
require __DIR__ . '/bootstrap/autoload.php';
/*
* ----------------------------------------------------------------------------
* Begin Concrete startup.
* ----------------------------------------------------------------------------
*/
$app = require __DIR__ . '/bootstrap/start.php';
/** @var \Concrete\Core\Application\Application $app */
/*
* ----------------------------------------------------------------------------
* Run the runtime.
* ----------------------------------------------------------------------------
*/
$runtime = $app->getRuntime();
if ($response = $runtime->run()) {
/*
* ------------------------------------------------------------------------
* Shut it down.
* ------------------------------------------------------------------------
*/
$app->shutdown();
} else {
return $app;
}
/home/heilbarc/public_html/_www_heilbar_ch/index.php
<?php
require 'concrete/dispatcher.php';
Arguments
"/home/heilbarc/public_html/_www_heilbar_ch/concrete/dispatcher.php"