string(27) "json error handle triggered" string(22) "error handle triggered" string(22) "display_errors enabled" string(14) "detail = debug" concrete5 has encountered an issue.
Doctrine \ DBAL \ Exception \ ConnectionException
An exception occurred while executing 'INSERT INTO Areas (cID, arHandle, arIsGlobal) VALUES (?, ?, ?)' with params ["5477", "Header Full Navigation", 1]: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'cmsprod_ro'@'prddenweb2.services.webroot' for table 'Areas' Doctrine\DBAL\Exception\ConnectionException thrown with message "An exception occurred while executing 'INSERT INTO Areas (cID, arHandle, arIsGlobal) VALUES (?, ?, ?)' with params ["5477", "Header Full Navigation", 1]: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'cmsprod_ro'@'prddenweb2.services.webroot' for table 'Areas'" Stacktrace: #38 Doctrine\DBAL\Exception\ConnectionException in /var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103 #37 Doctrine\DBAL\Driver\AbstractMySQLDriver:convertException in /var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:116 #36 Doctrine\DBAL\DBALException:driverExceptionDuringQuery in /var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:996 #35 Doctrine\DBAL\Driver\PDOException in /var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93 #34 PDOException in /var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91 #33 PDOStatement:execute in /var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91 #32 Doctrine\DBAL\Driver\PDOStatement:execute in /var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:989 #31 Doctrine\DBAL\Connection:executeUpdate in /var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:696 #30 Doctrine\DBAL\Connection:insert in /var/www/html/webprod_cms/concrete/src/Database/Connection/Connection.php:205 #29 Concrete\Core\Database\Connection\Connection:Replace in /var/www/html/webprod_cms/concrete/src/Area/GlobalArea.php:40 #28 Concrete\Core\Area\GlobalArea:create in /var/www/html/webprod_cms/concrete/src/Area/Area.php:790 #27 Concrete\Core\Area\Area:load in /var/www/html/webprod_cms/concrete/src/Area/Area.php:842 #26 Concrete\Core\Area\Area:display in /var/www/html/webprod_cms/concrete/src/Area/GlobalArea.php:145 #25 Concrete\Core\Area\GlobalArea:display in /var/www/html/webprod_cms/packages/theme_webroot/themes/webroot_business/elements/header.php:20 #24 include in /var/www/html/webprod_cms/concrete/src/View/View.php:97 #23 Concrete\Core\View\View:inc in /var/www/html/webprod_cms/packages/theme_webroot/themes/webroot_business/view.php:3 #22 include in /var/www/html/webprod_cms/concrete/src/View/View.php:215 #21 Concrete\Core\View\View:renderViewContents in /var/www/html/webprod_cms/concrete/src/View/AbstractView.php:151 #20 Concrete\Core\View\AbstractView:render in /var/www/html/webprod_cms/concrete/src/Http/ResponseFactory.php:153 #19 Concrete\Core\Http\ResponseFactory:view in /var/www/html/webprod_cms/concrete/src/Http/ResponseFactory.php:216 #18 Concrete\Core\Http\ResponseFactory:controller in /var/www/html/webprod_cms/concrete/src/Http/ResponseFactory.php:372 #17 Concrete\Core\Http\ResponseFactory:collection in /var/www/html/webprod_cms/concrete/src/Routing/DispatcherRouteCallback.php:41 #16 Concrete\Core\Routing\DispatcherRouteCallback:execute in /var/www/html/webprod_cms/concrete/src/Http/DefaultDispatcher.php:115 #15 Concrete\Core\Http\DefaultDispatcher:handleDispatch in /var/www/html/webprod_cms/concrete/src/Http/DefaultDispatcher.php:53 #14 Concrete\Core\Http\DefaultDispatcher:dispatch in /var/www/html/webprod_cms/concrete/src/Http/Middleware/DispatcherDelegate.php:39 #13 Concrete\Core\Http\Middleware\DispatcherDelegate:next in /var/www/html/webprod_cms/concrete/src/Http/Middleware/ThumbnailMiddleware.php:60 #12 Concrete\Core\Http\Middleware\ThumbnailMiddleware:process in /var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareDelegate.php:38 #11 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /var/www/html/webprod_cms/concrete/src/Http/Middleware/FrameOptionsMiddleware.php:39 #10 Concrete\Core\Http\Middleware\FrameOptionsMiddleware:process in /var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareDelegate.php:38 #9 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /var/www/html/webprod_cms/concrete/src/Http/Middleware/CookieMiddleware.php:37 #8 Concrete\Core\Http\Middleware\CookieMiddleware:process in /var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareDelegate.php:38 #7 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /var/www/html/webprod_cms/concrete/src/Http/Middleware/ApplicationMiddleware.php:29 #6 Concrete\Core\Http\Middleware\ApplicationMiddleware:process in /var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareDelegate.php:38 #5 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareStack.php:86 #4 Concrete\Core\Http\Middleware\MiddlewareStack:process in /var/www/html/webprod_cms/concrete/src/Http/DefaultServer.php:85 #3 Concrete\Core\Http\DefaultServer:handleRequest in /var/www/html/webprod_cms/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:100 #2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /var/www/html/webprod_cms/concrete/src/Foundation/Runtime/DefaultRuntime.php:102 #1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /var/www/html/webprod_cms/concrete/dispatcher.php:39 #0 require in /var/www/html/webprod_cms/index.php:2
Stack frames (39):
38 Doctrine\DBAL\Exception\ConnectionException
…/­vendor/­doctrine/­dbal/­lib/­Doctrine/­DBAL/­Driver/­AbstractMySQLDriver.php103
37 Doctrine\DBAL\Driver\AbstractMySQLDriver convertException
…/­vendor/­doctrine/­dbal/­lib/­Doctrine/­DBAL/­DBALException.php116
36 Doctrine\DBAL\DBALException driverExceptionDuringQuery
…/­vendor/­doctrine/­dbal/­lib/­Doctrine/­DBAL/­Connection.php996
35 Doctrine\DBAL\Driver\PDOException
…/­vendor/­doctrine/­dbal/­lib/­Doctrine/­DBAL/­Driver/­PDOStatement.php93
34 PDOException
…/­vendor/­doctrine/­dbal/­lib/­Doctrine/­DBAL/­Driver/­PDOStatement.php91
33 PDOStatement execute
…/­vendor/­doctrine/­dbal/­lib/­Doctrine/­DBAL/­Driver/­PDOStatement.php91
32 Doctrine\DBAL\Driver\PDOStatement execute
…/­vendor/­doctrine/­dbal/­lib/­Doctrine/­DBAL/­Connection.php989
31 Doctrine\DBAL\Connection executeUpdate
…/­vendor/­doctrine/­dbal/­lib/­Doctrine/­DBAL/­Connection.php696
30 Doctrine\DBAL\Connection insert
…/­src/­Database/­Connection/­Connection.php205
29 Concrete\Core\Database\Connection\Connection Replace
…/­src/­Area/­GlobalArea.php40
28 Concrete\Core\Area\GlobalArea create
…/­src/­Area/­Area.php790
27 Concrete\Core\Area\Area load
…/­src/­Area/­Area.php842
26 Concrete\Core\Area\Area display
…/­src/­Area/­GlobalArea.php145
25 Concrete\Core\Area\GlobalArea display
/­var/­www/­html/­webprod_cms/­packages/­theme_webroot/­themes/­webroot_business/­elements/­header.php20
24 include
…/­src/­View/­View.php97
23 Concrete\Core\View\View inc
/­var/­www/­html/­webprod_cms/­packages/­theme_webroot/­themes/­webroot_business/­view.php3
22 include
…/­src/­View/­View.php215
21 Concrete\Core\View\View renderViewContents
…/­src/­View/­AbstractView.php151
20 Concrete\Core\View\AbstractView render
…/­src/­Http/­ResponseFactory.php153
19 Concrete\Core\Http\ResponseFactory view
…/­src/­Http/­ResponseFactory.php216
18 Concrete\Core\Http\ResponseFactory controller
…/­src/­Http/­ResponseFactory.php372
17 Concrete\Core\Http\ResponseFactory collection
…/­src/­Routing/­DispatcherRouteCallback.php41
16 Concrete\Core\Routing\DispatcherRouteCallback execute
…/­src/­Http/­DefaultDispatcher.php115
15 Concrete\Core\Http\DefaultDispatcher handleDispatch
…/­src/­Http/­DefaultDispatcher.php53
14 Concrete\Core\Http\DefaultDispatcher dispatch
…/­src/­Http/­Middleware/­DispatcherDelegate.php39
13 Concrete\Core\Http\Middleware\DispatcherDelegate next
…/­src/­Http/­Middleware/­ThumbnailMiddleware.php60
12 Concrete\Core\Http\Middleware\ThumbnailMiddleware process
…/­src/­Http/­Middleware/­MiddlewareDelegate.php38
11 Concrete\Core\Http\Middleware\MiddlewareDelegate next
…/­src/­Http/­Middleware/­FrameOptionsMiddleware.php39
10 Concrete\Core\Http\Middleware\FrameOptionsMiddleware process
…/­src/­Http/­Middleware/­MiddlewareDelegate.php38
9 Concrete\Core\Http\Middleware\MiddlewareDelegate next
…/­src/­Http/­Middleware/­CookieMiddleware.php37
8 Concrete\Core\Http\Middleware\CookieMiddleware process
…/­src/­Http/­Middleware/­MiddlewareDelegate.php38
7 Concrete\Core\Http\Middleware\MiddlewareDelegate next
…/­src/­Http/­Middleware/­ApplicationMiddleware.php29
6 Concrete\Core\Http\Middleware\ApplicationMiddleware process
…/­src/­Http/­Middleware/­MiddlewareDelegate.php38
5 Concrete\Core\Http\Middleware\MiddlewareDelegate next
…/­src/­Http/­Middleware/­MiddlewareStack.php86
4 Concrete\Core\Http\Middleware\MiddlewareStack process
…/­src/­Http/­DefaultServer.php85
3 Concrete\Core\Http\DefaultServer handleRequest
…/­src/­Foundation/­Runtime/­Run/­DefaultRunner.php100
2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner run
…/­src/­Foundation/­Runtime/­DefaultRuntime.php102
1 Concrete\Core\Foundation\Runtime\DefaultRuntime run
…/­dispatcher.php39
0 require
/­var/­www/­html/­webprod_cms/­index.php2
/var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
            case '1046':
            case '1049':
            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);
        }
