Ergebnis 1 bis 19 von 19

Thema: Update auf die PHP Version 8

  1. #1
    Contao-Fan
    Registriert seit
    10.01.2011.
    Beiträge
    376

    Standard Update auf die PHP Version 8

    Hallo,

    ich habe bei einem Kundenprojekt (Contao 4.9.36) das Problem, dass nach der Umstellung von PHP 7 auf PHP 8 ein Skriptfehler erscheint und die Seite deshalb nicht mehr angezeigt wird.

    In dem Logfile (ein Ausschnitt) steht folgendes:

    Code:
    [2022-11-23 23:16:50] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2022-11-23 23:16:50] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /kunden/487413_63477/webseiten/Contao-4/templates/health_navigator/j_colorbox.html5 line 4 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /kunden/487413_63477/webseiten/Contao-4/templates/health_navigator/j_colorbox.html5:4)"} []
    [2022-11-23 23:17:08] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.50"},"request_uri":"https://www.internistin-dr-odenwald.de/","method":"GET"} []
    [2022-11-23 23:17:08] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2022-11-23 23:17:08] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /kunden/487413_63477/webseiten/Contao-4/templates/health_navigator/j_colorbox.html5 line 4 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /kunden/487413_63477/webseiten/Contao-4/templates/health_navigator/j_colorbox.html5:4)"} []
    [2022-11-23 23:17:52] request.INFO: Matched route "tl_page.34". {"route":"tl_page.34","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_url_fragment":"contao-manager/users.json","_route":"tl_page.34"},"request_uri":"https://www.internistin-dr-odenwald.de/contao-manager/users.json","method":"GET"} []
    [2022-11-23 23:17:52] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2022-11-23 23:17:52] request.CRITICAL: Uncaught PHP Exception Contao\CoreBundle\Exception\InternalServerErrorHttpException: "No layout specified" at /kunden/487413_63477/webseiten/Contao-4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 94 {"exception":"[object] (Contao\\CoreBundle\\Exception\\InternalServerErrorHttpException(code: 0): No layout specified at /kunden/487413_63477/webseiten/Contao-4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:94, Contao\\CoreBundle\\Exception\\NoLayoutSpecifiedException(code: 0): No layout specified at /kunden/487413_63477/webseiten/Contao-4/vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:246)"} []
    [2022-11-23 23:20:26] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.50"},"request_uri":"https://www.internistin-dr-odenwald.de/","method":"GET"} []
    [2022-11-23 23:20:26] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2022-11-23 23:20:26] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /kunden/487413_63477/webseiten/Contao-4/templates/health_navigator/j_colorbox.html5 line 4 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /kunden/487413_63477/webseiten/Contao-4/templates/health_navigator/j_colorbox.html5:4)"} []
    In der Systemprüfung wurde die Installation mit PHP 8 als in Ordnung angezeigt!

  2. #2
    Community-Moderator & Contao-Urgestein Avatar von derRenner
    Registriert seit
    23.10.2012.
    Ort
    hoRn|waldviertel
    Beiträge
    2.914
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Hallo,

    du verwendest wohl ein angepasstes j_colorbox.html5 Template. Da dürfte sich ein Fehler eingeschlichen haben, wo php8 nun meckert
    Grüsse
    Bernhard


  3. #3
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Du musst dein j_colorbox Template aktualisieren.
    » sponsor me via GitHub or PayPal or Revolut

  4. #4
    Contao-Fan
    Registriert seit
    10.01.2011.
    Beiträge
    376

    Standard

    ist hier ein Fehler drin:

    Code:
    <?php
    
    // Add the colorbox style sheet
    $GLOBALS['TL_CSS'][] = 'assets/jquery/colorbox/'. COLORBOX .'/css/colorbox.min.css||static';
    
    ?>
    
    <script src="<?php echo TL_ASSETS_URL; ?>assets/jquery/colorbox/<?php echo COLORBOX; ?>/js/colorbox.min.js"></script>
    <script>
      (function($) {
        $(document).ready(function() {
          $('a[data-lightbox]').map(function() {
            $(this).colorbox({
              // Put custom options here
              loop: false,
              rel: $(this).attr('data-lightbox'),
              maxWidth: '95%',
              maxHeight: '95%',
    		  current: "Bild {current} von {total}"
            });
          });
        });
      })(jQuery);
    </script>
    wie aktualisiere ich das Template?

  5. #5
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Zitat Zitat von rauel Beitrag anzeigen
    wie aktualisiere ich das Template?
    Mit dem Original Template vergleichen (dazu gibt es eine Funktion im Backend). Oder du löschst das Template und legst es neu an und fügst dann deine Anpassungen neu ein.
    » sponsor me via GitHub or PayPal or Revolut

  6. #6
    Contao-Fan
    Registriert seit
    10.01.2011.
    Beiträge
    376

    Standard

    ich habe das Theme auf der Contao.org gekauft und nie eine Anpassung in der color.box vorgenommen. ;-()
    Der Theme-Anbieter bietet keinen Support mehr an.

    screen-template-colorbox.jpg

    ich kenne mich zu wenig aus um jetzt hier was zu verändern.
    Geändert von rauel (24.11.2022 um 10:51 Uhr)

  7. #7
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Ich denke die einzige Anpassung ist diese Zeile:
    HTML-Code:
    current: "Bild {current} von {total}"
    (Beim neu einfügen den Beistrich vorher dann nicht vergessen.)
    » sponsor me via GitHub or PayPal or Revolut

  8. #8
    Contao-Fan
    Registriert seit
    10.01.2011.
    Beiträge
    376

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Ich denke die einzige Anpassung ist diese Zeile:
    HTML-Code:
    current: "Bild {current} von {total}"
    (Beim neu einfügen den Beistrich vorher dann nicht vergessen.)
    dieser Eintrag ist im template schon drin. Was ist da anders?

  9. #9
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Zitat Zitat von rauel Beitrag anzeigen
    dieser Eintrag ist im template schon drin. Was ist da anders?
    Ja in deinem Template . Das ist genau die Anpassung.
    » sponsor me via GitHub or PayPal or Revolut

  10. #10
    Contao-Fan
    Registriert seit
    10.01.2011.
    Beiträge
    376

    Standard

    okay, dass hab ich jetzt gemacht und dann auf PHP 8 umgestellt. Zuerst dachte ich super hat geklappt, aber eine Seite, die Kontaktseite zeigte auch einen Error-Fehler an.

    Code:
    [2022-11-24 11:28:12] request.INFO: Matched route "tl_page.34". {"route":"tl_page.34","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_url_fragment":"assets/jquery/colorbox/COLORBOX/js/colorbox.min.js","_route":"tl_page.34"},"request_uri":"https://www.internistin-dr-odenwald.de/assets/jquery/colorbox/COLORBOX/js/colorbox.min.js","method":"GET"} []
    [2022-11-24 11:28:12] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2022-11-24 11:28:12] request.CRITICAL: Uncaught PHP Exception Contao\CoreBundle\Exception\InternalServerErrorHttpException: "No layout specified" at /kunden/487413_63477/webseiten/Contao-4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 94 {"exception":"[object] (Contao\\CoreBundle\\Exception\\InternalServerErrorHttpException(code: 0): No layout specified at /kunden/487413_63477/webseiten/Contao-4/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:94, Contao\\CoreBundle\\Exception\\NoLayoutSpecifiedException(code: 0): No layout specified at /kunden/487413_63477/webseiten/Contao-4/vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:246)"} []
    [2022-11-24 11:28:15] request.INFO: Matched route "tl_page.7". {"route":"tl_page.7","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","parameters":"","_route":"tl_page.7"},"request_uri":"https://www.internistin-dr-odenwald.de/kontakt-dr-christiane-odenwald.html","method":"GET"} []
    [2022-11-24 11:28:15] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2022-11-24 11:28:15] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "HTML5SHIV"" at /kunden/487413_63477/webseiten/Contao-4/templates/health_navigator/fe_page.html5 line 19 {"exception":"[object] (Error(code: 0): Undefined constant \"HTML5SHIV\" at /kunden/487413_63477/webseiten/Contao-4/templates/health_navigator/fe_page.html5:19)"} []
    muss ich das fe_page.html5 auch anpassen?

  11. #11
    Community-Moderator & Contao-Urgestein Avatar von derRenner
    Registriert seit
    23.10.2012.
    Ort
    hoRn|waldviertel
    Beiträge
    2.914
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Nein, die Fehlermeldung meckert doch 'COLORBOX' als Konstante an.
    Ich denke, dass der Pfad zum CSS nicht mehr erkannt wird.

    Suche mal nach dem korrekten Pfad zu deiner /css/colorbox.min.css und ändere diesen in deinem Template

    EDIT:
    OK, ich sehe gerade, dass du schon einen Schritt weiter bist
    Grüsse
    Bernhard


  12. #12
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Zitat Zitat von rauel Beitrag anzeigen
    muss ich das fe_page.html5 auch anpassen?
    Ja, musst du.
    » sponsor me via GitHub or PayPal or Revolut

  13. #13
    Contao-Fan
    Registriert seit
    10.01.2011.
    Beiträge
    376

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Ja, musst du.
    da bin ich überfordert. Ich habe mal verglichen und ganz viele Bereiche sind rot und dunkelrot.
    Sind die rot markierten Bereiche nun die von dem Theme-Hersteller angepassten? Muss ich diese in die neue fe_page template einbauen?

    Habe mal getestet und das Template umbenannt und ein neues fe_page erstellt. So einfach geht es leider nicht.

  14. #14
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Poste das fe_page Template.
    » sponsor me via GitHub or PayPal or Revolut

  15. #15
    Contao-Fan
    Registriert seit
    10.01.2011.
    Beiträge
    376

    Standard

    HTML-Code:
    <!DOCTYPE html>
    <html lang="<?php echo $this->language; ?>">
    <head>
    
      <meta charset="<?php echo $this->charset; ?>">
      <title><?php echo $this->pageTitle; ?> - <?php echo $this->mainTitle; ?></title>
      <base href="<?php echo $this->base; ?>">
    
      <meta name="robots" content="<?php echo $this->robots; ?>">
      <meta name="description" content="<?php echo $this->description; ?>">
      <meta name="keywords" content="<?php echo $this->keywords; ?>">
      <meta name="generator" content="Contao Open Source CMS">
    
      <?php echo $this->viewport; ?>
      <?php echo $this->framework; ?>
      <?php echo $this->stylesheets; ?>
      <?php echo $this->mooScripts; ?>
      <?php echo $this->head; ?>
      <!--[if lt IE 9]><script src="<?php echo TL_ASSETS_URL; ?>assets/html5shiv/<?php echo HTML5SHIV; ?>/html5shiv.js"></script><![endif]-->
    
    </head>
    <body id="top" class="{{ua::class}}<?php if ($this->class): ?> <?php echo $this->class; ?><?php endif; ?>"<?php if ($this->onload): ?> onload="<?php echo $this->onload; ?>"<?php endif; ?>>
    
    <input type="checkbox" id="menu" class="mobile-check">
    <label for="menu" class="button-nav-mobile"></label>
    
      <div class="outer-wrapper">
        <div class="inner-wrapper">
    
    	    <?php if ($this->header): ?>
    	      <header id="header">
    	        <div class="inside">
    	        
    	          <div class="innerwrapper">
    	          
    			    <?php if ($this->sections['header-logo']): ?> 
    			    <?php echo $this->sections['header-logo']; ?> 
    			    <?php endif; ?>
    			    
    			    <div class="right-elements">
    			      <!-- activate these elements in layout -->
    			      
    			      <!-- login button -->
    			      <?php if ($this->sections['header-login']): ?>
    			      <div class="login-container">
    					<div class="submit_container">
    					  <a href="{{env::request}}#top" class="submit">Anmelden</a>
    					</div>
    					<div id="login-form">
    					  <a href="{{env::request}}#" class="login-close">X</a>
    					  <?php echo $this->sections['header-login']; ?>
    					</div>
    				  </div>
    			      <?php endif; ?>
    	
    			      <!-- search field -->
    			      <?php if ($this->sections['header-search']): ?> 
    			      <?php echo $this->sections['header-search']; ?> 
    			      <?php endif; ?>
    			      
    			      <!-- social buttons -->
    			      <?php if ($this->sections['header-social']): ?> 
    			      <?php echo $this->sections['header-social']; ?> 
    			      <?php endif; ?>
    			      
    			    </div>
    			  </div>
    			  
    			  <?php echo $this->header; ?>
    			  
    			  <div class="nav-wrapper">
    				<?php if ($this->sections['navigation-main']): ?> 
    			    <?php echo $this->sections['navigation-main']; ?> 
    			    <?php endif; ?>
    			    
    				<div class="show-mobile">
    			
    					<?php if ($this->sections['header-login']): ?>
    					<div class="login-container">
    						<div class="submit_container">
    						  <a href="{{env::request}}#top" class="submit">Anmelden</a>
    						</div>
    						<div id="login-form">
    						  <a href="{{env::request}}#" class="login-close">X</a>
    						  <?php echo $this->sections['header-login']; ?>
    						</div>
    					</div>
    					<?php endif; ?>
    					
    					<?php if ($this->sections['header-search']): ?> 
    					<?php echo $this->sections['header-search']; ?> 
    					<?php endif; ?>
    					
    					<?php if ($this->sections['header-social']): ?> 
    					<?php echo $this->sections['header-social']; ?> 
    					<?php endif; ?>
    			
    				</div><!-- END .show-mobile -->
    				
    			  </div><!-- END .nav-wrapper -->
    			  <?php if ($this->sections['breadcrumbs']): ?> 
    			  <?php echo $this->sections['breadcrumbs']; ?> 
    			  <?php endif; ?>
    	
    			  
    	        </div>
    	      </header>
    	    <?php endif; ?>
    
    
    		<div id="wrapper">
    		    <div id="container">
    		      <div id="main">
    		        <div class="inside">
    		          <?php echo $this->main; ?>
    		        </div>
    		
    		      </div>
    		
    		      <?php if ($this->left): ?>
    		        <aside id="left">
    		          <div class="inside">
    		            <?php echo $this->left; ?>
    		          </div>
    		        </aside>
    		      <?php endif; ?>
    		
    		      <?php if ($this->right): ?>
    		        <aside id="right">
    		          <div class="inside">
    		            <?php echo $this->right; ?>
    		          </div>
    		        </aside>
    		      <?php endif; ?>
    		    </div>
    		 </div>
    	</div>
    
        <?php if ($this->footer): ?>
          <footer id="footer">
            <div class="inside">
              <?php echo $this->footer; ?>
            </div>
          </footer>
        <?php endif; ?>
    
     
    
    
      </div>
    
      <?php echo $this->mootools; ?>
    
      <?php if (!$this->disableCron): ?>
        <script>
          <?php if ($this->layout->addJQuery): ?>
            setTimeout(function(){jQuery.ajax("system/cron/cron.txt",{complete:function(e){var t=e.responseText||0;parseInt(t)<Math.round(+(new Date)/1e3)-<?php echo $this->cronTimeout; ?>&&jQuery.ajax("system/cron/cron.php")}})},5e3)
          <?php else: ?>
            setTimeout(function(){(new Request({url:"system/cron/cron.txt",onComplete:function(e){e||(e=0),parseInt(e)<Math.round(+(new Date)/1e3)-<?php echo $this->cronTimeout; ?>&&(new Request({url:"system/cron/cron.php"})).get()}})).get()},5e3)
          <?php endif; ?>
        </script>
      <?php endif; ?>
    
    </body>
    </html>
    

  16. #16
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Die Zeile
    PHP-Code:
    <!--[if lt IE 9]><script src="<?php echo TL_ASSETS_URL?>assets/html5shiv/<?php echo HTML5SHIV?>/html5shiv.js"></script><![endif]-->
    musst du entfernen (vorausgesetzt du musst nicht mehr ganz alte Internet Explorer Versionen unterstützen).
    » sponsor me via GitHub or PayPal or Revolut

  17. #17
    Contao-Fan
    Registriert seit
    10.01.2011.
    Beiträge
    376

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Die Zeile
    PHP-Code:
    <!--[if lt IE 9]><script src="<?php echo TL_ASSETS_URL?>assets/html5shiv/<?php echo HTML5SHIV?>/html5shiv.js"></script><![endif]-->
    musst du entfernen (vorausgesetzt du musst nicht mehr ganz alte Internet Explorer Versionen unterstützen).

    super danke. Es sieht so aus als würde es jetzt mit PHP 8.1 sauber laufen.

  18. #18
    Contao-Nutzer Avatar von hombo13
    Registriert seit
    06.05.2013.
    Ort
    Schaffhausen
    Beiträge
    58

    Standard 4.9.x Update auf die PHP Version 8

    Hallo Forum, ich habe genau das gleiche Problem wie @rauel - nur konnte ich es leider noch nicht lösen. Vielleicht könnte mir jemand helfen? Meine Fehlermeldung von "...var/logs" lautet:

    Code:
    [2023-10-06T09:22:22.220511+02:00] request.INFO: Matched route "tl_page.1.root". {"route":"tl_page.1.root","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\Page\\RootPageController","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.1","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.1.root","_route_object":{"Symfony\\Component\\Routing\\Route":[]}},"request_uri":"https://komdes.ch/","method":"GET"} []
    [2023-10-06T09:22:22.514718+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T09:22:22.836860+02:00] app.ERROR: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_preview_link' doesn't exist in /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:32 Stack trace: #0 /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php(32): PDO->exec('DELETE FROM tl_...') #1 /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Connection.php(1204): Doctrine\DBAL\Driver\PDO\Connection->exec('DELETE FROM tl_...') #2 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/Cron/PurgePreviewLinksCron.php(37): Doctrine\DBAL\Connection->executeStatement('DELETE FROM tl_...') #3 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/Cron/CronJob.php(42): Contao\CoreBundle\Cron\PurgePreviewLinksCron->__invoke('web') #4 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/Cron/Cron.php(131): Contao\CoreBundle\Cron\CronJob->__invoke('web') #5 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/EventListener/CommandSchedulerListener.php(47): Contao\CoreBundle\Cron\Cron->run('web') #6 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(270): Contao\CoreBundle\EventListener\CommandSchedulerListener->__invoke(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #7 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #8 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.terminat...', Object(Symfony\Component\HttpKernel\Event\TerminateEvent)) #9 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/HttpKernel.php(97): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...') #10 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/Kernel.php(159): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #11 /home/komdesc/www/contao413.komdes.ch/vendor/contao/manager-bundle/src/HttpKernel/ContaoCache.php(84): Symfony\Component\HttpKernel\Kernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #12 /home/komdesc/www/contao413.komdes.ch/web/index.php(48): Contao\ManagerBundle\HttpKernel\ContaoCache->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #13 /home/komdesc/www/contao413.komdes.ch/web/app.php(13): require('/home/komdesc/w...') #14 {main}  Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_preview_link' doesn't exist in /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28 Stack trace: #0 /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php(38): Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException)) #1 /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Connection.php(1204): Doctrine\DBAL\Driver\PDO\Connection->exec('DELETE FROM tl_...') #2 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/Cron/PurgePreviewLinksCron.php(37): Doctrine\DBAL\Connection->executeStatement('DELETE FROM tl_...') #3 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/Cron/CronJob.php(42): Contao\CoreBundle\Cron\PurgePreviewLinksCron->__invoke('web') #4 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/Cron/Cron.php(131): Contao\CoreBundle\Cron\CronJob->__invoke('web') #5 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/EventListener/CommandSchedulerListener.php(47): Contao\CoreBundle\Cron\Cron->run('web') #6 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(270): Contao\CoreBundle\EventListener\CommandSchedulerListener->__invoke(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #7 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #8 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.terminat...', Object(Symfony\Component\HttpKernel\Event\TerminateEvent)) #9 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/HttpKernel.php(97): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...') #10 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/Kernel.php(159): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #11 /home/komdesc/www/contao413.komdes.ch/vendor/contao/manager-bundle/src/HttpKernel/ContaoCache.php(84): Symfony\Component\HttpKernel\Kernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #12 /home/komdesc/www/contao413.komdes.ch/web/index.php(48): Contao\ManagerBundle\HttpKernel\ContaoCache->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #13 /home/komdesc/www/contao413.komdes.ch/web/app.php(13): require('/home/komdesc/w...') #14 {main}  Next Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_preview_link' doesn't exist in /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49 Stack trace: #0 /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Connection.php(1935): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Object(Doctrine\DBAL\Driver\PDO\Exception), Object(Doctrine\DBAL\Query)) #1 /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Connection.php(1878): Doctrine\DBAL\Connection->handleDriverException(Object(Doctrine\DBAL\Driver\PDO\Exception), Object(Doctrine\DBAL\Query)) #2 /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Connection.php(1206): Doctrine\DBAL\Connection->convertExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDO\Exception), 'DELETE FROM tl_...', Array, Array) #3 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/Cron/PurgePreviewLinksCron.php(37): Doctrine\DBAL\Connection->executeStatement('DELETE FROM tl_...') #4 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/Cron/CronJob.php(42): Contao\CoreBundle\Cron\PurgePreviewLinksCron->__invoke('web') #5 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/Cron/Cron.php(131): Contao\CoreBundle\Cron\CronJob->__invoke('web') #6 /home/komdesc/www/contao413.komdes.ch/vendor/contao/core-bundle/src/EventListener/CommandSchedulerListener.php(47): Contao\CoreBundle\Cron\Cron->run('web') #7 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(270): Contao\CoreBundle\EventListener\CommandSchedulerListener->__invoke(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #8 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #9 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.terminat...', Object(Symfony\Component\HttpKernel\Event\TerminateEvent)) #10 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/HttpKernel.php(97): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...') #11 /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/Kernel.php(159): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #12 /home/komdesc/www/contao413.komdes.ch/vendor/contao/manager-bundle/src/HttpKernel/ContaoCache.php(84): Symfony\Component\HttpKernel\Kernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #13 /home/komdesc/www/contao413.komdes.ch/web/index.php(48): Contao\ManagerBundle\HttpKernel\ContaoCache->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #14 /home/komdesc/www/contao413.komdes.ch/web/app.php(13): require('/home/komdesc/w...') #15 {main} [] []
    [2023-10-06T09:22:22.849116+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\TableNotFoundException: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_preview_link' doesn't exist" at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 49 {"exception":"[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_preview_link' doesn't exist at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_preview_link' doesn't exist at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_preview_link' doesn't exist at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:32)"} []
    [2023-10-06T09:22:23.086519+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://komdes.ch/home.html","method":"GET"} []
    [2023-10-06T09:22:23.146675+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T09:22:23.588654+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 4 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:4)"} []
    [2023-10-06T09:28:24.638494+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://komdes.ch/home.html","method":"GET"} []
    [2023-10-06T09:28:24.711751+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T09:28:25.006028+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 8 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:8)"} []
    [2023-10-06T09:28:29.131332+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://komdes.ch/home.html","method":"GET"} []
    [2023-10-06T09:28:29.135226+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T09:28:29.195316+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 8 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:8)"} []
    [2023-10-06T09:34:04.979143+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://komdes.ch/home.html","method":"GET"} []
    [2023-10-06T09:34:04.980638+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T09:34:05.166268+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 8 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:8)"} []
    [2023-10-06T09:34:46.507013+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://komdes.ch/home.html","method":"GET"} []
    [2023-10-06T09:34:46.568573+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T09:34:46.723196+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 8 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:8)"} []
    [2023-10-06T09:35:15.690017+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://komdes.ch/home.html","method":"GET"} []
    [2023-10-06T09:35:15.957245+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T09:35:16.392551+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 4 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:4)"} []
    [2023-10-06T09:40:42.013604+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list'" at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 67 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 1054): An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:67)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1054): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)"} []
    [2023-10-06T09:40:42.062668+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\TableNotFoundException: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_search_term' doesn't exist" at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 49 {"exception":"[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_search_term' doesn't exist at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_search_term' doesn't exist at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_search_term' doesn't exist at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)"} []
    [2023-10-06T09:40:42.098731+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list'" at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 67 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 1054): An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:67)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1054): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)"} []
    [2023-10-06T09:40:42.108068+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\TableNotFoundException: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_search_term' doesn't exist" at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 49 {"exception":"[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_search_term' doesn't exist at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_search_term' doesn't exist at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'komdesc_contao413.tl_search_term' doesn't exist at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)"} []
    [2023-10-06T10:05:39.102892+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T10:05:39.105113+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list'" at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 67 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 1054): An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:67)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1054): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)"} []
    [2023-10-06T10:05:39.118771+02:00] request.CRITICAL: Uncaught PHP Exception RuntimeException: "Error when rendering "https://www.komdes.ch/_fragment?_hash=Ekuhn1s5QRKT6WgM5UmHEsCx07ZzHfNbIrrquVN%2FrXs%3D&_path=insertTag%3D%257B%257Bua%253A%253Aclass%257Cattr%257D%257D%26_scope%3Dfrontend%26_format%3Dhtml%26_locale%3Dde%26_controller%3DContao%255CCoreBundle%255CController%255CInsertTagsController%253A%253ArenderAction&clientCache=0&pageId=50&request=home.html" (Status code is 500)." at /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/HttpCache/AbstractSurrogate.php line 99 {"exception":"[object] (RuntimeException(code: 0): Error when rendering \"https://www.komdes.ch/_fragment?_hash=Ekuhn1s5QRKT6WgM5UmHEsCx07ZzHfNbIrrquVN%2FrXs%3D&_path=insertTag%3D%257B%257Bua%253A%253Aclass%257Cattr%257D%257D%26_scope%3Dfrontend%26_format%3Dhtml%26_locale%3Dde%26_controller%3DContao%255CCoreBundle%255CController%255CInsertTagsController%253A%253ArenderAction&clientCache=0&pageId=50&request=home.html\" (Status code is 500). at /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/HttpCache/AbstractSurrogate.php:99)"} []
    [2023-10-06T10:05:50.743847+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T10:05:50.745432+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list'" at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 67 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 1054): An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:67)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1054): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'urlPrefix' in 'field list' at /home/komdesc/www/contao413.komdes.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)"} []
    [2023-10-06T10:05:50.751258+02:00] request.CRITICAL: Uncaught PHP Exception RuntimeException: "Error when rendering "https://www.komdes.ch/_fragment?_hash=Ekuhn1s5QRKT6WgM5UmHEsCx07ZzHfNbIrrquVN%2FrXs%3D&_path=insertTag%3D%257B%257Bua%253A%253Aclass%257Cattr%257D%257D%26_scope%3Dfrontend%26_format%3Dhtml%26_locale%3Dde%26_controller%3DContao%255CCoreBundle%255CController%255CInsertTagsController%253A%253ArenderAction&clientCache=0&pageId=50&request=home.html" (Status code is 500)." at /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/HttpCache/AbstractSurrogate.php line 99 {"exception":"[object] (RuntimeException(code: 0): Error when rendering \"https://www.komdes.ch/_fragment?_hash=Ekuhn1s5QRKT6WgM5UmHEsCx07ZzHfNbIrrquVN%2FrXs%3D&_path=insertTag%3D%257B%257Bua%253A%253Aclass%257Cattr%257D%257D%26_scope%3Dfrontend%26_format%3Dhtml%26_locale%3Dde%26_controller%3DContao%255CCoreBundle%255CController%255CInsertTagsController%253A%253ArenderAction&clientCache=0&pageId=50&request=home.html\" (Status code is 500). at /home/komdesc/www/contao413.komdes.ch/vendor/symfony/http-kernel/HttpCache/AbstractSurrogate.php:99)"} []
    [2023-10-06T10:09:45.519908+02:00] request.INFO: Matched route "tl_page.62". {"route":"tl_page.62","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.62","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.62","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://komdes.ch/news-archiv.html?month=201603","method":"GET"} []
    [2023-10-06T10:09:45.540958+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T10:09:45.673129+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 4 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:4)"} []
    [2023-10-06T10:10:51.973026+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.komdes.ch/home.html","method":"GET"} []
    [2023-10-06T10:10:52.051473+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T10:10:52.239214+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 8 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:8)"} []
    [2023-10-06T10:12:28.949988+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.komdes.ch/home.html","method":"GET"} []
    [2023-10-06T10:12:28.954977+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T10:12:29.025416+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 8 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:8)"} []
    [2023-10-06T10:12:30.803863+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.komdes.ch/home.html","method":"GET"} []
    [2023-10-06T10:12:30.805363+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T10:12:30.861705+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 8 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:8)"} []
    [2023-10-06T10:22:26.867857+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.komdes.ch/home.html","method":"GET"} []
    [2023-10-06T10:22:26.941044+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T10:22:27.137880+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 4 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:4)"} []
    [2023-10-06T10:22:30.227529+02:00] request.INFO: Matched route "tl_page.50". {"route":"tl_page.50","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.50","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.50","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.komdes.ch/home.html","method":"GET"} []
    [2023-10-06T10:22:30.231945+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-10-06T10:22:30.293546+02:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "COLORBOX"" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5 line 4 {"exception":"[object] (Error(code: 0): Undefined constant \"COLORBOX\" at /home/komdesc/www/contao413.komdes.ch/templates/vision/j_colorbox.html5:4)"} []
    Ich glaube die letzen Zeilen sind von Interessen. Sie verweisen auf einen Fehler im Template "Vision - j_colorbox.html5". Deshalb poste ich gleich mal den Code von "vision/ j_colorbox.html5"..


    HTML-Code:
    <?php
    
    // Add the colorbox style sheet
    $GLOBALS['TL_CSS'][] = 'assets/jquery/colorbox/'. COLORBOX .'/css/colorbox.min.css||static';
    
    ?>
    
    <script src="<?php echo TL_ASSETS_URL; ?>assets/jquery/colorbox/<?php echo COLORBOX; ?>/js/colorbox.min.js"></script>
    
    <script>
    (function($) {
      $(document).ready(function() {
        $('a[data-lightbox]').map(function() {
          $(this).colorbox({
            // Put custom options here
            maxWidth:'90%',
            maxHeight:'90%',
            loop:false,
            rel:$(this).attr('data-lightbox')
          });
        });
      });
    })(jQuery);
    </script>
    Kann mir jemand bitte helfen? Danke schon mal.

  19. #19
    Contao-Fan
    Registriert seit
    24.02.2021.
    Beiträge
    984
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von hombo13 Beitrag anzeigen
    Hallo Forum, ich habe genau das gleiche Problem wie @rauel
    Nutze folgenden Code in deinem j_colorbox template (ungetestet)

    HTML-Code:
    <?php
    
    // Add the colorbox style sheet
    $GLOBALS['TL_CSS'][] = 'assets/colorbox/css/colorbox.min.css|static';
    
    ?>
    
    <script src="<?= $this->asset('js/colorbox.min.js', 'contao-components/colorbox') ?>"></script>
    <script>
      jQuery(function($) {
        $('a[data-lightbox]').map(function() {
          $(this).colorbox({
            // Put custom options here
            loop: false,
            rel: $(this).attr('data-lightbox'),
            maxWidth:'90%',
            maxHeight:'90%',
          });
        });
      });
    </script>

    Erklärung hier:
    colorboxerklaerung.png

    Habe dir das Template angepasst, nutze einfach den oben genannten Code und melde dich wieder, wenn du noch weitere Probleme hast.
    Geändert von zoglo (11.10.2023 um 19:25 Uhr)

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •