Concrete \ Package \ MinifyHtml \ Src \ MinifyHtml \ JSMin_UnterminatedStringException
JSMin: Unterminated String at byte 7390: " Concrete\Package\MinifyHtml\Src\MinifyHtml\JSMin_UnterminatedStringException thrown with message "JSMin: Unterminated String at byte 7390: "" Stacktrace: #31 Concrete\Package\MinifyHtml\Src\MinifyHtml\JSMin_UnterminatedStringException in /home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/JSMin.php:207 #30 Concrete\Package\MinifyHtml\Src\MinifyHtml\JSMin:action in /home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/JSMin.php:148 #29 Concrete\Package\MinifyHtml\Src\MinifyHtml\JSMin:min in /home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/JSMin.php:87 #28 Concrete\Package\MinifyHtml\Src\MinifyHtml\JSMin:minify in /home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/HtmlMin.php:106 #27 Concrete\Package\MinifyHtml\Src\MinifyHtml\HtmlMin:minify in /home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/Controller.php:95 #26 Concrete\Package\MinifyHtml\Src\MinifyHtml\Controller:minify in /home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/Controller.php:20 #25 Concrete\Package\MinifyHtml\Src\MinifyHtml\Controller:boot in /home/sitewaypoint/public_html/concrete/vendor/symfony/event-dispatcher/EventDispatcher.php:174 #24 call_user_func in /home/sitewaypoint/public_html/concrete/vendor/symfony/event-dispatcher/EventDispatcher.php:174 #23 Symfony\Component\EventDispatcher\EventDispatcher:doDispatch in /home/sitewaypoint/public_html/concrete/vendor/symfony/event-dispatcher/EventDispatcher.php:43 #22 Symfony\Component\EventDispatcher\EventDispatcher:dispatch in /home/sitewaypoint/public_html/concrete/src/Support/Facade/Facade.php:121 #21 Concrete\Core\Support\Facade\Facade:__callStatic in /home/sitewaypoint/public_html/concrete/src/Page/View/PageView.php:246 #20 Concrete\Core\Support\Facade\Events:dispatch in /home/sitewaypoint/public_html/concrete/src/Page/View/PageView.php:246 #19 Concrete\Core\Page\View\PageView:finishRender in /home/sitewaypoint/public_html/concrete/src/View/AbstractView.php:153 #18 Concrete\Core\View\AbstractView:render in /home/sitewaypoint/public_html/concrete/src/Http/ResponseFactory.php:152 #17 Concrete\Core\Http\ResponseFactory:view in /home/sitewaypoint/public_html/concrete/src/Http/ResponseFactory.php:215 #16 Concrete\Core\Http\ResponseFactory:controller in /home/sitewaypoint/public_html/concrete/src/Http/ResponseFactory.php:371 #15 Concrete\Core\Http\ResponseFactory:collection in /home/sitewaypoint/public_html/concrete/src/Routing/DispatcherRouteCallback.php:41 #14 Concrete\Core\Routing\DispatcherRouteCallback:execute in /home/sitewaypoint/public_html/concrete/src/Http/DefaultDispatcher.php:115 #13 Concrete\Core\Http\DefaultDispatcher:handleDispatch in /home/sitewaypoint/public_html/concrete/src/Http/DefaultDispatcher.php:53 #12 Concrete\Core\Http\DefaultDispatcher:dispatch in /home/sitewaypoint/public_html/concrete/src/Http/Middleware/DispatcherDelegate.php:39 #11 Concrete\Core\Http\Middleware\DispatcherDelegate:next in /home/sitewaypoint/public_html/concrete/src/Http/Middleware/FrameOptionsMiddleware.php:39 #10 Concrete\Core\Http\Middleware\FrameOptionsMiddleware:process in /home/sitewaypoint/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php:38 #9 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/sitewaypoint/public_html/concrete/src/Http/Middleware/CookieMiddleware.php:37 #8 Concrete\Core\Http\Middleware\CookieMiddleware:process in /home/sitewaypoint/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php:38 #7 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/sitewaypoint/public_html/concrete/src/Http/Middleware/ApplicationMiddleware.php:29 #6 Concrete\Core\Http\Middleware\ApplicationMiddleware:process in /home/sitewaypoint/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php:38 #5 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/sitewaypoint/public_html/concrete/src/Http/Middleware/MiddlewareStack.php:86 #4 Concrete\Core\Http\Middleware\MiddlewareStack:process in /home/sitewaypoint/public_html/concrete/src/Http/DefaultServer.php:85 #3 Concrete\Core\Http\DefaultServer:handleRequest in /home/sitewaypoint/public_html/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:94 #2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /home/sitewaypoint/public_html/concrete/src/Foundation/Runtime/DefaultRuntime.php:102 #1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /home/sitewaypoint/public_html/concrete/dispatcher.php:39 #0 require in /home/sitewaypoint/public_html/index.php:5
Stack frames (32):
31 Concrete\Package\MinifyHtml\Src\MinifyHtml\JSMin_UnterminatedStringException
/­home/­sitewaypoint/­public_html/­packages/­minify_html/­src/­MinifyHtml/­JSMin.php207
30 Concrete\Package\MinifyHtml\Src\MinifyHtml\JSMin action
/­home/­sitewaypoint/­public_html/­packages/­minify_html/­src/­MinifyHtml/­JSMin.php148
29 Concrete\Package\MinifyHtml\Src\MinifyHtml\JSMin min
/­home/­sitewaypoint/­public_html/­packages/­minify_html/­src/­MinifyHtml/­JSMin.php87
28 Concrete\Package\MinifyHtml\Src\MinifyHtml\JSMin minify
/­home/­sitewaypoint/­public_html/­packages/­minify_html/­src/­MinifyHtml/­HtmlMin.php106
27 Concrete\Package\MinifyHtml\Src\MinifyHtml\HtmlMin minify
/­home/­sitewaypoint/­public_html/­packages/­minify_html/­src/­MinifyHtml/­Controller.php95
26 Concrete\Package\MinifyHtml\Src\MinifyHtml\Controller minify
/­home/­sitewaypoint/­public_html/­packages/­minify_html/­src/­MinifyHtml/­Controller.php20
25 Concrete\Package\MinifyHtml\Src\MinifyHtml\Controller boot
…/­vendor/­symfony/­event-dispatcher/­EventDispatcher.php174
24 call_user_func
…/­vendor/­symfony/­event-dispatcher/­EventDispatcher.php174
23 Symfony\Component\EventDispatcher\EventDispatcher doDispatch
…/­vendor/­symfony/­event-dispatcher/­EventDispatcher.php43
22 Symfony\Component\EventDispatcher\EventDispatcher dispatch
…/­src/­Support/­Facade/­Facade.php121
21 Concrete\Core\Support\Facade\Facade __callStatic
…/­src/­Page/­View/­PageView.php246
20 Concrete\Core\Support\Facade\Events dispatch
…/­src/­Page/­View/­PageView.php246
19 Concrete\Core\Page\View\PageView finishRender
…/­src/­View/­AbstractView.php153
18 Concrete\Core\View\AbstractView render
…/­src/­Http/­ResponseFactory.php152
17 Concrete\Core\Http\ResponseFactory view
…/­src/­Http/­ResponseFactory.php215
16 Concrete\Core\Http\ResponseFactory controller
…/­src/­Http/­ResponseFactory.php371
15 Concrete\Core\Http\ResponseFactory collection
…/­src/­Routing/­DispatcherRouteCallback.php41
14 Concrete\Core\Routing\DispatcherRouteCallback execute
…/­src/­Http/­DefaultDispatcher.php115
13 Concrete\Core\Http\DefaultDispatcher handleDispatch
…/­src/­Http/­DefaultDispatcher.php53
12 Concrete\Core\Http\DefaultDispatcher dispatch
…/­src/­Http/­Middleware/­DispatcherDelegate.php39
11 Concrete\Core\Http\Middleware\DispatcherDelegate 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.php94
2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner run
…/­src/­Foundation/­Runtime/­DefaultRuntime.php102
1 Concrete\Core\Foundation\Runtime\DefaultRuntime run
…/­dispatcher.php39
0 require
/­home/­sitewaypoint/­public_html/­index.php5
/home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/JSMin.php
                        $this->output .= $this->a;
                        $this->lastByteOut = $this->a;
 
                        $this->a = $this->get();
                        if ($this->a === $this->b) { // end quote
                            break;
                        }
                        if ($this->isEOF($this->a)) {
                            $byte = $this->inputIndex - 1;
                            throw new JSMin_UnterminatedStringException(
                                "JSMin: Unterminated String at byte {$byte}: {$str}");
                        }
                        $str .= $this->a;
                        if ($this->a === '\\') {
                            $this->output .= $this->a;
                            $this->lastByteOut = $this->a;
 
                            $this->a       = $this->get();
                            $str .= $this->a;
                        }
