Smarty Fehler
Verfasst: Sa 29. Dez 2018, 10:07
Hallo,
ich habe ein sporadisches Problem im Frontend des Testmandanten (aus dem git develop branch)
Unabhängig davon welche Seite ich aufrufe, kommt irgendwann dieser Fehler im errorlog:
Und die Seite bleibt fast leer:
Der Fehler scheint aus der Zeile 52 der eval.php zu kommen
Vielleicht kann das wer fixen?
Wann kann man den mit einer offiziellen nächsten Version rechnen?
Meine Dev Umgebung läuft mit PHP 7.2.13 und dem integrierten Webserver
Stephan
ich habe ein sporadisches Problem im Frontend des Testmandanten (aus dem git develop branch)
Unabhängig davon welche Seite ich aufrufe, kommt irgendwann dieser Fehler im errorlog:
Code: Alles auswählen
[2018-12-29 08:42:02] Warning: "cSmartyFrontend __construct Parameter 2 invalid." at include_once() [config.plugin.php(31)]
include_once() called in file functions.includePluginConf.php(50)
require_once() called in file move_articles.php(30)
include() called in file pseudo-cron.inc.php(454)
runJob() called in file pseudo-cron.inc.php(175)
include_once() called in file functions.api.general.php(112)
cInclude() called in file include.front_content.php(61)
include() called in file front_content.php(43)
[29-Dec-2018 08:42:03 UTC] PHP Fatal error: Uncaught cException: Smarty singleton not instantiated yet. in ...\contenido\contenido\plugins\smarty\classes\class.smarty.frontend.php:126
Stack trace:
#0 ...\contenido\contenido\includes\frontend\include.front_content.php(756) : eval()'d code(51): cSmartyFrontend::getInstance()
#1 ...\contenido\contenido\includes\frontend\include.front_content.php(756): eval()
#2 ...\contenido\cms\front_content.php(43): include('C:\\Users\\steph\\...')
#3 {main}
thrown in ...\contenido\contenido\plugins\smarty\classes\class.smarty.frontend.php on line 126
Code: Alles auswählen
<!DOCTYPE html>
<!-- standard layout -->
<html lang="de">
<head>
<base href="http://localhost:8000/cms/" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1" />
<title>Sitemap - Sitemap</title><link rel="stylesheet" type="text/css" href="//localhost:8000/cms/cache/content_sitemap_html.css" id="m19" />
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link rel="stylesheet" type="text/css" href="css/media.css" />
<link rel="stylesheet" type="text/css" href="css/contenido_backend.css" />
<!--[if IE 8]>
<link type="text/css" rel="stylesheet" href="css/ie_8.css" media="all" />
<![endif]-->
<meta name="generator" content="CMS CONTENIDO 4.10" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta name="author" content="Systemadministrator" />
<meta name="description" content="Sitemap" />
<meta name="keywords" content="" />
</head>
<body>
<div id="page">
<div id="header">
Code: Alles auswählen
$clientConfig = cRegistry::getClientConfig(cRegistry::getClientId()); $tpl = cSmartyFrontend::getInstance(); $tpl->assign('href', $clientConfig['path']['htmlpath']); $tpl->display('get.tpl'); ?>
Wann kann man den mit einer offiziellen nächsten Version rechnen?
Meine Dev Umgebung läuft mit PHP 7.2.13 und dem integrierten Webserver
Stephan