/var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php
    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
/var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
                    $stmt->execute();
                } else {
                    $stmt->execute($params);
                }
                $result = $stmt->rowCount();
            } else {
                $result = $this->_conn->exec($query);
            }
        } catch (\Exception $ex) {
            throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types));
        }
 
        if ($logger) {
            $logger->stopQuery();
        }
 
        return $result;
    }
 
    /**
/var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
 
    /**
     * {@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) {
Exception message: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'cmsprod_ro'@'prddenweb2.services.webroot' for table 'Areas'
/var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
        }
    }
 
    /**
     * {@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)
    {
Exception message: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'cmsprod_ro'@'prddenweb2.services.webroot' for table 'Areas'
/var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
        }
    }
 
    /**
     * {@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)
    {
/var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
        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);
                }
                $result = $stmt->rowCount();
            } else {
                $result = $this->_conn->exec($query);
            }
        } catch (\Exception $ex) {
            throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types));
        }
 
        if ($logger) {
/var/www/html/webprod_cms/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
        if (empty($data)) {
            return $this->executeUpdate('INSERT INTO ' . $tableExpression . ' ()' . ' VALUES ()');
        }
 
        return $this->executeUpdate(
            'INSERT INTO ' . $tableExpression . ' (' . implode(', ', array_keys($data)) . ')' .
            ' VALUES (' . implode(', ', array_fill(0, count($data), '?')) . ')',
            array_values($data),
            is_string(key($types)) ? $this->extractTypeValues($data, $types) : $types
        );
    }
 
    /**
     * Extract ordered type list from two associate key lists of data and types.
     *
     * @param array $data
     * @param array $types
     *
     * @return array
     */