/home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/JSMin.php
                    $command = self::ACTION_DELETE_A;
                }
            } elseif (! $this->isAlphaNum($this->a)) {
                if ($this->b === ' '
                    || ($this->b === "\n"
                        && (false === strpos('}])+-\'', $this->a)))) {
                    $command = self::ACTION_DELETE_A_B;
                }
            }
            $this->action($command);
        }
        $this->output = trim($this->output);
 
        if ($mbIntEnc !== null) {
            mb_internal_encoding($mbIntEnc);
        }
        return $this->output;
    }
 
    /**
/home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/JSMin.php
     * @param string $js Javascript to be minified
     *
     * @return string
     */
    public static function minify($js)
    {
        $jsmin = new JSMin($js);
		
		 
        return $jsmin->min();
    }
 
    /**
     * @param string $input
     */
    public function __construct($input)
    {
        $this->input = $input;
    }
 
/home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/HtmlMin.php
                if($d->hasAttribute("type") && strtolower($d->getAttribute("type"))!=='text/javascript' ){
                    continue;
                }
                if($d->hasAttribute("data-no-min")){
                    continue;
                }
                if(trim($d->nodeValue)==""){
                    continue;
                }
                $d->nodeValue =  JSMin::minify( $d->nodeValue);
            }
        }
        /*if($css){
            $cssnodes = $xpath->query('//style');
            foreach($cssnodes as $d){
                if($d->hasAttribute("data-no-min")){
                    continue;
                }
                if(trim($d->nodeValue)==""){
                    continue;
/home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/Controller.php
     * Do the actual minification.
     *
     * @link credits for https://github.com/searchturbine/phpwee-php-minifier
     * @param string $contents
     * @return string
     */
    protected function minify($contents)
    {
        // Turn JS and CSS minification off
        return HtmlMin::minify($contents, true, false);
        //return HtmlMin::minify($contents, false, false);
    }
}
/home/sitewaypoint/public_html/packages/minify_html/src/MinifyHtml/Controller.php
    /**
     * @param \Symfony\Component\EventDispatcher\GenericEvent $event
     * @return void
     */
    public function boot($event)
    {
        $contents = $event->getArgument('contents');
 
        if ($this->shouldMinify($contents)) {
            $contents = $this->minify($contents);
            $event->setArgument('contents', $contents);
        }
    }
 
 
    /**
     * Should we minimize the HTML for this page?
     *
     * @return bool
     */
