/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
case '1146':
return new TableNotFoundException($message, $exception);
case '1216':
case '1217':
case '1451':
case '1452':
case '1701':
return new ForeignKeyConstraintViolationException($message, $exception);
case '1062':
case '1557':
case '1569':
case '1586':
return new UniqueConstraintViolationException($message, $exception);
case '1054':
case '1166':
case '1611':
return new InvalidFieldNameException($message, $exception);
case '1052':
case '1060':
case '1110':
return new NonUniqueFieldNameException($message, $exception);
case '1064':
case '1149':
case '1287':
case '1341':
case '1342':
case '1343':
case '1344':
case '1382':
case '1479':
case '1541':
case '1554':
case '1626':
return new SyntaxErrorException($message, $exception);
Arguments
"""
An exception occurred while executing 'SELECT t0.uID AS uID_1, t0.uName AS uName_2, t0.uEmail AS uEmail_3, t0.uPassword AS uPassword_4, t0.uIsActive AS uIsActive_5, t0.uIsFullRecord AS uIsFullRecord_6, t0.uIsValidated AS uIsValidated_7, t0.uDateAdded AS uDateAdded_8, t0.uLastPasswordChange AS uLastPasswordChange_9, t0.uDateLastUpdated AS uDateLastUpdated_10, t0.uHasAvatar AS uHasAvatar_11, t0.uLastOnline AS uLastOnline_12, t0.uLastLogin AS uLastLogin_13, t0.uPreviousLogin AS uPreviousLogin_14, t0.uNumLogins AS uNumLogins_15, t0.uLastAuthTypeID AS uLastAuthTypeID_16, t0.uLastIP AS uLastIP_17, t0.uTimezone AS uTimezone_18, t0.uDefaultLanguage AS uDefaultLanguage_19, t0.uIsPasswordReset AS uIsPasswordReset_20, t0.uHomeFileManagerFolderID AS uHomeFileManagerFolderID_21, t0.ignoredIPMismatches AS ignoredIPMismatches_22, t23.usID AS usID_24, t23.uID AS uID_25, t23.createdBy AS createdBy_26 FROM Users t0 LEFT JOIN UserSignups t23 ON t23.uID = t0.uID WHERE t0.uID IS NULL LIMIT 1':\n
\n
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'
"""
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 'SELECT t0.uID AS uID_1, t0.uName AS uName_2, t0.uEmail AS uEmail_3, t0.uPassword AS uPassword_4, t0.uIsActive AS uIsActive_5, t0.uIsFullRecord AS uIsFullRecord_6, t0.uIsValidated AS uIsValidated_7, t0.uDateAdded AS uDateAdded_8, t0.uLastPasswordChange AS uLastPasswordChange_9, t0.uDateLastUpdated AS uDateLastUpdated_10, t0.uHasAvatar AS uHasAvatar_11, t0.uLastOnline AS uLastOnline_12, t0.uLastLogin AS uLastLogin_13, t0.uPreviousLogin AS uPreviousLogin_14, t0.uNumLogins AS uNumLogins_15, t0.uLastAuthTypeID AS uLastAuthTypeID_16, t0.uLastIP AS uLastIP_17, t0.uTimezone AS uTimezone_18, t0.uDefaultLanguage AS uDefaultLanguage_19, t0.uIsPasswordReset AS uIsPasswordReset_20, t0.uHomeFileManagerFolderID AS uHomeFileManagerFolderID_21, t0.ignoredIPMismatches AS ignoredIPMismatches_22, t23.usID AS usID_24, t23.uID AS uID_25, t23.createdBy AS createdBy_26 FROM Users t0 LEFT JOIN UserSignups t23 ON t23.uID = t0.uID WHERE t0.uID IS NULL LIMIT 1':\n
\n
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'
"""
Doctrine\DBAL\Driver\PDO\Exception {#5332
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
#code: "42S22"
#file: "/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#5334
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
#code: "42S22"
#file: "/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 141
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 't0.ignoredIPMismatches' in 'field list'"
]
}
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 't0.ignoredIPMismatches' in 'field list'"
]
-errorCode: 1054
-sqlState: "42S22"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#129}
Doctrine\DBAL\Driver\PDO\Exception {#5332
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
#code: "42S22"
#file: "/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#5334
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
#code: "42S22"
#file: "/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 141
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 't0.ignoredIPMismatches' in 'field list'"
]
}
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 't0.ignoredIPMismatches' in 'field list'"
]
-errorCode: 1054
-sqlState: "42S22"
}
"""
An exception occurred while executing 'SELECT t0.uID AS uID_1, t0.uName AS uName_2, t0.uEmail AS uEmail_3, t0.uPassword AS uPassword_4, t0.uIsActive AS uIsActive_5, t0.uIsFullRecord AS uIsFullRecord_6, t0.uIsValidated AS uIsValidated_7, t0.uDateAdded AS uDateAdded_8, t0.uLastPasswordChange AS uLastPasswordChange_9, t0.uDateLastUpdated AS uDateLastUpdated_10, t0.uHasAvatar AS uHasAvatar_11, t0.uLastOnline AS uLastOnline_12, t0.uLastLogin AS uLastLogin_13, t0.uPreviousLogin AS uPreviousLogin_14, t0.uNumLogins AS uNumLogins_15, t0.uLastAuthTypeID AS uLastAuthTypeID_16, t0.uLastIP AS uLastIP_17, t0.uTimezone AS uTimezone_18, t0.uDefaultLanguage AS uDefaultLanguage_19, t0.uIsPasswordReset AS uIsPasswordReset_20, t0.uHomeFileManagerFolderID AS uHomeFileManagerFolderID_21, t0.ignoredIPMismatches AS ignoredIPMismatches_22, t23.usID AS usID_24, t23.uID AS uID_25, t23.createdBy AS createdBy_26 FROM Users t0 LEFT JOIN UserSignups t23 ON t23.uID = t0.uID WHERE t0.uID IS NULL LIMIT 1':\n
\n
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'
"""
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
}
/**
* @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,
$e
)
);
}
Arguments
Concrete\Core\Database\Driver\PDOMySqlConcrete\Driver {#129}
Doctrine\DBAL\Driver\PDO\Exception {#5332
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
#code: "42S22"
#file: "/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#5334
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
#code: "42S22"
#file: "/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 141
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 't0.ignoredIPMismatches' in 'field list'"
]
}
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 't0.ignoredIPMismatches' in 'field list'"
]
-errorCode: 1054
-sqlState: "42S22"
}
"SELECT t0.uID AS uID_1, t0.uName AS uName_2, t0.uEmail AS uEmail_3, t0.uPassword AS uPassword_4, t0.uIsActive AS uIsActive_5, t0.uIsFullRecord AS uIsFullRecord_6, t0.uIsValidated AS uIsValidated_7, t0.uDateAdded AS uDateAdded_8, t0.uLastPasswordChange AS uLastPasswordChange_9, t0.uDateLastUpdated AS uDateLastUpdated_10, t0.uHasAvatar AS uHasAvatar_11, t0.uLastOnline AS uLastOnline_12, t0.uLastLogin AS uLastLogin_13, t0.uPreviousLogin AS uPreviousLogin_14, t0.uNumLogins AS uNumLogins_15, t0.uLastAuthTypeID AS uLastAuthTypeID_16, t0.uLastIP AS uLastIP_17, t0.uTimezone AS uTimezone_18, t0.uDefaultLanguage AS uDefaultLanguage_19, t0.uIsPasswordReset AS uIsPasswordReset_20, t0.uHomeFileManagerFolderID AS uHomeFileManagerFolderID_21, t0.ignoredIPMismatches AS ignoredIPMismatches_22, t23.usID AS usID_24, t23.uID AS uID_25, t23.createdBy AS createdBy_26 FROM Users t0 LEFT JOIN UserSignups t23 ON t23.uID = t0.uID WHERE t0.uID IS NULL LIMIT 1"
[]
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
$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);
}
} else {
$stmt = $connection->query($sql);
}
} catch (Throwable $e) {
$this->handleExceptionDuringQuery(
$e,
$sql,
$params,
$types
);
}
$stmt->setFetchMode($this->defaultFetchMode);
if ($logger) {
$logger->stopQuery();
}
return $this->ensureForwardCompatibilityStatement($stmt);
}
/**
* Executes a caching query.
*
* @param string $sql SQL query
* @param array<int, mixed>|array<string, mixed> $params Query parameters
Arguments
Doctrine\DBAL\Driver\PDO\Exception {#5332
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
#code: "42S22"
#file: "/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#5334
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
#code: "42S22"
#file: "/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 141
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 't0.ignoredIPMismatches' in 'field list'"
]
}
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 't0.ignoredIPMismatches' in 'field list'"
]
-errorCode: 1054
-sqlState: "42S22"
}
"SELECT t0.uID AS uID_1, t0.uName AS uName_2, t0.uEmail AS uEmail_3, t0.uPassword AS uPassword_4, t0.uIsActive AS uIsActive_5, t0.uIsFullRecord AS uIsFullRecord_6, t0.uIsValidated AS uIsValidated_7, t0.uDateAdded AS uDateAdded_8, t0.uLastPasswordChange AS uLastPasswordChange_9, t0.uDateLastUpdated AS uDateLastUpdated_10, t0.uHasAvatar AS uHasAvatar_11, t0.uLastOnline AS uLastOnline_12, t0.uLastLogin AS uLastLogin_13, t0.uPreviousLogin AS uPreviousLogin_14, t0.uNumLogins AS uNumLogins_15, t0.uLastAuthTypeID AS uLastAuthTypeID_16, t0.uLastIP AS uLastIP_17, t0.uTimezone AS uTimezone_18, t0.uDefaultLanguage AS uDefaultLanguage_19, t0.uIsPasswordReset AS uIsPasswordReset_20, t0.uHomeFileManagerFolderID AS uHomeFileManagerFolderID_21, t0.ignoredIPMismatches AS ignoredIPMismatches_22, t23.usID AS usID_24, t23.uID AS uID_25, t23.createdBy AS createdBy_26 FROM Users t0 LEFT JOIN UserSignups t23 ON t23.uID = t0.uID WHERE t0.uID IS NULL LIMIT 1"
[]
[]
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
public function requiresQueryForServerVersion()
{
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/4114',
'ServerInfoAwareConnection::requiresQueryForServerVersion() is deprecated and removed in DBAL 3.'
);
return false;
}
/**
* @param mixed ...$args
*/
private function doQuery(...$args): PDOStatement
{
try {
$stmt = parent::query(...$args);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
assert($stmt instanceof PDOStatement);
return $stmt;
}
}
Arguments
PDOException {#5334
#message: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
#code: "42S22"
#file: "/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 141
+errorInfo: array:3 [
0 => "42S22"
1 => 1054
2 => "Unknown column 't0.ignoredIPMismatches' in 'field list'"
]
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
* {@inheritdoc}
*/
public function requiresQueryForServerVersion()
{
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/4114',
'ServerInfoAwareConnection::requiresQueryForServerVersion() is deprecated and removed in DBAL 3.'
);
return false;
}
/**
* @param mixed ...$args
*/
private function doQuery(...$args): PDOStatement
{
try {
$stmt = parent::query(...$args);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
assert($stmt instanceof PDOStatement);
return $stmt;
}
}
Arguments
"SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ignoredIPMismatches' in 'field list'"
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
* {@inheritdoc}
*/
public function requiresQueryForServerVersion()
{
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/4114',
'ServerInfoAwareConnection::requiresQueryForServerVersion() is deprecated and removed in DBAL 3.'
);
return false;
}
/**
* @param mixed ...$args
*/
private function doQuery(...$args): PDOStatement
{
try {
$stmt = parent::query(...$args);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
assert($stmt instanceof PDOStatement);
return $stmt;
}
}
Arguments
"SELECT t0.uID AS uID_1, t0.uName AS uName_2, t0.uEmail AS uEmail_3, t0.uPassword AS uPassword_4, t0.uIsActive AS uIsActive_5, t0.uIsFullRecord AS uIsFullRecord_6, t0.uIsValidated AS uIsValidated_7, t0.uDateAdded AS uDateAdded_8, t0.uLastPasswordChange AS uLastPasswordChange_9, t0.uDateLastUpdated AS uDateLastUpdated_10, t0.uHasAvatar AS uHasAvatar_11, t0.uLastOnline AS uLastOnline_12, t0.uLastLogin AS uLastLogin_13, t0.uPreviousLogin AS uPreviousLogin_14, t0.uNumLogins AS uNumLogins_15, t0.uLastAuthTypeID AS uLastAuthTypeID_16, t0.uLastIP AS uLastIP_17, t0.uTimezone AS uTimezone_18, t0.uDefaultLanguage AS uDefaultLanguage_19, t0.uIsPasswordReset AS uIsPasswordReset_20, t0.uHomeFileManagerFolderID AS uHomeFileManagerFolderID_21, t0.ignoredIPMismatches AS ignoredIPMismatches_22, t23.usID AS usID_24, t23.uID AS uID_25, t23.createdBy AS createdBy_26 FROM Users t0 LEFT JOIN UserSignups t23 ON t23.uID = t0.uID WHERE t0.uID IS NULL LIMIT 1"
null
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOQueryImplementation.php
use PDOStatement;
use ReturnTypeWillChange;
use function func_get_args;
use const PHP_VERSION_ID;
if (PHP_VERSION_ID >= 80000) {
/**
* @internal
*/
trait PDOQueryImplementation
{
/**
* @return PDOStatement
*/
#[ReturnTypeWillChange]
public function query(?string $query = null, ?int $fetchMode = null, mixed ...$fetchModeArgs)
{
return $this->doQuery($query, $fetchMode, ...$fetchModeArgs);
}
}
} else {
/**
* @internal
*/
trait PDOQueryImplementation
{
/**
* @return PDOStatement
*/
public function query()
{
return $this->doQuery(...func_get_args());
}
}
}
Arguments
"SELECT t0.uID AS uID_1, t0.uName AS uName_2, t0.uEmail AS uEmail_3, t0.uPassword AS uPassword_4, t0.uIsActive AS uIsActive_5, t0.uIsFullRecord AS uIsFullRecord_6, t0.uIsValidated AS uIsValidated_7, t0.uDateAdded AS uDateAdded_8, t0.uLastPasswordChange AS uLastPasswordChange_9, t0.uDateLastUpdated AS uDateLastUpdated_10, t0.uHasAvatar AS uHasAvatar_11, t0.uLastOnline AS uLastOnline_12, t0.uLastLogin AS uLastLogin_13, t0.uPreviousLogin AS uPreviousLogin_14, t0.uNumLogins AS uNumLogins_15, t0.uLastAuthTypeID AS uLastAuthTypeID_16, t0.uLastIP AS uLastIP_17, t0.uTimezone AS uTimezone_18, t0.uDefaultLanguage AS uDefaultLanguage_19, t0.uIsPasswordReset AS uIsPasswordReset_20, t0.uHomeFileManagerFolderID AS uHomeFileManagerFolderID_21, t0.ignoredIPMismatches AS ignoredIPMismatches_22, t23.usID AS usID_24, t23.uID AS uID_25, t23.createdBy AS createdBy_26 FROM Users t0 LEFT JOIN UserSignups t23 ON t23.uID = t0.uID WHERE t0.uID IS NULL LIMIT 1"
null
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
$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);
}
} else {
$stmt = $connection->query($sql);
}
} catch (Throwable $e) {
$this->handleExceptionDuringQuery(
$e,
$sql,
$params,
$types
);
}
$stmt->setFetchMode($this->defaultFetchMode);
if ($logger) {
$logger->stopQuery();
}
return $this->ensureForwardCompatibilityStatement($stmt);
}
/**
Arguments
"SELECT t0.uID AS uID_1, t0.uName AS uName_2, t0.uEmail AS uEmail_3, t0.uPassword AS uPassword_4, t0.uIsActive AS uIsActive_5, t0.uIsFullRecord AS uIsFullRecord_6, t0.uIsValidated AS uIsValidated_7, t0.uDateAdded AS uDateAdded_8, t0.uLastPasswordChange AS uLastPasswordChange_9, t0.uDateLastUpdated AS uDateLastUpdated_10, t0.uHasAvatar AS uHasAvatar_11, t0.uLastOnline AS uLastOnline_12, t0.uLastLogin AS uLastLogin_13, t0.uPreviousLogin AS uPreviousLogin_14, t0.uNumLogins AS uNumLogins_15, t0.uLastAuthTypeID AS uLastAuthTypeID_16, t0.uLastIP AS uLastIP_17, t0.uTimezone AS uTimezone_18, t0.uDefaultLanguage AS uDefaultLanguage_19, t0.uIsPasswordReset AS uIsPasswordReset_20, t0.uHomeFileManagerFolderID AS uHomeFileManagerFolderID_21, t0.ignoredIPMismatches AS ignoredIPMismatches_22, t23.usID AS usID_24, t23.uID AS uID_25, t23.createdBy AS createdBy_26 FROM Users t0 LEFT JOIN UserSignups t23 ON t23.uID = t0.uID WHERE t0.uID IS NULL LIMIT 1"
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php
}
/**
* {@inheritdoc}
*/
public function getOwningTable($fieldName)
{
return $this->class->getTableName();
}
/**
* {@inheritdoc}
*/
public function load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, ?array $orderBy = null)
{
$this->switchPersisterContext(null, $limit);
$sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);
[$params, $types] = $this->expandParameters($criteria);
$stmt = $this->conn->executeQuery($sql, $params, $types);
if ($entity !== null) {
$hints[Query::HINT_REFRESH] = true;
$hints[Query::HINT_REFRESH_ENTITY] = $entity;
}
$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);
$entities = $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, $hints);
return $entities ? $entities[0] : null;
}
/**
* {@inheritdoc}
*/
public function loadById(array $identifier, $entity = null)
{
return $this->load($identifier, $entity);
}
Arguments
"SELECT t0.uID AS uID_1, t0.uName AS uName_2, t0.uEmail AS uEmail_3, t0.uPassword AS uPassword_4, t0.uIsActive AS uIsActive_5, t0.uIsFullRecord AS uIsFullRecord_6, t0.uIsValidated AS uIsValidated_7, t0.uDateAdded AS uDateAdded_8, t0.uLastPasswordChange AS uLastPasswordChange_9, t0.uDateLastUpdated AS uDateLastUpdated_10, t0.uHasAvatar AS uHasAvatar_11, t0.uLastOnline AS uLastOnline_12, t0.uLastLogin AS uLastLogin_13, t0.uPreviousLogin AS uPreviousLogin_14, t0.uNumLogins AS uNumLogins_15, t0.uLastAuthTypeID AS uLastAuthTypeID_16, t0.uLastIP AS uLastIP_17, t0.uTimezone AS uTimezone_18, t0.uDefaultLanguage AS uDefaultLanguage_19, t0.uIsPasswordReset AS uIsPasswordReset_20, t0.uHomeFileManagerFolderID AS uHomeFileManagerFolderID_21, t0.ignoredIPMismatches AS ignoredIPMismatches_22, t23.usID AS usID_24, t23.uID AS uID_25, t23.createdBy AS createdBy_26 FROM Users t0 LEFT JOIN UserSignups t23 ON t23.uID = t0.uID WHERE t0.uID IS NULL LIMIT 1"
[]
[]
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php
{
$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
return $persister->loadAll($criteria, $orderBy, $limit, $offset);
}
/**
* Finds a single entity by a set of criteria.
*
* @psalm-param array<string, mixed> $criteria
* @psalm-param array<string, string>|null $orderBy
*
* @return object|null The entity instance or NULL if the entity can not be found.
* @psalm-return ?T
*/
public function findOneBy(array $criteria, ?array $orderBy = null)
{
$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
return $persister->load($criteria, null, null, [], null, 1, $orderBy);
}
/**
* Counts entities by a set of criteria.
*
* @psalm-param array<string, mixed> $criteria
*
* @return int The cardinality of the objects that match the given criteria.
*
* @todo Add this method to `ObjectRepository` interface in the next major release
*/
public function count(array $criteria)
{
return $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName)->count($criteria);
}
/**
* Adds support for magic method calls.
*
* @param string $method
Arguments
array:1 [
"uID" => null
]
null
null
[]
null
1
null
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/src/User/UserInfoRepository.php
} else {
$uID = $db->fetchColumn("select uID from UserValidationHashes where uHash = ?", array($uHash));
}
if ($uID) {
$ui = $this->getByID($uID);
return $ui;
}
}
/**
* Resolve an single entity by
*
* @param $where
* @param $var
*
* @return \Concrete\Core\User\UserInfo|null
*/
private function get($where, $var)
{
$entity = $this->getRepository()->findOneBy(array($where => $var));
if (!is_object($entity)) {
return null;
}
return $this->getByUserEntity($entity);
}
/**
* Resolve the repository instance
*
* @return \Doctrine\Common\Persistence\ObjectRepository
*/
protected function getRepository()
{
if (!$this->repository) {
$this->repository = $this->entityManager->getRepository(UserEntity::class);
}
return $this->repository;
Arguments
array:1 [
"uID" => null
]
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/src/User/UserInfoRepository.php
* @var \Doctrine\Common\Persistence\ObjectRepository
*/
protected $repository;
public function __construct(Application $application, EntityManagerInterface $entityManager)
{
$this->application = $application;
$this->entityManager = $entityManager;
}
/**
* Returns the UserInfo object for a give user's uID.
*
* @param int $uID
*
* @return UserInfo|null
*/
public function getByID($uID)
{
return $this->get('uID', $uID);
}
/**
* Returns the UserInfo object for a give user's username.
*
* @param string $uName
*
* @return UserInfo|null
*/
public function getByName($uName)
{
return $this->get('uName', $uName);
}
/**
* @deprecated Use ->getByName($name) instead
*/
public function getByUserName($uName)
{
return $this->getByName($uName);
Arguments
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/src/Support/Facade/Facade.php
* Handle dynamic, static calls to the object.
*
* @param string $method
* @param array $args
*
* @return mixed
*/
public static function __callStatic($method, $args)
{
$instance = static::resolveFacadeInstance(static::getFacadeAccessor());
if (!method_exists($instance, $method) && !method_exists($instance, '__call')) {
throw new \Exception(t('Invalid Method on class %s: %s.', get_class($instance), $method));
}
switch (count($args)) {
case 0:
return $instance->$method();
case 1:
return $instance->$method($args[0]);
case 2:
return $instance->$method($args[0], $args[1]);
case 3:
return $instance->$method($args[0], $args[1], $args[2]);
case 4:
return $instance->$method($args[0], $args[1], $args[2], $args[3]);
default:
return call_user_func_array(array($instance, $method), $args);
}
}
}
Arguments
/home/newbrokersallian/public_html/packages/problog/blocks/problog_list/controller.php
//$searchn= Page::getByID($blog_settings['search_path']);
$this->set('blog_settings',$blog_settings);
$searchn = Page::getByPath('/blogsearch');
$this->set('search',Loader::helper('navigation')->getLinkToCollection($searchn).'/');
$this->set('bt',Blocktype::getByHandle('problog_list'));
$this->set('subscribe_link',URL::to('/problog/tools/subscribe'));
$u = new User();
$user = UserInfo::getByID($u->uID);
if ($user) {
$this->set('manager',$user->getUserBlogEditor());
}
if ( intval($this->cParentID) > 0) {
$this->set('pp',Page::getByID($this->cParentID));
}
$this->set('blog_category', $this->getSelectOptions('blog_category'));
$cArray = array();
Arguments
"getByID"
array:1 [
0 => null
]
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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
*/
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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\Package\Problog\Block\ProblogList\Controller {#3244}
1 => "view"
]
[]
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/src/Block/View/BlockView.php
$this->didPullFromOutputCache = false;
if (in_array($this->viewToRender, ['view', 'add', 'edit', 'composer'])) {
$method = $this->viewToRender;
} else {
$method = 'view';
}
$passthru = false;
if ($method == 'view' && is_object($this->block)) {
if (isset($pageController)) {
$controller = $pageController->getPassThruBlockController($this->block);
if (is_object($controller)) {
$passthru = true;
$this->controller = $controller;
}
}
}
$parameters = [];
if (!$passthru) {
$this->controller->runAction($method, $parameters);
}
$this->controller->on_before_render();
}
}
/**
* Legacy.
*/
public function getThemePath()
{
$v = View::getInstance();
return $v->getThemePath();
}
/**
* Fire an event just before the block is outputted on the page.
*
* Custom code can modify the block contents before
* the block contents are 'echoed' out on the page.
Arguments
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/src/Block/View/BlockView.php
}
}
/**
* @deprecated in views, use $controller->getActionURL() using the same arguments
*
* @return \Concrete\Core\Url\UrlImmutable|null
*/
public function action($task)
{
return call_user_func_array([$this->controller, 'getActionURL'], func_get_args());
}
public function startRender()
{
}
public function setupRender()
{
$this->runControllerTask();
$view = $this->viewToRender;
$env = Environment::get();
if ($this->viewToRender == 'scrapbook') {
$scrapbookTemplate = $this->getBlockPath(
FILENAME_BLOCK_VIEW_SCRAPBOOK
) . '/' . FILENAME_BLOCK_VIEW_SCRAPBOOK;
if (file_exists($scrapbookTemplate)) {
$view = 'scrapbook';
} else {
$view = 'view';
}
}
$customFilenameToRender = null;
if (!in_array($this->viewToRender, ['view', 'add', 'edit', 'scrapbook'])) {
// then we're trying to render a custom view file, which we'll pass to the bottom functions as $_filename
$customFilenameToRender = $view . '.php';
$view = 'view';
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/src/View/AbstractView.php
{
if (is_object($this->controller)) {
$sets = $this->controller->getSets();
$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();
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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/newbrokersallian/public_html/application/themes/brokersalliance_theme/news_page.php
<?php defined('C5_EXECUTE') or die(_("Access Denied."));
$this->inc('elements/header.php'); // get header file ?>
<div id="page-content" class="container">
<div class="col-lg-12 title">
<?php
$a = new Area('Page Heading');
$a->display($c); // main editable region
?>
</div>
<div class="col-md-9 col-lg-9">
<article class="row">
<div id="content" class="main-blog col-lg-12">
<?php
$a = new Area('News');
$a->display($c); // main editable region
?>
</div>
</article> <!-- close 1st article -->
</div><!--!col-lg-8-->
<aside class="col-md-3 col-lg-3">
<div class="sidebar">
<?php
$a = new Area('News Sidebar');
$a->display($c); // sidebar editable region
?>
</div>
</aside> <!-- close aside -->
</div>
<?php $this->inc('elements/footer.php'); // get footer.php ?>
Arguments
Concrete\Core\Page\Page {#2030}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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/newbrokersallian/public_html/application/themes/brokersalliance_theme/news_page.php"
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#2122}
"view" => Concrete\Core\Page\View\PageView {#2104}
"controller" => Concrete\Core\Page\Controller\PageController {#2099}
"c" => Concrete\Core\Page\Page {#2030}
"theme" => Application\Theme\BrokersallianceTheme\PageTheme {#3266}
]
""
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#2122}
"view" => Concrete\Core\Page\View\PageView {#2104}
"controller" => Concrete\Core\Page\Controller\PageController {#2099}
"c" => Concrete\Core\Page\Page {#2030}
"theme" => Application\Theme\BrokersallianceTheme\PageTheme {#3266}
]
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/src/Http/ResponseFactory.php
$cnt = $this->app->make(PageForbidden::class);
$this->controller($cnt, $code, $headers);
}
/**
* {@inheritdoc}
*/
public function redirect($to, $code = Response::HTTP_MOVED_PERMANENTLY, $headers = [])
{
return new RedirectResponse($to, $code, $headers);
}
/**
* {@inheritdoc}
*/
public function view(View $view, $code = Response::HTTP_OK, $headers = [])
{
$this->localization->pushActiveContext(Localization::CONTEXT_SITE);
try {
$contents = $view->render();
return $this->create($contents, $code, $headers);
} finally {
$this->localization->popActiveContext();
}
}
/**
* {@inheritdoc}
*/
public function controller(Controller $controller, $code = Response::HTTP_OK, $headers = [])
{
$dl = $this->app->make('multilingual/detector');
$c = Page::getCurrentPage();
// if the page exists and is not in error
if ($c && !$c->isError()) {
$dl->setupSiteInterfaceLocalization($c);
}
$this->localization->pushActiveContext(Localization::CONTEXT_SITE);
try {
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/src/Http/ResponseFactory.php
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) {
$view->setViewTheme($mobileTheme);
$controller->setTheme($mobileTheme);
}
}
}
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;
Arguments
Concrete\Core\Page\View\PageView {#2104}
200
[]
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/src/Http/ResponseFactory.php
$this->app['director']->dispatch('on_page_view', $pe);
// Core menu items
$item = new RelationListItem();
$menu = $this->app->make('helper/concrete/ui/menu');
$menu->addMenuItem($item);
// Running processes item
$item = new RunningProcessesItem();
$menu->addMenuItem($item);
// Multisite item
$item = new SiteListItem();
$menu->addMenuItem($item);
$controller = $collection->getPageController();
// we update the current page with the one bound to this controller.
$collection->setController($controller);
return $this->controller($controller);
}
private function collectionNotFound(Collection $collection, Request $request, array $headers)
{
// 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) {
Arguments
Concrete\Core\Page\Controller\PageController {#2099}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#2030}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\DispatcherDelegate {#2005}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#2012}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#2014}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#2016}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#2018}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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 {#1820
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1997}
+request: Symfony\Component\HttpFoundation\InputBag {#1545}
+query: Symfony\Component\HttpFoundation\InputBag {#1817}
+server: Symfony\Component\HttpFoundation\ServerBag {#2000}
+files: Symfony\Component\HttpFoundation\FileBag {#1999}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1998}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#2001}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/about-brokers-alliance/news"
#requestUri: "/about-brokers-alliance/news"
#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 {#2030}
basePath: ""
format: "html"
}
/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/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/newbrokersallian/public_html/concrete/bootstrap/configure.php
defined('DIR_CONFIG_SITE') or define('DIR_CONFIG_SITE', DIR_APPLICATION . '/config');
/*
* ----------------------------------------------------------------------------
* Now that we've had the opportunity to load our config file, we know if we
* have a DIRNAME_CORE_UPDATED constant, which lives in that file, and which
* points to another core. If we have this constant, we exit this file
* immeditely and proceed into the updated core.
* ----------------------------------------------------------------------------
*/
if (!defined('APP_UPDATED_PASSTHRU')) {
$update_file = DIR_CONFIG_SITE . '/update.php';
if (file_exists($update_file)) {
$updates = (array) include $update_file;
if (isset($updates['core'])) {
define('APP_UPDATED_PASSTHRU', true);
define('DIRNAME_APP_UPDATED', $updates['core']);
if (is_dir(DIR_BASE . '/' . DIRNAME_UPDATES . '/' . DIRNAME_APP_UPDATED)) {
require DIR_BASE . '/' . DIRNAME_UPDATES . '/' . DIRNAME_APP_UPDATED . '/' . DIRNAME_CORE . '/' . 'dispatcher.php';
} elseif (file_exists(DIRNAME_UPDATES . '/' . DIRNAME_APP_UPDATED . '/' . DIRNAME_CORE . '/' . 'dispatcher.php')) {
require DIRNAME_UPDATES . '/' . DIRNAME_APP_UPDATED . '/' . DIRNAME_CORE . '/' . 'dispatcher.php';
} else {
die(sprintf('Invalid "%s" defined. Please remove it from %s.', 'update.core', $update_file));
}
exit;
}
}
unset($update_file);
define('APP_UPDATED_PASSTHRU', false);
}
if (!defined('DIRNAME_APP_UPDATED') && isset($updates['core'])) {
define('DIRNAME_APP_UPDATED', $updates['core']);
}
/*
* ----------------------------------------------------------------------------
* ## If we're still here, we're proceeding through this concrete directory,
* and it's time to load the rest of our hard-coded configuration options –
Arguments
"/home/newbrokersallian/public_html/updates/concrete-cms-9.2.1_remote_updater/concrete/dispatcher.php"
/home/newbrokersallian/public_html/concrete/dispatcher.php
<?php
if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 50509) {
die("concrete5 requires PHP 5.5.9+ to run.\nYou are running PHP " . PHP_VERSION . "\n");
}
/*
* ----------------------------------------------------------------------------
* Set required constants, including directory names, attempt to include site configuration file with database
* information, attempt to determine if we ought to skip to an updated core, etc...
* ----------------------------------------------------------------------------
*/
require __DIR__ . '/bootstrap/configure.php';
/*
* ----------------------------------------------------------------------------
* Make sure you cannot call dispatcher.php directly.
* ----------------------------------------------------------------------------
*/
if (basename($_SERVER['PHP_SELF']) === DISPATCHER_FILENAME_CORE) {
die('Access Denied.');
}
/*
* ----------------------------------------------------------------------------
* Include all autoloaders.
* ----------------------------------------------------------------------------
*/
require __DIR__ . '/bootstrap/autoload.php';
/*
* ----------------------------------------------------------------------------
* Begin concrete5 startup.
* ----------------------------------------------------------------------------
*/
$app = require __DIR__ . '/bootstrap/start.php';
/** @var \Concrete\Core\Application\Application $app */
/*
* ----------------------------------------------------------------------------
Arguments
"/home/newbrokersallian/public_html/concrete/bootstrap/configure.php"
/home/newbrokersallian/public_html/index.php
<?php
//$actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST] $_SERVER[REQUEST_URI]";
//if(strpos($actual_link, '%') !== false){
//echo "Word Found!";
// header("Location: https://".$_SERVER[HTTP_HOST]);
//}
require 'concrete/dispatcher.php';
Arguments
"/home/newbrokersallian/public_html/concrete/dispatcher.php"