Phalcon Framework 5.9.3

Phalcon\Mvc\View\Exception: View '_partials/footer_default' was not found in any of the views directory

/home/mojpatri/brennando.de/app/frontend/views/_layouts/default.phtml (20)
#0Phalcon\Mvc\View->engineRender
#1Phalcon\Mvc\View->partial
#2Phalcon\Mvc\View\Engine\AbstractEngine->partial
/home/mojpatri/brennando.de/app/frontend/views/_layouts/default.phtml (20)
<!DOCTYPE html>
<html class="no-js" lang="de">
   <?php $this->partial("_partials/head"); ?>
    <body>
      
 
        <?php  $this->partial("_partials/header"); ?>
        <?php  echo $this->flash->output(); ?>
        <?php echo $this->getContent(); ?>
        <?php
            $countryCode = $this->session->global['country_code']; // Falls nicht gesetzt, Standardwert
            $languageCode = $this->session->global['language_code'];
 
            $footerVariable = "_partials/footer_" . $countryCode . "_" . $languageCode;
 
            // Prüfe, ob die Datei existiert, falls nicht, Standard-Footer laden
            if ($this->view->exists($footerVariable)) {
                $this->partial($footerVariable);
            } else {
                $this->partial("_partials/footer_default");
            }
        ?>
 
       
        <script>
        <!-- Including Jquery/Javascript -->
        <!-- Plugins JS -->
         <?php include ($this->config->application->publicDir . 'frontend/assets/js/plugins.js') ; ?>
        <!-- Main JS -->
        <?php include ($this->config->application->publicDir . 'frontend/assets/js/main.js') ; ?>
        </script>
 
        <script>
            // Passive event listeners
        jQuery.event.special.touchstart = {
            setup: function( _, ns, handle ) {
                this.addEventListener("touchstart", handle, { passive: !ns.includes("noPreventDefault") });
            }
        };
        jQuery.event.special.touchmove = {
            setup: function( _, ns, handle ) {
                this.addEventListener("touchmove", handle, { passive: !ns.includes("noPreventDefault") });
            }
        };
        </script>
 
 
        <?php 
        if( $this->assets->exists('footerCdn') )
        { 
            $this->assets->outputJs('footerCdn'); 
        }
        ?>
        <?php 
        if( $this->assets->exists('footerCdnMinifiedBaseController') )
        { 
            $this->assets->outputJs('footerCdnMinifiedBaseController'); 
        }
        ?>
        <?php $this->assets->outputInlineJs(); ?>
    </body>
</html>
 