/home/sitewaypoint/public_html/concrete/vendor/symfony/event-dispatcher/EventDispatcher.php
     * @param string     $eventName The name of the event to dispatch
     * @param Event      $event     The event object to pass to the event handlers/listeners
     */
    protected function doDispatch($listeners, $eventName, Event $event)
    {
        foreach ($listeners as $listener) {
            if ($event->isPropagationStopped()) {
                break;
            }
            call_user_func($listener, $event, $eventName, $this);
        }
    }
 
    /**
     * Sorts the internal list of listeners for the given event by priority.
     *
     * @param string $eventName The name of the event
     */
    private function sortListeners($eventName)
    {
/home/sitewaypoint/public_html/concrete/vendor/symfony/event-dispatcher/EventDispatcher.php
     * @param string     $eventName The name of the event to dispatch
     * @param Event      $event     The event object to pass to the event handlers/listeners
     */
    protected function doDispatch($listeners, $eventName, Event $event)
    {
        foreach ($listeners as $listener) {
            if ($event->isPropagationStopped()) {
                break;
            }
            call_user_func($listener, $event, $eventName, $this);
        }
    }
 
    /**
     * Sorts the internal list of listeners for the given event by priority.
     *
     * @param string $eventName The name of the event
     */
    private function sortListeners($eventName)
    {
/home/sitewaypoint/public_html/concrete/vendor/symfony/event-dispatcher/EventDispatcher.php
     * {@inheritdoc}
     */
    public function dispatch($eventName, Event $event = null)
    {
        if (null === $event) {
            $event = new Event();
        }
 
        if ($listeners = $this->getListeners($eventName)) {
            $this->doDispatch($listeners, $eventName, $event);
        }
 
        return $event;
    }
 
    /**
     * {@inheritdoc}
     */
    public function getListeners($eventName = null)
    {
/home/sitewaypoint/public_html/concrete/src/Support/Facade/Facade.php
        }
        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);
        }