/var/www/html/webprod_cms/concrete/src/Database/Connection/Connection.php
            $updateKeys[$key] = $field;
            if ($autoQuote) {
                $field = $qb->expr()->literal($field);
            }
            $where->add($qb->expr()->eq($key, $field));
        }
        $qb->where($where);
        $num = $this->query($qb->getSql())->fetchColumn();
        if ($num < 1) {
            $this->insert($table, $fieldArray);
        } else {
            $this->update($table, $fieldArray, $updateKeys);
        }
    }
 
    /**
     * @deprecated -
     * alias to old ADODB method
     */
    public function GetCol($q, $arguments = array())
/var/www/html/webprod_cms/concrete/src/Area/GlobalArea.php
     * @param Page $c
     * @param string $arHandle
     *
     * @return Area
     */
    public function create($c, $arHandle)
    {
        $db = Loader::db();
        Stack::getOrCreateGlobalArea($arHandle);
        $db->Replace('Areas', array('cID' => $c->getCollectionID(), 'arHandle' => $arHandle, 'arIsGlobal' => 1), array('arHandle', 'cID'), true);
        $this->refreshCache($c);
        $area = self::get($c, $arHandle);
        $area->rescanAreaPermissionsChain();
 
        return $area;
    }
 
    /**
     * @return string
     */