#3Phalcon\Mvc\View\Engine\Php->render
#4Phalcon\Mvc\View->engineRender
#5Phalcon\Mvc\View->processRender
#6Phalcon\Mvc\View->render
#7Phalcon\Mvc\Application->handle
/home/mojpatri/brennando.de/public/index.php (40)
<?php
#phpinfo();die;
#print_r($_SERVER);die;
 
 
try {
    
    /**
     * Read the configuration
     */
    $config = include __DIR__ . "/../app/_config/config.php";
 
    /**
     * Read auto-loader
     */
    include __DIR__ . "/../app/_config/loader.php";
 
    /**
     * Read services
     */
    include __DIR__ . "/../app/_config/services.php";
 
    /**
     * Handle the request
     */
    $application = new Phalcon\Mvc\Application($di);
 
     // Register the installed modules
    $application->registerModules([
        'frontend' => [
            'className' => 'Multiple\Frontend\Module',
            'path'      => '../app/frontend/Module.php'
        ],
        'backend'  => [
            'className' => 'Multiple\Backend\Module',
            'path'      => '../app/backend/Module.php'
        ] 
    ]);
 
     $response = $application->handle( $_SERVER["REQUEST_URI"] );
    
     // Get content and minify it
    $content = $response->getContent();
    #$minifiedContent = minifier($content);
 
    // Set the minified content back to the response object
    #$response->setContent($content);
    
    // Send the response to the client
    $response->send();
 
} catch ( \Phalcon\Support\Debug\Exception $e) {
 
 
      $message = get_class($e). ": ".$e->getMessage(). "\n"
         . " File=". $e->getFile(). "\n"
         . " Line=". $e->getLine(). "\n"
         . $e->getTraceAsString() . "\n";
      
       /* $logger = new \Phalcon\Logger\Adapter\File($config->application->logDir.'error.log');
        $logger->error($message);*/
        
        echo $message;
 
        ########################## 
        ##### Debug deaktivieren on live: 
        #$debug = new \Phalcon\Debug();
        #die($debug->listen()->onUncaughtException($e));
      
}
 
 
 
 
function minifier($code) {
    $search = array(
          
        // Remove whitespaces after tags
        '/\>[^\S ]+/s',
          
        // Remove whitespaces before tags
        '/[^\S ]+\</s',
          
        // Remove multiple whitespace sequences
        '/(\s)+/s',
          
        // Removes comments
        '/<!--(.|\s)*?-->/'
    );
    $replace = array('>', '<', '\\1');
    $code = preg_replace($search, $replace, $code);
    return $code;
}
KeyValue
_url/fr/agb
KeyValue
PATH/usr/local/bin:/bin:/usr/bin
HTTP_ACCEPT*/*
HTTP_ACCEPT_ENCODINGgzip, br, zstd, deflate
HTTP_HOSTwww.brennando.ch
HTTP_USER_AGENTMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_HTTPS1
DOCUMENT_ROOT/home/mojpatri/brennando.de
REMOTE_ADDR216.73.216.57
REMOTE_PORT64120
SERVER_ADDR139.162.163.62
SERVER_NAMEwww.brennando.ch
SERVER_ADMINgod@brennando.de
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/fr/agb
REDIRECT_URL/public/fr/agb
REDIRECT_REQUEST_METHODGET
HTTPSon
REDIRECT_STATUS200
X_SPDYHTTP2
SSL_PROTOCOLTLSv1.3
SSL_CIPHERTLS_AES_256_GCM_SHA384
SSL_CIPHER_USEKEYSIZE256
SSL_CIPHER_ALGKEYSIZE256
SCRIPT_FILENAME/home/mojpatri/brennando.de/public/index.php
QUERY_STRING_url=/fr/agb
SCRIPT_URIhttps://www.brennando.ch/fr/agb
SCRIPT_URL/fr/agb
SCRIPT_NAME/public/index.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/public/index.php
REQUEST_TIME_FLOAT1761311071.673
REQUEST_TIME1761311071
#Path
0/home/mojpatri/brennando.de/public/index.php
1/home/mojpatri/brennando.de/app/_config/config.php
2/home/mojpatri/brennando.de/app/_config/loader.php
3/home/mojpatri/brennando.de/app/_config/services.php
4/home/mojpatri/brennando.de/app/frontend/config/routes_frontend.php
5/home/mojpatri/brennando.de/app/frontend/Module.php
6/home/mojpatri/brennando.de/app/frontend/controllers/ContentController.php
7/home/mojpatri/brennando.de/app/frontend/controllers/BaseController.php
8/home/mojpatri/brennando.de/app/backend/models/CountryHasLanguages.php
9/home/mojpatri/brennando.de/app/backend/models/Countries.php
10/home/mojpatri/brennando.de/app/backend/models/Languages.php
11/home/mojpatri/brennando.de/app/backend/models/Pages.php
12/home/mojpatri/brennando.de/app/backend/models/PagesHasDomains.php
13/home/mojpatri/brennando.de/app/_library/MetaTags.php
14/home/mojpatri/brennando.de/app/_library/Breadcrumbs.php
15/home/mojpatri/brennando.de/app/backend/models/Categories.php
16/home/mojpatri/brennando.de/app/frontend/views/content/page-index.phtml
17/home/mojpatri/brennando.de/app/frontend/views/_partials/elements/content/author_bottom.phtml
18/home/mojpatri/brennando.de/app/frontend/views/_partials/elements/content/linkbox_content.phtml
19/home/mojpatri/brennando.de/app/frontend/views/_partials/elements/global/product.phtml
20/home/mojpatri/brennando.de/app/frontend/views/_partials/elements/global/top-posts.phtml
21/home/mojpatri/brennando.de/app/frontend/views/_layouts/default.phtml
22/home/mojpatri/brennando.de/app/frontend/views/_partials/head.phtml
23/home/mojpatri/brennando.de/public/frontend/assets/css/plugins.css
24/home/mojpatri/brennando.de/public/frontend/assets/css/style.min.css
25/home/mojpatri/brennando.de/public/frontend/assets/plugins/cookieconsent/cookieconsent.css
26/home/mojpatri/brennando.de/app/frontend/views/_partials/header.phtml
27/home/mojpatri/brennando.de/app/frontend/views/_partials/elements/global/navigation.phtml
Memory
Usage4194304