/home/sitewaypoint/public_html/concrete/src/Page/View/PageView.php
        }
    }
 
    public function finishRender($contents)
    {
        $contents = parent::finishRender($contents);
 
        $event = new \Symfony\Component\EventDispatcher\GenericEvent();
        $event->setArgument('contents', $contents);
        Events::dispatch('on_page_output', $event);
        $contents = $event->getArgument('contents');
 
        $cache = PageCache::getLibrary();
        $shouldAddToCache = $cache->shouldAddToCache($this);
        if ($shouldAddToCache) {
            $cache->set($this->c, $contents);
        }
 
        return $contents;
    }
/home/sitewaypoint/public_html/concrete/src/Page/View/PageView.php
        }
    }
 
    public function finishRender($contents)
    {
        $contents = parent::finishRender($contents);
 
        $event = new \Symfony\Component\EventDispatcher\GenericEvent();
        $event->setArgument('contents', $contents);
        Events::dispatch('on_page_output', $event);
        $contents = $event->getArgument('contents');
 
        $cache = PageCache::getLibrary();
        $shouldAddToCache = $cache->shouldAddToCache($this);
        if ($shouldAddToCache) {
            $cache->set($this->c, $contents);
        }
 
        return $contents;
    }
/home/sitewaypoint/public_html/concrete/src/View/AbstractView.php
        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)) {
/home/sitewaypoint/public_html/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
     */
/home/sitewaypoint/public_html/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');
        }
/home/sitewaypoint/public_html/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,
/home/sitewaypoint/public_html/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
/home/sitewaypoint/public_html/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;
    }
}
 
/home/sitewaypoint/public_html/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')) {
/home/sitewaypoint/public_html/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);
    }
 
}
 
/home/sitewaypoint/public_html/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;
    }
/home/sitewaypoint/public_html/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);
    }
 
}
 
/home/sitewaypoint/public_html/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);
        }
/home/sitewaypoint/public_html/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);
    }
 
}
 
/home/sitewaypoint/public_html/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);
    }
 
}
 
/home/sitewaypoint/public_html/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);
    }
 
}
 
/home/sitewaypoint/public_html/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 = [];
 
/home/sitewaypoint/public_html/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);
    }
 
}
 