/var/www/html/webprod_cms/concrete/src/Area/Area.php
    /**
     * @param Page $c
     */
    public function load($c)
    {
        if (!$this->arIsLoaded) {
            // replaces the current empty object with the passed object.
            $area = self::get($c, $this->arHandle);
            if (!is_object($area) || get_class($area) !== get_class($this)) {
                $area = $this->create($c, $this->arHandle);
            }
            $this->c = $c;
            $this->areaBlocksArray = $this->getAreaBlocks();
            $this->arIsLoaded = true;
            $this->arOverrideCollectionPermissions = $area->overrideCollectionPermissions();
            $this->arInheritPermissionsFromAreaOnCID = $area->getAreaCollectionInheritID();
            $this->arID = $area->getAreaID();
        }
    }
 
/var/www/html/webprod_cms/concrete/src/Area/Area.php
        if (!$c) {
            $c = Page::getCurrentPage();
        }
        $v = View::getRequestInstance();
 
        if (!is_object($c) || $c->isError()) {
            return false;
        }
 
        $this->load($c);
        $ap = new Permissions($this);
        if (!$ap->canViewArea()) {
            return false;
        }
 
        $blocksToDisplay = ($alternateBlockArray) ? $alternateBlockArray : $this->getAreaBlocksArray();
 
        $u = new User();
 
        // The translatable texts in the area header/footer need to be printed
