Doctrine \ DBAL \ Exception \ DriverException
An exception occurred while executing 'SELECT t0.pkgID AS pkgID_1, t0.pkgHandle AS pkgHandle_2, t0.pkgVersion AS pkgVersion_3, t0.pkgIsInstalled AS pkgIsInstalled_4, t0.pkgAvailableVersion AS pkgAvailableVersion_5, t0.pkgDescription AS pkgDescription_6, t0.pkgDateInstalled AS pkgDateInstalled_7, t0.pkgName AS pkgName_8 FROM Packages t0 WHERE t0.pkgIsInstalled = ? ORDER BY t0.pkgID ASC' with params [1]: SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use Doctrine\DBAL\Exception\DriverException thrown with message "An exception occurred while executing 'SELECT t0.pkgID AS pkgID_1, t0.pkgHandle AS pkgHandle_2, t0.pkgVersion AS pkgVersion_3, t0.pkgIsInstalled AS pkgIsInstalled_4, t0.pkgAvailableVersion AS pkgAvailableVersion_5, t0.pkgDescription AS pkgDescription_6, t0.pkgDateInstalled AS pkgDateInstalled_7, t0.pkgName AS pkgName_8 FROM Packages t0 WHERE t0.pkgIsInstalled = ? ORDER BY t0.pkgID ASC' with params [1]: SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use" Stacktrace: #17 Doctrine\DBAL\Exception\DriverException in /home/clientsites/public_html/cds-guide-service/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115 #16 Doctrine\DBAL\Driver\AbstractMySQLDriver:convertException in /home/clientsites/public_html/cds-guide-service/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:128 #15 Doctrine\DBAL\DBALException:driverExceptionDuringQuery in /home/clientsites/public_html/cds-guide-service/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:855 #14 Doctrine\DBAL\Driver\PDOException in /home/clientsites/public_html/cds-guide-service/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:107 #13 PDOException in /home/clientsites/public_html/cds-guide-service/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105 #12 PDOStatement:execute in /home/clientsites/public_html/cds-guide-service/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105 #11 Doctrine\DBAL\Driver\PDOStatement:execute in /home/clientsites/public_html/cds-guide-service/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:847 #10 Doctrine\DBAL\Connection:executeQuery in /home/clientsites/public_html/cds-guide-service/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:884 #9 Doctrine\ORM\Persisters\Entity\BasicEntityPersister:loadAll in /home/clientsites/public_html/cds-guide-service/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:181 #8 Doctrine\ORM\EntityRepository:findBy in /home/clientsites/public_html/cds-guide-service/concrete/src/Package/PackageList.php:75 #7 Concrete\Core\Package\PackageList:get in /home/clientsites/public_html/cds-guide-service/concrete/src/Application/Application.php:220 #6 Concrete\Core\Application\Application:setupPackageAutoloaders in /home/clientsites/public_html/cds-guide-service/concrete/src/Foundation/Runtime/Boot/DefaultBooter.php:383 #5 Concrete\Core\Foundation\Runtime\Boot\DefaultBooter:initializePackages in /home/clientsites/public_html/cds-guide-service/concrete/src/Foundation/Runtime/Boot/DefaultBooter.php:161 #4 Concrete\Core\Foundation\Runtime\Boot\DefaultBooter:bootHttpSapi in /home/clientsites/public_html/cds-guide-service/concrete/src/Foundation/Runtime/Boot/DefaultBooter.php:115 #3 Concrete\Core\Foundation\Runtime\Boot\DefaultBooter:boot in /home/clientsites/public_html/cds-guide-service/concrete/src/Foundation/Runtime/DefaultRuntime.php:80 #2 Concrete\Core\Foundation\Runtime\DefaultRuntime:boot in /home/clientsites/public_html/cds-guide-service/concrete/bootstrap/start.php:35 #1 require in /home/clientsites/public_html/cds-guide-service/concrete/dispatcher.php:27 #0 require in /home/clientsites/public_html/cds-guide-service/index.php:3
Stack frames (18)
17
Doctrine
\
DBAL
\
Exception
\
DriverException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
AbstractMySQLDriver.php
115
16
Doctrine
\
DBAL
\
Driver
\
AbstractMySQLDriver
convertException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
DBALException.php
128
15
Doctrine
\
DBAL
\
DBALException
driverExceptionDuringQuery
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
855
14
Doctrine
\
DBAL
\
Driver
\
PDOException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOStatement.php
107
13
PDOException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOStatement.php
105
12
PDOStatement
execute
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOStatement.php
105
11
Doctrine
\
DBAL
\
Driver
\
PDOStatement
execute
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
847
10
Doctrine
\
DBAL
\
Connection
executeQuery
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Persisters
/
Entity
/
BasicEntityPersister.php
884
9
Doctrine
\
ORM
\
Persisters
\
Entity
\
BasicEntityPersister
loadAll
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
EntityRepository.php
181
8
Doctrine
\
ORM
\
EntityRepository
findBy
/
src
/
Package
/
PackageList.php
75
7
Concrete
\
Core
\
Package
\
PackageList
get
/
src
/
Application
/
Application.php
220
6
Concrete
\
Core
\
Application
\
Application
setupPackageAutoloaders
/
src
/
Foundation
/
Runtime
/
Boot
/
DefaultBooter.php
383
5
Concrete
\
Core
\
Foundation
\
Runtime
\
Boot
\
DefaultBooter
initializePackages
/
src
/
Foundation
/
Runtime
/
Boot
/
DefaultBooter.php
161
4
Concrete
\
Core
\
Foundation
\
Runtime
\
Boot
\
DefaultBooter
bootHttpSapi
/
src
/
Foundation
/
Runtime
/
Boot
/
DefaultBooter.php
115
3
Concrete
\
Core
\
Foundation
\
Runtime
\
Boot
\
DefaultBooter
boot
/
src
/
Foundation
/
Runtime
/
DefaultRuntime.php
80
2
Concrete
\
Core
\
Foundation
\
Runtime
\
DefaultRuntime
boot
/
bootstrap
/
start.php
35
1
require
/
dispatcher.php
27
0
require
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
index.php
3
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
AbstractMySQLDriver.php
            case '1095':
            case '1142':
            case '1143':
            case '1227':
            case '1370':
            case '2002':
            case '2005':
                return new Exception\ConnectionException($message, $exception);
 
            case '1048':
            case '1121':
            case '1138':
            case '1171':
            case '1252':
            case '1263':
            case '1566':
                return new Exception\NotNullConstraintViolationException($message, $exception);
        }
 
        return new Exception\DriverException($message, $exception);
    }
 
    /**
     * {@inheritdoc}
     */
    public function createDatabasePlatformForVersion($version)
    {
        if ( ! preg_match('/^(?P<major>\d+)(?:\.(?P<minor>\d+)(?:\.(?P<patch>\d+))?)?/', $version, $versionParts)) {
            throw DBALException::invalidPlatformVersionSpecified(
                $version,
                '<major_version>.<minor_version>.<patch_version>'
            );
        }
 
        if (false !== stripos($version, 'mariadb')) {
            return $this->getDatabasePlatform();
        }
 
        $majorVersion = $versionParts['major'];
        $minorVersion = isset($versionParts['minor']) ? $versionParts['minor'] : 0;
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
DBALException.php
    }
 
    /**
     * @param \Doctrine\DBAL\Driver     $driver
     * @param \Exception $driverEx
     * @param string     $sql
     * @param array      $params
     *
     * @return \Doctrine\DBAL\DBALException
     */
    public static function driverExceptionDuringQuery(Driver $driver, \Exception $driverEx, $sql, array $params = array())
    {
        $msg = "An exception occurred while executing '".$sql."'";
        if ($params) {
            $msg .= " with params " . self::formatParameters($params);
        }
        $msg .= ":\n\n".$driverEx->getMessage();
 
        if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) {
            return $driver->convertException($msg, $driverEx);
        }
 
        return new self($msg, 0, $driverEx);
    }
 
    /**
     * @param \Doctrine\DBAL\Driver     $driver
     * @param \Exception $driverEx
     *
     * @return \Doctrine\DBAL\DBALException
     */
    public static function driverException(Driver $driver, \Exception $driverEx)
    {
        $msg = "An exception occured in driver: " . $driverEx->getMessage();
 
        if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) {
            return $driver->convertException($msg, $driverEx);
        }
 
        return new self($msg, 0, $driverEx);
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
        if ($logger) {
            $logger->startQuery($query, $params, $types);
        }
 
        try {
            if ($params) {
                list($query, $params, $types) = SQLParserUtils::expandListParameters($query, $params, $types);
 
                $stmt = $this->_conn->prepare($query);
                if ($types) {
                    $this->_bindTypedValues($stmt, $params, $types);
                    $stmt->execute();
                } else {
                    $stmt->execute($params);
                }
            } else {
                $stmt = $this->_conn->query($query);
            }
        } catch (\Exception $ex) {
            throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types));
        }
 
        $stmt->setFetchMode($this->defaultFetchMode);
 
        if ($logger) {
            $logger->stopQuery();
        }
 
        return $stmt;
    }
 
    /**
     * Executes a caching query.
     *
     * @param string                                 $query  The SQL query to execute.
     * @param array                                  $params The parameters to bind to the query, if any.
     * @param array                                  $types  The types the previous parameters are in.
     * @param \Doctrine\DBAL\Cache\QueryCacheProfile $qcp    The query cache profile.
     *
     * @return \Doctrine\DBAL\Driver\ResultStatement
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOStatement.php
    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}
     */
    public function execute($params = null)
    {
        try {
            return parent::execute($params);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function fetch($fetchMode = null, $cursorOrientation = null, $cursorOffset = null)
    {
        try {
            if ($fetchMode === null && $cursorOrientation === null && $cursorOffset === null) {
                return parent::fetch();
            }
 
            if ($cursorOrientation === null && $cursorOffset === null) {
                return parent::fetch($fetchMode);
            }
 
            if ($cursorOffset === null) {
                return parent::fetch($fetchMode, $cursorOrientation);
            }
Exception message: SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOStatement.php
     * {@inheritdoc}
     */
    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}
     */
    public function execute($params = null)
    {
        try {
            return parent::execute($params);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function fetch($fetchMode = null, $cursorOrientation = null, $cursorOffset = null)
    {
        try {
            if ($fetchMode === null && $cursorOrientation === null && $cursorOffset === null) {
                return parent::fetch();
            }
 
            if ($cursorOrientation === null && $cursorOffset === null) {
                return parent::fetch($fetchMode);
            }
 
            if ($cursorOffset === null) {
Exception message: SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOStatement.php
     * {@inheritdoc}
     */
    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}
     */
    public function execute($params = null)
    {
        try {
            return parent::execute($params);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function fetch($fetchMode = null, $cursorOrientation = null, $cursorOffset = null)
    {
        try {
            if ($fetchMode === null && $cursorOrientation === null && $cursorOffset === null) {
                return parent::fetch();
            }
 
            if ($cursorOrientation === null && $cursorOffset === null) {
                return parent::fetch($fetchMode);
            }
 
            if ($cursorOffset === null) {
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
    {
        if ($qcp !== null) {
            return $this->executeCacheQuery($query, $params, $types, $qcp);
        }
 
        $this->connect();
 
        $logger = $this->_config->getSQLLogger();
        if ($logger) {
            $logger->startQuery($query, $params, $types);
        }
 
        try {
            if ($params) {
                list($query, $params, $types) = SQLParserUtils::expandListParameters($query, $params, $types);
 
                $stmt = $this->_conn->prepare($query);
                if ($types) {
                    $this->_bindTypedValues($stmt, $params, $types);
                    $stmt->execute();
                } else {
                    $stmt->execute($params);
                }
            } else {
                $stmt = $this->_conn->query($query);
            }
        } catch (\Exception $ex) {
            throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types));
        }
 
        $stmt->setFetchMode($this->defaultFetchMode);
 
        if ($logger) {
            $logger->stopQuery();
        }
 
        return $stmt;
    }
 
    /**
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Persisters
/
Entity
/
BasicEntityPersister.php
        }
 
        foreach ($types as $type) {
            list ($field, $value) = $type;
            $sqlTypes = array_merge($sqlTypes, $this->getTypes($field, $value, $this->class));
        }
 
        return array($sqlParams, $sqlTypes);
    }
 
    /**
     * {@inheritdoc}
     */
    public function loadAll(array $criteria = array(), array $orderBy = null, $limit = null, $offset = null)
    {
        $this->switchPersisterContext($offset, $limit);
 
        $sql = $this->getSelectSQL($criteria, null, null, $limit, $offset, $orderBy);
        list($params, $types) = $this->expandParameters($criteria);
        $stmt = $this->conn->executeQuery($sql, $params, $types);
 
        $hydrator = $this->em->newHydrator(($this->currentPersisterContext->selectJoinSql) ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);
 
        return $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, array(UnitOfWork::HINT_DEFEREAGERLOAD => true));
    }
 
    /**
     * {@inheritdoc}
     */
    public function getManyToManyCollection(array $assoc, $sourceEntity, $offset = null, $limit = null)
    {
        $this->switchPersisterContext($offset, $limit);
 
        $stmt = $this->getManyToManyStatement($assoc, $sourceEntity, $offset, $limit);
 
        return $this->loadArrayFromStatement($assoc, $stmt);
    }
 
    /**
     * Loads an array of entities from a given DBAL statement.
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
EntityRepository.php
    public function findAll()
    {
        return $this->findBy(array());
    }
 
    /**
     * Finds entities by a set of criteria.
     *
     * @param array      $criteria
     * @param array|null $orderBy
     * @param int|null   $limit
     * @param int|null   $offset
     *
     * @return array The objects.
     */
    public function findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
    {
        $persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
 
        return $persister->loadAll($criteria, $orderBy, $limit, $offset);
    }
 
    /**
     * Finds a single entity by a set of criteria.
     *
     * @param array $criteria
     * @param array|null $orderBy
     *
     * @return object|null The entity instance or NULL if the entity can not be found.
     */
    public function findOneBy(array $criteria, array $orderBy = null)
    {
        $persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
 
        return $persister->load($criteria, null, null, array(), null, 1, $orderBy);
    }
 
    /**
     * Adds support for magic finders.
     *
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
src
/
Package
/
PackageList.php
        CacheLocal::delete('packageHandleList', false);
        CacheLocal::delete('pkgList', 1);
        CacheLocal::delete('pkgList', 0);
    }
 
    /**
     * @deprecated
     * @param int $pkgIsInstalled
     * @return static
     */
    public static function get($pkgIsInstalled = 1)
    {
        $pkgList = CacheLocal::getEntry('pkgList', $pkgIsInstalled);
        if ($pkgList != false) {
            return $pkgList;
        }
 
        $em = \Database::connection()->getEntityManager();
        $r = $em->getRepository('\Concrete\Core\Entity\Package');
        $packages = $r->findBy(array('pkgIsInstalled' => true), array('pkgID' => 'asc'));
        $list = new static();
        foreach($packages as $pkg) {
            $list->add($pkg);
        }
 
        CacheLocal::set('pkgList', $pkgIsInstalled, $list);
 
        return $list;
    }
}
 
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
src
/
Application
/
Application.php
     * @throws \Concrete\Core\Updater\Migrations\MigrationIncompleteException throws a MigrationIncompleteException exception if there's still some migration pending
     */
    public function handleAutomaticUpdates()
    {
        $config = $this['config'];
        $installed = $config->get('concrete.version_db_installed');
        $core = $config->get('concrete.version_db');
        if ($installed < $core) {
            $this->make(MutexInterface::class)->execute(Update::MUTEX_KEY, function () {
                Update::updateToCurrentVersion();
            });
        }
    }
 
    /**
     * Register package autoloaders. Has to come BEFORE session calls.
     */
    public function setupPackageAutoloaders()
    {
        $pla = \Concrete\Core\Package\PackageList::get();
        $pl = $pla->getPackages();
        $cl = ClassLoader::getInstance();
        /** @var \Package[] $pl */
        foreach ($pl as $p) {
            \Config::package($p);
            if ($p->isPackageInstalled()) {
                $pkg = $this->make('Concrete\Core\Package\PackageService')->getClass($p->getPackageHandle());
                if (is_object($pkg) && (!$pkg instanceof \Concrete\Core\Package\BrokenPackage)) {
                    $cl->registerPackage($pkg);
                    $this->packages[] = $pkg;
                }
            }
        }
    }
 
    /**
     * Run startup and localization events on any installed packages.
     */
    public function setupPackages()
    {
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
src
/
Foundation
/
Runtime
/
Boot
/
DefaultBooter.php
    /**
     * @param \Concrete\Core\Application\Application $app
     * @param \Concrete\Core\Http\Request $request
     *
     * @return null|Response
     */
    private function checkCache(Application $app, Request $request)
    {
        $response = $app->checkPageCache($request);
        if ($response) {
            return $response;
        }
    }
 
    /**
     * @param \Concrete\Core\Application\Application $app
     */
    private function initializePackages(Application $app)
    {
        $app->setupPackageAutoloaders();
    }
}
 
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
src
/
Foundation
/
Runtime
/
Boot
/
DefaultBooter.php
            return $response;
        }
 
        if ($this->app->isInstalled()) {
            /*
             * ----------------------------------------------------------------------------
             * Check the page cache in case we need to return a result early.
             * ----------------------------------------------------------------------------
             */
            if ($response = $this->checkCache($app, $request)) {
                return $response;
            }
 
 
            /*
             * ----------------------------------------------------------------------------
             * Now we load all installed packages, and register their package autoloaders.
             * ----------------------------------------------------------------------------
             */
            $this->initializePackages($app);
 
            /**
             * ----------------------------------------------------------------------------
             * Load preprocess items
             * ----------------------------------------------------------------------------.
             */
            require DIR_BASE_CORE . '/bootstrap/preprocess.php';
        }
    }
 
    /**
     * Enable configuration.
     *
     * @param Application $app
     *
     * @return Repository
     */
    private function initializeConfig(Application $app)
    {
        $config_provider = $app->make('Concrete\Core\Config\ConfigServiceProvider');
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
src
/
Foundation
/
Runtime
/
Boot
/
DefaultBooter.php
        /*
         * ----------------------------------------------------------------------------
         * Setup file cache directories. Has to come after we define services
         * because we use the file service.
         * ----------------------------------------------------------------------------
         */
        $app->setupFilesystem();
 
        /*
         * ----------------------------------------------------------------------------
         * Registries for theme paths, assets, routes and file types.
         * ----------------------------------------------------------------------------
         */
        $this->initializeAssets($config);
        $this->initializeRoutes($config);
        $this->initializeFileTypes($config);
 
        // If we're not in the CLI SAPI, lets do additional booting for HTTP
        if (!$this->app->isRunThroughCommandLineInterface()) {
            return $this->bootHttpSapi($config, $app);
        }
    }
 
    /**
     * @param $config
     * @param $app
     *
     * @return null|Response
     */
    private function bootHttpSapi($config, $app)
    {
        /*
         * ----------------------------------------------------------------------------
         * Initialize the request
         * ----------------------------------------------------------------------------
         */
        $request = $this->initializeRequest($config);
 
        /*
         * ----------------------------------------------------------------------------
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
src
/
Foundation
/
Runtime
/
DefaultRuntime.php
    {
        $this->run_class = $run_class;
    }
 
    /**
     * @param string $boot_class
     */
    public function setBootClass($boot_class)
    {
        $this->boot_class = $boot_class;
    }
 
    /**
     * Initialize the environment and prepare for running.
     */
    public function boot()
    {
        $booter = $this->getBooter();
 
        if ($response = $booter->boot()) {
            $this->sendResponse($response);
        } else {
            $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.');
        }
 
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
bootstrap
/
start.php
 * Handle text encoding.
 * ----------------------------------------------------------------------------
 */
\Patchwork\Utf8\Bootup::initAll();
 
/*
 * ----------------------------------------------------------------------------
 * Instantiate concrete5.
 * ----------------------------------------------------------------------------
 */
/** @var \Concrete\Core\Application\Application $cms */
$app = require DIR_APPLICATION . '/bootstrap/start.php';
$app->instance('app', $app);
 
// Bind fully application qualified class names
$app->instance('Concrete\Core\Application\Application', $app);
$app->instance('Illuminate\Container\Container', $app);
 
// Boot the runtime
$app->getRuntime()->boot();
 
return $app;
 
/
home
/
clientsites
/
public_html
/
cds-guide-service
/
concrete
/
dispatcher.php
 * ----------------------------------------------------------------------------
 * 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';
 
/*
 * ----------------------------------------------------------------------------
 * Include all autoloaders.
 * ----------------------------------------------------------------------------
 */
require __DIR__ . '/bootstrap/autoload.php';
 
/*
 * ----------------------------------------------------------------------------
 * Begin concrete5 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
/
clientsites
/
public_html
/
cds-guide-service
/
index.php
<?php
 
require 'concrete/dispatcher.php';
 

Environment & details:

Key Value
Version 8.4.0
Installed Version 8.4.0
Key Value
concrete.version 8.4.0
concrete.version_installed 8.4.0
concrete.version_db 20180524000000
concrete.installed true
concrete.locale en_US
concrete.charset UTF-8
concrete.maintenance_mode false
concrete.debug.display_errors true
concrete.debug.detail debug
concrete.proxy.host null
concrete.proxy.port null
concrete.proxy.user null
concrete.proxy.password null
concrete.upload.extensions *.flv;*.jpg;*.gif;*.jpeg;*.ico;*.docx;*.xla;*.png;*.psd;*.swf;*.doc;*.txt;*.xls;*.xlsx;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;*.wmv;*.mpeg;*.mpg;*.wav;*.3gp;*.avi;*.m4v;*.mp4;*.mp3;*.qt;*.ppt;*.pptx;*.kml;*.xml;*.svg;*.webm;*.ogg;*.ogv
concrete.interface.panel.page_relations false
concrete.mail.method smtp
concrete.mail.methods.smtp.server smtp.gmail.com
concrete.mail.methods.smtp.port
concrete.mail.methods.smtp.username formsubmission@cityof.co
concrete.mail.methods.smtp.password QRV#+CW1h$:N7gE
concrete.mail.methods.smtp.encryption SSL
concrete.mail.methods.smtp.messages_per_connection null
concrete.cache.enabled true
concrete.cache.lifetime 21600
concrete.cache.overrides true
concrete.cache.blocks true
concrete.cache.assets true
concrete.cache.theme_css true
concrete.cache.pages blocks
concrete.cache.doctrine_dev_mode false
concrete.cache.full_page_lifetime default
concrete.cache.full_page_lifetime_value null
concrete.cache.full_contents_assets_hash false
concrete.cache.directory /home/clientsites/public_html/cds-guide-service/application/files/cache
concrete.cache.directory_relative null
concrete.cache.page.directory /home/clientsites/public_html/cds-guide-service/application/files/cache/pages
concrete.cache.page.adapter file
concrete.cache.levels.overrides.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.levels.overrides.drivers.core_filesystem.class Concrete\Core\Cache\Driver\FileSystemStashDriver
concrete.cache.levels.overrides.drivers.core_filesystem.options.path /home/clientsites/public_html/cds-guide-service/application/files/cache/overrides
concrete.cache.levels.overrides.drivers.core_filesystem.options.dirPermissions 493
concrete.cache.levels.overrides.drivers.core_filesystem.options.filePermissions 420
concrete.cache.levels.expensive.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.levels.expensive.drivers.core_filesystem.class Concrete\Core\Cache\Driver\FileSystemStashDriver
concrete.cache.levels.expensive.drivers.core_filesystem.options.path /home/clientsites/public_html/cds-guide-service/application/files/cache/expensive
concrete.cache.levels.expensive.drivers.core_filesystem.options.dirPermissions 493
concrete.cache.levels.expensive.drivers.core_filesystem.options.filePermissions 420
concrete.cache.levels.object.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.clear.thumbnails true
concrete.design.enable_custom true
concrete.design.enable_layouts true
concrete.log.emails true
concrete.log.errors true
concrete.log.spam false
concrete.log.queries.log false
concrete.log.queries.clear_on_reload false
concrete.jobs.enable_scheduling true
concrete.filesystem.temp_directory null
concrete.filesystem.permissions.file 420
concrete.filesystem.permissions.directory 493
concrete.email.enabled true
concrete.email.default.address concrete5-noreply@concrete5
concrete.email.default.name
concrete.email.form_block.address false
concrete.email.forgot_password.address null
concrete.email.forgot_password.name null
concrete.email.validate_registration.address null
concrete.email.validate_registration.name null
concrete.email.workflow_notification.address null
concrete.email.workflow_notification.name null
concrete.marketplace.enabled true
concrete.marketplace.request_timeout 30
concrete.marketplace.token null
concrete.marketplace.site_token null
concrete.marketplace.intelligent_search true
concrete.marketplace.log_requests false
concrete.external.intelligent_search_help true
concrete.external.news true
concrete.misc.user_timezones false
concrete.misc.package_backup_directory /home/clientsites/public_html/cds-guide-service/application/files/trash
concrete.misc.enable_progressive_page_reindex true
concrete.misc.mobile_theme_id 0
concrete.misc.sitemap_approve_immediately true
concrete.misc.enable_translate_locale_en_us false
concrete.misc.page_search_index_lifetime 259200
concrete.misc.enable_trash_can true
concrete.misc.app_version_display_in_header true
concrete.misc.default_jpeg_image_compression 80
concrete.misc.default_png_image_compression 9
concrete.misc.default_thumbnail_format auto
concrete.misc.basic_thumbnailer_generation_strategy now
concrete.misc.help_overlay true
concrete.misc.require_version_comments false
concrete.misc.login_redirect DESKTOP
concrete.misc.access_entity_updated 1502807238
concrete.misc.do_page_reindex_check false
concrete.misc.latest_version 8.4.0
concrete.theme.compress_preprocessor_output true
concrete.theme.generate_less_sourcemap false
concrete.updates.enable_auto_update_packages false
concrete.updates.enable_permissions_protection true
concrete.updates.check_threshold 172800
concrete.updates.services.get_available_updates http://www.concrete5.org/tools/update_core
concrete.updates.services.inspect_update http://www.concrete5.org/tools/inspect_update
concrete.paths.trash /!trash
concrete.paths.drafts /!drafts
concrete.icons.page_template.width 120
concrete.icons.page_template.height 90
concrete.icons.theme_thumbnail.width 120
concrete.icons.theme_thumbnail.height 90
concrete.icons.file_manager_listing.handle file_manager_listing
concrete.icons.file_manager_listing.width 60
concrete.icons.file_manager_listing.height 60
concrete.icons.file_manager_detail.handle file_manager_detail
concrete.icons.file_manager_detail.width 400
concrete.icons.file_manager_detail.height 400
concrete.icons.user_avatar.width 80
concrete.icons.user_avatar.height 80
concrete.icons.user_avatar.default /concrete/images/avatar_none.png
concrete.file_manager.images.use_exif_data_to_rotate_images false
concrete.file_manager.images.manipulation_library gd
concrete.file_manager.images.create_high_dpi_thumbnails true
concrete.file_manager.results 10
concrete.search_users.results 10
concrete.sitemap_xml.file sitemap.xml
concrete.sitemap_xml.frequency weekly
concrete.sitemap_xml.priority 0.5
concrete.accessibility.toolbar_titles false
concrete.accessibility.toolbar_large_font false
concrete.accessibility.display_help_system true
concrete.accessibility.toolbar_tooltips true
concrete.i18n.choose_language_login null
concrete.i18n.auto_install_package_languages true
concrete.i18n.community_translation.entry_point http://translate.concrete5.org/api
concrete.i18n.community_translation.api_token
concrete.i18n.community_translation.progress_limit 60
concrete.i18n.community_translation.cache_lifetime 3600
concrete.i18n.community_translation.package_url https://translate.concrete5.org/translate/package
concrete.urls.concrete5 http://www.concrete5.org
concrete.urls.concrete5_secure https://www.concrete5.org
concrete.urls.newsflow http://newsflow.concrete5.org
concrete.urls.background_feed //backgroundimages.concrete5.org/wallpaper
concrete.urls.privacy_policy //www.concrete5.org/legal/privacy-policy
concrete.urls.background_feed_secure https://backgroundimages.concrete5.org/wallpaper
concrete.urls.background_info http://backgroundimages.concrete5.org/get_image_data.php
concrete.urls.videos https://www.youtube.com/user/concrete5cms/videos
concrete.urls.help.developer http://documentation.concrete5.org/developers
concrete.urls.help.user http://documentation.concrete5.org/editors
concrete.urls.help.forum http://www.concrete5.org/community/forums
concrete.urls.paths.menu_help_service /tools/get_remote_help_list/
concrete.urls.paths.site_page /private/sites
concrete.urls.paths.newsflow_slot_content /tools/slot_content/
concrete.urls.paths.marketplace.connect /marketplace/connect
concrete.urls.paths.marketplace.connect_success /marketplace/connect/-/connected
concrete.urls.paths.marketplace.connect_validate /marketplace/connect/-/validate
concrete.urls.paths.marketplace.connect_new_token /marketplace/connect/-/generate_token
concrete.urls.paths.marketplace.checkout /cart/-/add
concrete.urls.paths.marketplace.purchases /marketplace/connect/-/get_available_licenses
concrete.urls.paths.marketplace.item_information /marketplace/connect/-/get_item_information
concrete.urls.paths.marketplace.item_free_license /marketplace/connect/-/enable_free_license
concrete.urls.paths.marketplace.remote_item_list /marketplace/
concrete.white_label.logo false
concrete.white_label.name false
concrete.white_label.background_image null
concrete.session.name CONCRETE5
concrete.session.handler file
concrete.session.save_path null
concrete.session.max_lifetime 7200
concrete.session.cookie.cookie_path false
concrete.session.cookie.cookie_lifetime 0
concrete.session.cookie.cookie_domain false
concrete.session.cookie.cookie_secure false
concrete.session.cookie.cookie_httponly true
concrete.user.registration.enabled false
concrete.user.registration.type disabled
concrete.user.registration.captcha true
concrete.user.registration.email_registration false
concrete.user.registration.display_username_field true
concrete.user.registration.display_confirm_password_field true
concrete.user.registration.validate_email false
concrete.user.registration.approval false
concrete.user.registration.notification false
concrete.user.group.badge.default_point_value 50
concrete.user.username.maximum 64
concrete.user.username.minimum 3
concrete.user.username.allow_spaces false
concrete.user.password.maximum 128
concrete.user.password.minimum 5
concrete.user.password.hash_portable false
concrete.user.password.hash_cost_log2 12
concrete.user.password.legacy_salt
concrete.user.private_messages.throttle_max 20
concrete.user.private_messages.throttle_max_timespan 15
concrete.spam.whitelist_group 0
concrete.spam.notify_email
concrete.calendar.colors.text #ffffff
concrete.calendar.colors.background #3A87AD
concrete.security.session.invalidate_on_user_agent_mismatch true
concrete.security.session.invalidate_on_ip_mismatch true
concrete.security.ban.ip.enabled true
concrete.security.ban.ip.attempts 5
concrete.security.ban.ip.time 300
concrete.security.ban.ip.length 10
concrete.security.misc.x_frame_options SAMEORIGIN
concrete.permissions.forward_to_login true
concrete.permissions.model simple
concrete.seo.tracking.code
concrete.seo.tracking.code_position bottom
concrete.seo.exclude_words a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with
concrete.seo.url_rewriting true
concrete.seo.url_rewriting_all false
concrete.seo.redirect_to_canonical_url 1
concrete.seo.canonical_url null
concrete.seo.canonical_url_alternative null
concrete.seo.trailing_slash false
concrete.seo.title_format %2$s :: %1$s
concrete.seo.title_segment_separator ::
concrete.seo.page_path_separator -
concrete.seo.group_name_separator /
concrete.seo.segment_max_length 128
concrete.seo.paging_string ccm_paging_p
concrete.statistics.track_downloads true
concrete.limits.sitemap_pages 100
concrete.limits.delete_pages 100
concrete.limits.copy_pages 10
concrete.limits.page_search_index_batch 200
concrete.limits.job_queue_batch 10
concrete.limits.style_customizer.size_min -50
concrete.limits.style_customizer.size_max 200
concrete.page.search.always_reindex false
concrete.composer.idle_timeout 1
concrete.version_db_installed 20180524000000
empty
empty
empty
empty
empty
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TZ US/Central
REDIRECT_HANDLER application/x-httpd-ea-php56
REDIRECT_STATUS 200
UNIQUE_ID ZgW-TN1AJiwMqTS3VyxEjgAAABA
SCRIPT_URL /login
SCRIPT_URI https://www.cdsguideservice.com/login
HTTPS on
SSL_TLS_SNI www.cdsguideservice.com
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.cdsguideservice.com
HTTP_X_HTTPS 1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.cdsguideservice.com
SERVER_ADDR 46.31.66.46
SERVER_PORT 443
REMOTE_ADDR 199.38.148.63
DOCUMENT_ROOT /home/clientsites/public_html/cds-guide-service
REQUEST_SCHEME https
CONTEXT_PREFIX /cgi-sys
CONTEXT_DOCUMENT_ROOT /usr/local/cpanel/cgi-sys/
SERVER_ADMIN webmaster@cdsguideservice.sites.thankscityof.com
SCRIPT_FILENAME /home/clientsites/public_html/cds-guide-service/index.php
REMOTE_PORT 65029
REDIRECT_URL /index.php
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /login
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /usr/local/cpanel/cgi-sys/ea-php56
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/clientsites/public_html/cds-guide-service/index.php
ORIG_SCRIPT_NAME /cgi-sys/ea-php56
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711652429.013
REQUEST_TIME 1711652429
argv Array ( )
argc 0
empty
0. Concrete\Core\Error\Handler\ErrorHandler
1. Concrete\Core\Error\Handler\JsonErrorHandler