Kirby \ Exception \ NotFoundException (error.template.default.notFound)
The default template does not exist Kirby\Exception\NotFoundException thrown with message "The default template does not exist" Stacktrace: #3 Kirby\Exception\NotFoundException in /home/javelinda/domains/cms.javelincommodities.com/public_html/kirby/src/Cms/Page.php:1053 #2 Kirby\Cms\Page:render in /home/javelinda/domains/cms.javelincommodities.com/public_html/kirby/src/Cms/App.php:704 #1 Kirby\Cms\App:io in /home/javelinda/domains/cms.javelincommodities.com/public_html/kirby/src/Cms/App.php:1077 #0 Kirby\Cms\App:render in /home/javelinda/domains/cms.javelincommodities.com/public_html/index.php:12
Stack frames (4)
3
Kirby\Exception\NotFoundException
/src/Cms/Page.php1053
2
Kirby\Cms\Page render
/src/Cms/App.php704
1
Kirby\Cms\App io
/src/Cms/App.php1077
0
Kirby\Cms\App render
/home/javelinda/domains/cms.javelincommodities.com/public_html/index.php12
/home/javelinda/domains/cms.javelincommodities.com/public_html/kirby/src/Cms/Page.php
            $result   = $cache->get($cacheId);
            $html     = $result['html'] ?? null;
            $response = $result['response'] ?? [];
 
            // reconstruct the response configuration
            if (empty($html) === false && empty($response) === false) {
                $kirby->response()->fromArray($response);
            }
        }
 
        // fetch the page regularly
        if ($html === null) {
            if ($contentType === 'html') {
                $template = $this->template();
            } else {
                $template = $this->representation($contentType);
            }
 
            if ($template->exists() === false) {
                throw new NotFoundException([
                    'key' => 'template.default.notFound'
                ]);
            }
 
            $kirby->data = $this->controller($data, $contentType);
 
            // render the page
            $html = $template->render($kirby->data);
 
            // convert the response configuration to an array
            $response = $kirby->response()->toArray();
 
            // cache the result
            if ($cache !== null && $kirby->response()->cache() === true) {
                $cache->set($cacheId, [
                    'html'     => $html,
                    'response' => $response
                ], $kirby->response()->expires() ?? 0);
            }
        }
/home/javelinda/domains/cms.javelincommodities.com/public_html/kirby/src/Cms/App.php
 
        // Empty input
        if (empty($input) === true) {
            return $this->io(new NotFoundException());
        }
 
        // Response Configuration
        if (is_a($input, 'Kirby\Cms\Responder') === true) {
            return $input->send();
        }
 
        // Responses
        if (is_a($input, 'Kirby\Http\Response') === true) {
            return $input;
        }
 
        // Pages
        if (is_a($input, 'Kirby\Cms\Page')) {
            try {
                $html = $input->render();
            } catch (ErrorPageException $e) {
                return $this->io($e);
            }
 
            if ($input->isErrorPage() === true) {
                if ($response->code() === null) {
                    $response->code(404);
                }
            }
 
            return $response->send($html);
        }
 
        // Files
        if (is_a($input, 'Kirby\Cms\File')) {
            return $response->redirect($input->mediaUrl(), 307)->send();
        }
 
        // Simple HTML response
        if (is_string($input) === true) {
/home/javelinda/domains/cms.javelincommodities.com/public_html/kirby/src/Cms/App.php
        $scriptName  = $_SERVER['SCRIPT_NAME'];
        $scriptFile  = basename($scriptName);
        $scriptDir   = dirname($scriptName);
        $scriptPath  = $scriptFile === 'index.php' ? $scriptDir : $scriptName;
        $requestPath = preg_replace('!^' . preg_quote($scriptPath) . '!', '', $requestUri);
 
        return $this->setPath($requestPath)->path;
    }
 
    /**
     * Returns the Response object for the
     * current request
     *
     * @param string|null $path
     * @param string|null $method
     * @return \Kirby\Http\Response
     */
    public function render(string $path = null, string $method = null)
    {
        return $this->io($this->call($path, $method));
    }
 
    /**
     * Returns the Request singleton
     *
     * @return \Kirby\Http\Request
     */
    public function request()
    {
        return $this->request = $this->request ?? new Request();
    }
 
    /**
     * Path resolver for the router
     *
     * @internal
     * @param string|null $path
     * @param string|null $language
     * @return mixed
     * @throws \Kirby\Exception\NotFoundException if the home page cannot be found
/home/javelinda/domains/cms.javelincommodities.com/public_html/index.php
<?php
 
header('Access-Control-Allow-Origin: *');
header('HTTP/1.1 200 OK');
header('Access-Control-Allow-Credentials: true');
header('Access-Control-Allow-Methods: GET, HEAD, OPTIONS, POST, PUT');
header('Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization');
header('Content-type: application/json; charset=utf-8');
    
require './kirby/bootstrap.php';
 
echo (new Kirby)->render();
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING br,gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CONNECTION Keep-Alive
CONTENT_LENGTH 0
HTTP_HOST cms.javelincommodities.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_IF_MODIFIED_SINCE Fri, 01 Jul 2022 10:50:37 GMT
REDIRECT_UNIQUE_ID ZIPIvMKH46Dsx9svqZTIeAAAAR4
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI cms.javelincommodities.com
REDIRECT_STATUS 200
UNIQUE_ID ZIPIvMKH46Dsx9svqZTIeAAAAR4
HTTP_AUTHORIZATION
HTTPS on
SSL_TLS_SNI cms.javelincommodities.com
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2
SERVER_NAME cms.javelincommodities.com
SERVER_ADDR 164.132.254.220
SERVER_PORT 443
REMOTE_ADDR 3.231.217.107
DOCUMENT_ROOT /home/javelinda/domains/cms.javelincommodities.com/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/javelinda/domains/cms.javelincommodities.com/public_html
SERVER_ADMIN webmaster@javelincommodities.com
SCRIPT_FILENAME /home/javelinda/domains/cms.javelincommodities.com/public_html/index.php
REMOTE_PORT 53472
REDIRECT_URL /terms-of-use
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /terms-of-use
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1686358204.3256
REQUEST_TIME 1686358204
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
0. Whoops\Handler\PrettyPageHandler