/var/www/html/webprod_cms/concrete/src/Area/GlobalArea.php
        }
 
        unset($blocksTmp);
 
        return $blocks;
    }
 
    public function display($c = false, $fake = null)
    {
        parent::display($c, null);
    }
 
    /**
     * Note that this function does not delete the global area's stack.
     * You probably want to call the "delete" method of the Stack model instead.
     *
     * @param string $arHandle
     */
    public static function deleteByName($arHandle)
    {
/var/www/html/webprod_cms/packages/theme_webroot/themes/webroot_business/elements/header.php
switch ($intNavChoice) {
    case 1:
        $suppressedNavHeaderBusiness = new GlobalArea('Header Suppressed Navigation');
        $suppressedNavHeaderBusiness->setBlockLimit(1);
        $suppressedNavHeaderBusiness->display();
        break;
    case 2:
        $fullNavHeaderBusiness = new GlobalArea('Header Full Navigation');
        $fullNavHeaderBusiness->setBlockLimit(1);
        $fullNavHeaderBusiness->display();
        break;
}
 
/var/www/html/webprod_cms/concrete/src/View/View.php
        unset($args);
        unset($env);
        unset($path);
        if (!empty($__data__['scopedItems'])) {
            if (array_key_exists('__data__', $__data__['scopedItems'])) {
                throw new \Exception(t(/*i18n: %1$s is a variable name, %2$s is a function name*/'Illegal variable name \'%1$s\' in %2$s args.', '__data__', __CLASS__.'::'.__METHOD__));
            }
            extract($__data__['scopedItems']);
        }
        include $__data__['path'];
    }
 
    /**
     * A shortcut to posting back to the current page with a task and optional parameters. Only works in the context of.
     *
     * @param string $action
     * @param string $task
     *
     * @return string $url
     */
/var/www/html/webprod_cms/packages/theme_webroot/themes/webroot_business/view.php
<?php
defined('C5_EXECUTE') or die('Access Denied.');
$this->inc('elements/header.php');
?>
 
<main>
 
    <?php
    Loader::element('system_errors', array('format' => 'block', 'error' => $error, 'success' => $success, 'message' => $message));
    echo $innerContent;
    ?>
 
</main>
 
<?php
$this->inc('elements/footer.php');
 
/var/www/html/webprod_cms/concrete/src/View/View.php
            ob_start();
            include $this->innerContentFile;
            $innerContent = ob_get_contents();
            ob_end_clean();
        }
 
        if (file_exists($this->template)) {
            ob_start();
            $this->onBeforeGetContents();
            include $this->template;
            $this->onAfterGetContents();
            $contents = ob_get_contents();
            ob_end_clean();
 
            return $contents;
        } else {
            return $innerContent;
        }
    }
 
/var/www/html/webprod_cms/concrete/src/View/AbstractView.php
    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)
/var/www/html/webprod_cms/concrete/src/Http/ResponseFactory.php
     * @inheritdoc
     */
    public function view(View $view, $code = Response::HTTP_OK, $headers = array())
    {
        $changeContext = $this->shouldChangeContext();
        if ($changeContext) {
            $this->localization->pushActiveContext('site');
        }
 
        $contents = $view->render();
        if ($changeContext) {
            $this->localization->popActiveContext();
        }
 
        return $this->create($contents, $code, $headers);
    }
 
    /**
     * @inheritdoc
     */