/home/sitewaypoint/public_html/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 {
/home/sitewaypoint/public_html/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.
/home/sitewaypoint/public_html/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;
}
/home/sitewaypoint/public_html/index.php
<?php
ini_set("zlib.output_compression", 1);
ini_set("memory_limit", -1);
ob_start("ob_gzhandler");
require 'concrete/dispatcher.php';
 

Environment & details:

Key Value
Version 8.0.1
Installed Version 8.0.1
Key Value
concrete.version 8.0.1
concrete.version_installed 8.0.1
concrete.version_db 20161203000000
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 PHP_MAIL
concrete.mail.methods.smtp.server
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 true
concrete.cache.assets true
concrete.cache.theme_css true
concrete.cache.pages all
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/sitewaypoint/public_html/application/files/cache
concrete.cache.directory_relative null
concrete.cache.page.directory /home/sitewaypoint/public_html/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 /home/sitewaypoint/public_html/application/files/cache
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.multilingual.redirect_home_to_default_locale false
concrete.multilingual.use_browser_detected_locale false
concrete.multilingual.default_locale false
concrete.multilingual.default_source_locale en_US
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.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_overlay false
concrete.external.news true
concrete.misc.user_timezones false
concrete.misc.package_backup_directory /home/sitewaypoint/public_html/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.help_overlay true
concrete.misc.require_version_comments false
concrete.misc.login_redirect DESKTOP
concrete.misc.access_entity_updated 1481232775
concrete.misc.do_page_reindex_check false
concrete.misc.latest_version 8.0.1
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_exim_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 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.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://www.concrete5.org/documentation/developers/5.7/
concrete.urls.help.user http://www.concrete5.org/documentation/using-concrete5-7
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 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.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 false
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 0
concrete.seo.canonical_url null
concrete.seo.canonical_ssl_url 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.version_db_installed 20161203000000
concrete.maintenance.version_job_page_num 177
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] => 2 [petHandle] => group [label] => Guest ) ) [accessEntitiesUpdated] => 1711657865 )
_sf2_flashes Array ( )
_sf2_meta Array ( [u] => 1711657864 [c] => 1711657864 [l] => 0 )
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TZ America/Chicago
REDIRECT_HANDLER application/x-httpd-ea-php56
REDIRECT_STATUS 200
UNIQUE_ID ZgXTiM8stTo9C-wykCrGBwAAAMs
SCRIPT_URL /about-us/service-areas
SCRIPT_URI https://waypointlogistics.com/about-us/service-areas
HTTPS on
SSL_TLS_SNI waypointlogistics.com
HTTP_HOST waypointlogistics.com
HTTP_CONNECTION Keep-Alive
HTTP_ACCEPT_ENCODING gzip, br
HTTP_X_FORWARDED_FOR 35.173.178.60
HTTP_CF_RAY 86ba61b2be200a0d-IAD
HTTP_X_FORWARDED_PROTO https
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_CF_CONNECTING_IP 35.173.178.60
HTTP_CDN_LOOP cloudflare
HTTP_CF_IPCOUNTRY US
HTTP_X_HTTPS 1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME waypointlogistics.com
SERVER_ADDR 64.250.112.96
SERVER_PORT 443
REMOTE_ADDR 162.158.78.159
DOCUMENT_ROOT /home/sitewaypoint/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX /cgi-sys
CONTEXT_DOCUMENT_ROOT /usr/local/cpanel/cgi-sys/
SERVER_ADMIN [email protected]
SCRIPT_FILENAME /home/sitewaypoint/public_html/index.php
REMOTE_PORT 50110
REDIRECT_URL /index.php
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /about-us/service-areas
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /usr/local/cpanel/cgi-sys/ea-php56
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/sitewaypoint/public_html/index.php
ORIG_SCRIPT_NAME /cgi-sys/ea-php56
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711657864.6809
REQUEST_TIME 1711657864
argv Array ( )
argc 0
empty
0. Concrete\Core\Error\Handler\ErrorHandler
1. Concrete\Core\Error\Handler\JsonErrorHandler