/var/www/html/webprod_cms/concrete/src/Http/ResponseFactory.php
            if ($md->isMobile()) {
                $mobileTheme = Theme::getByID(Config::get('concrete.misc.mobile_theme_id'));
                if ($mobileTheme instanceof Theme) {
                    $view->setViewTheme($mobileTheme);
                    $controller->setTheme($mobileTheme);
                }
            }
        }
 
        return $this->view($view, $code, $headers);
    }
 
    /**
     * @inheritdoc
     */
    public function collection(Collection $collection, $code = Response::HTTP_OK, $headers = array())
    {
        if (!$this->app) {
            throw new \RuntimeException('Cannot resolve collections without a reference to the application');
        }
/var/www/html/webprod_cms/concrete/src/Http/ResponseFactory.php
        $item = new RelationListItem();
        $menu = $this->app->make('helper/concrete/ui/menu');
        $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,
/var/www/html/webprod_cms/concrete/src/Routing/DispatcherRouteCallback.php
    {
        parent::__construct($callback);
        $this->factory = $factory;
    }
 
    public function execute(Request $request, Route $route = null, $parameters = [])
    {
        // figure out where we need to go
        $c = Page::getFromRequest($request);
        return $this->factory->collection($c);
    }
 
    public static function getRouteAttributes($callback)
    {
        $callback = \Core::make(self::class, [$callback]);
        return ['callback' => $callback];
    }
 
    /**
     * @deprecated Use CollectionResponseFactory
/var/www/html/webprod_cms/concrete/src/Http/DefaultDispatcher.php
        try {
            $request->attributes->add($matcher->match($path));
            $matched = $matcher->match($path);
            $route = $collection->get($matched['_route']);
 
            $this->router->setRequest($request);
            $response = $this->router->execute($route, $matched);
        } catch (ResourceNotFoundException $e) {
            $callback = $this->app->make(DispatcherRouteCallback::class, ['dispatcher']);
            $response = $callback->execute($request);
        }
 
        return $response;
    }
}
 
/var/www/html/webprod_cms/concrete/src/Http/DefaultDispatcher.php
            substr($path, 0, 3) == '..\\' || substr($path, -3) == '\\..' || strpos($path, '\\..\\')) {
            throw new \RuntimeException(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()
    {
        $session = $this->app['session'];
 
        if (!$session->has('uID')) {
/var/www/html/webprod_cms/concrete/src/Http/Middleware/DispatcherDelegate.php
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        return $this->dispatcher->dispatch($request);
    }
 
}
 
/var/www/html/webprod_cms/concrete/src/Http/Middleware/ThumbnailMiddleware.php
     * Process the request and return a response.
     *
     * @param \Symfony\Component\HttpFoundation\Request $request
     * @param DelegateInterface                         $frame
     *
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function process(Request $request, DelegateInterface $frame)
    {
        $response = $frame->next($request);
 
        $pathInfo = $request->getPathInfo();
        if (substr($pathInfo, 0, 10) === '/dashboard') {
 
            if ($this->app->isInstalled()) {
                if ($response->getStatusCode() == 200) {
                    /* @var Connection $database */
                    try {
                        $database = $this->getConnection();
                    } catch (\InvalidArgumentException $e) {
/var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareDelegate.php
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        return $this->middleware->process($request, $this->nextDelegate);
    }
 
}
 
/var/www/html/webprod_cms/concrete/src/Http/Middleware/FrameOptionsMiddleware.php
        $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;
    }
/var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareDelegate.php
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        return $this->middleware->process($request, $this->nextDelegate);
    }
 
}
 
/var/www/html/webprod_cms/concrete/src/Http/Middleware/CookieMiddleware.php
     * @param Request $request
     * @param \Concrete\Core\Http\Middleware\DelegateInterface $frame
     * @return Response
     */
    public function process(Request $request, DelegateInterface $frame)
    {
        $this->cookies->setRequest($request);
 
        /** @var Response $response */
        $response = $frame->next($request);
 
        $cleared = $this->cookies->getClearedCookies();
        foreach ($cleared as $cookie) {
            $response->headers->clearCookie($cookie);
        }
 
        $cookies = $this->cookies->getCookies();
        foreach ($cookies as $cookie) {
            $response->headers->setCookie($cookie);
        }
/var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareDelegate.php
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        return $this->middleware->process($request, $this->nextDelegate);
    }
 
}
 
/var/www/html/webprod_cms/concrete/src/Http/Middleware/ApplicationMiddleware.php
     * @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);
    }
 
}
 
/var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareDelegate.php
 
    /**
     * Dispatch the next available middleware and return the response.
     *
     * @param Request $request
     * @return Response
     */
    public function next(Request $request)
    {
        return $this->middleware->process($request, $this->nextDelegate);
    }
 
}
 
/var/www/html/webprod_cms/concrete/src/Http/Middleware/MiddlewareStack.php
        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 = [];
 
/var/www/html/webprod_cms/concrete/src/Http/DefaultServer.php
     * @return SymfonyResponse
     */
    public function handleRequest(SymfonyRequest $request)
    {
        $stack = $this->stack;
        if ($stack instanceof MiddlewareStack) {
            $stack = $stack->withDispatcher($this->app->make(DispatcherDelegate::class, [$this->dispatcher]));
        }
 
        return $stack->process($request);
    }
 
}
 
/var/www/html/webprod_cms/concrete/src/Foundation/Runtime/Run/DefaultRunner.php
 
        /*
         * ----------------------------------------------------------------------------
         * Fire an event for intercepting the dispatch
         * ----------------------------------------------------------------------------
         */
        Events::dispatch('on_before_dispatch');
 
        $request = Request::createFromGlobals();
        return $this->server->handleRequest($request);
    }
 
    /**
     * @param Repository $config
     * @param Application $app
     */
    private function initializeLegacyURLDefinitions(Application $app)
    {
        if (!defined('BASE_URL')) {
            try {
/var/www/html/webprod_cms/concrete/src/Foundation/Runtime/DefaultRuntime.php
            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.
/var/www/html/webprod_cms/concrete/dispatcher.php
/** @var \Concrete\Core\Application\Application $cms */
$cms = require $__DIR__ . '/bootstrap/start.php';
 
/*
 * ----------------------------------------------------------------------------
 * Run the runtime.
 * ----------------------------------------------------------------------------
 */
$runtime = $cms->getRuntime();
if ($response = $runtime->run()) {
 
    /*
     * ------------------------------------------------------------------------
     * Shut it down.
     * ------------------------------------------------------------------------
     */
    $cms->shutdown();
} else {
    return $cms;
}
/var/www/html/webprod_cms/index.php
<?php
require('concrete/dispatcher.php');
 

Environment & details:

Key Value
Version 8.1.0
Installed Version 8.1.0
Key Value
concrete.version 8.1.0
concrete.version_installed 8.1.0
concrete.version_db 20170123000000
concrete.installed true
concrete.locale en_US
concrete.charset UTF-8
concrete.maintenance_mode false
concrete.debug.display_errors false
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;*.ics
concrete.interface.panel.page_relations false
concrete.mail.method smtp
concrete.mail.methods.smtp.server smtprelay
concrete.mail.methods.smtp.port
concrete.mail.methods.smtp.username
concrete.mail.methods.smtp.password
concrete.mail.methods.smtp.encryption
concrete.cache.enabled true
concrete.cache.lifetime 21600
concrete.cache.overrides true
concrete.cache.blocks false
concrete.cache.assets false
concrete.cache.theme_css true
concrete.cache.pages 0
concrete.cache.doctrine_dev_mode false
concrete.cache.full_page_lifetime custom
concrete.cache.full_page_lifetime_value 300
concrete.cache.full_contents_assets_hash false
concrete.cache.directory /var/www/html/webprod_cms/application/files/cache
concrete.cache.directory_relative null
concrete.cache.page.directory /var/www/html/webprod_cms/application/files/cache/pages
concrete.cache.page.adapter file
concrete.cache.environment.file environment.cache
concrete.cache.levels.expensive.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.cache.levels.expensive.drivers.core_filesystem.class \Stash\Driver\FileSystem
concrete.cache.levels.expensive.drivers.core_filesystem.options.path /var/www/html/webprod_cms/application/files/cache
concrete.cache.levels.expensive.drivers.core_filesystem.options.dirPermissions 509
concrete.cache.levels.expensive.drivers.core_filesystem.options.filePermissions 436
concrete.cache.levels.object.drivers.core_ephemeral.class \Stash\Driver\Ephemeral
concrete.multilingual.redirect_home_to_default_locale true
concrete.multilingual.use_browser_detected_locale true
concrete.multilingual.default_locale en_US
concrete.multilingual.default_source_locale en_US
concrete.multilingual.keep_users_locale 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 436
concrete.filesystem.permissions.directory 509
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.marketplace.enabled false
concrete.marketplace.request_timeout 30
concrete.marketplace.token null
concrete.marketplace.site_token null
concrete.marketplace.intelligent_search false
concrete.marketplace.log_requests false
concrete.external.intelligent_search_help false
concrete.external.news_overlay false
concrete.external.news false
concrete.misc.user_timezones false
concrete.misc.package_backup_directory /var/www/html/webprod_cms/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 false
concrete.misc.default_jpeg_image_compression 80
concrete.misc.help_overlay false
concrete.misc.require_version_comments false
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.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.results 10
concrete.search_users.results 10
concrete.sitemap_xml.file application/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 false
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.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.dashboard_background null
concrete.session.name CONCRETE5
concrete.session.handler database
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.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.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 advanced
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 false
concrete.seo.canonical_url http://www.webroot.com/
concrete.seo.canonical_ssl_url https://www.webroot.com/
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 false
concrete.limits.sitemap_pages 250
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.version_db_installed 20170123000000
concrete.site concrete5
empty
empty
empty
empty
Key Value
_sf2_attributes Array ( [uGroups] => Array ( [1] => 1 ) [accessEntities] => Array ( [0] => Concrete\Core\Permission\Access\Entity\GroupEntity Object ( [group:protected] => Concrete\Core\User\Group\Group Object ( [ctID] => [permissionSet] => [permissions:Concrete\Core\User\Group\Group:private] => Array ( ) [error] => [gID] => 1 [gName] => Guest [gDescription] => The guest group represents unregistered visitors to your site. [gUserExpirationIsEnabled] => 0 [gUserExpirationMethod] => [gUserExpirationSetDateTime] => [gUserExpirationInterval] => 0 [gUserExpirationAction] => [gIsBadge] => 0 [gBadgeFID] => 0 [gBadgeDescription] => [gBadgeCommunityPointValue] => 0 [gIsAutomated] => 0 [gCheckAutomationOnRegister] => 0 [gCheckAutomationOnLogin] => 0 [gCheckAutomationOnJobRun] => 0 [gPath] => /Guest [pkgID] => 0 ) [error] => [petID] => 1 [peID] => 5 [petHandle] => group [label] => Guest ) ) [accessEntitiesUpdated] => 1519098387 [multilingual_default_locale] => en_CA )
_sf2_flashes Array ( )
_sf2_meta Array ( [u] => 1519098387 [c] => 1519098387 [l] => 0 )
Key Value
UNIQUE_ID WouaEwoFWGYAAN18T48AAAAa
SCRIPT_URL /ca/en/home/resources/security-report
SCRIPT_URI https://www.webroot.com/ca/en/home/resources/security-report
WR_CONFIG_DIR_OVERRIDE /usr/local/etc/
WR_ENV production
WR_LIB_DIR /var/www/html/webdev_trunk/libraries
CONCRETE5_ENV www
WR_CONFIG_CMS_DB www
HTTPS on
HTTP_HOST www.webroot.com
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.webroot.com
SERVER_ADDR 10.5.88.102
SERVER_PORT 443
REMOTE_ADDR 54.90.119.59
DOCUMENT_ROOT /var/www/html/www
SERVER_ADMIN webmaster@webroot.com
SCRIPT_FILENAME /var/www/html/webprod_cms/index.php
REMOTE_PORT 35688
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /ca/en/home/resources/security-report
SCRIPT_NAME /ca/en/home/resources/security-report
PHP_SELF /ca/en/home/resources/security-report
REQUEST_TIME_FLOAT 1519098387.507
REQUEST_TIME 1519098387
empty
0. Concrete\Core\Error\Handler\ErrorHandler
1. Concrete\Core\Error\Handler\JsonErrorHandler
int(48)