Guten Morgen!
Habe soeben auf unseren Server Contenido 4.8.15 installiert.
Installation rief reibungslos, außer dem Hinweis:
"open_basedir-Einstellung könnte unzureichend sein"
Ins Backend komme ich rein, nur im Frontend wird eine weiße Seite angezeigt und
im Backend unter dem Punkt "System" ganz unten steht:
--->
[22-May-2012 23:10:20] PHP Parse error: syntax error, unexpected $end in /srv/www/vhosts/xxxxxxxx/subdomains/test4/httpdocs/cms/front_content.php(928) : eval()'d code on line 663
Vielleicht gibt es unter euch jemanden, der das gleiche Problem hatte?
Danke!
Weißer Bildschirm im Frontend nach Installation
-
- Beiträge: 3215
- Registriert: Do 21. Okt 2004, 11:08
- Wohnort: Augsburg
- Hat sich bedankt: 4 Mal
- Danksagung erhalten: 17 Mal
- Kontaktdaten:
Re: Weißer Bildschirm im Frontend nach Installation
Hallo dooxyman,
willkommen im CONTENIDO Forum.
Ein ähnliches Problem wurde im folgenden Thread beschrieben:
http://forum.contenido.org/viewtopic.php?f=59&t=31139
willkommen im CONTENIDO Forum.
Ein ähnliches Problem wurde im folgenden Thread beschrieben:
http://forum.contenido.org/viewtopic.php?f=59&t=31139
CONTENIDO Downloads: CONTENIDO 4.10.1
CONTENIDO Links: Dokumentationsportal, FAQ, API-Dokumentation
CONTENIDO @ Github: CONTENIDO 4.10 - Mit einem Entwicklungszweig (develop-branch), das viele Verbesserungen/Optimierungen erhalten hat und auf Stabilität und Kompatibilität mit PHP 8.0 bis 8.2 getrimmt wurde.
CONTENIDO Links: Dokumentationsportal, FAQ, API-Dokumentation
CONTENIDO @ Github: CONTENIDO 4.10 - Mit einem Entwicklungszweig (develop-branch), das viele Verbesserungen/Optimierungen erhalten hat und auf Stabilität und Kompatibilität mit PHP 8.0 bis 8.2 getrimmt wurde.
Re: Weißer Bildschirm im Frontend nach Installation
Vielen Dank.
Da stehen zwar Lösungsansätze, die ich jedenfalls mal ausprobieren werden.
Aber eine richtige Lösung war in dem alten Posting nicht zu finden
Ich muss ehrlich sagen, da verlief die Installation und Einrichtung mit WordPress
ohne Probleme...
Da stehen zwar Lösungsansätze, die ich jedenfalls mal ausprobieren werden.
Aber eine richtige Lösung war in dem alten Posting nicht zu finden

Ich muss ehrlich sagen, da verlief die Installation und Einrichtung mit WordPress
ohne Probleme...
-
- Beiträge: 3215
- Registriert: Do 21. Okt 2004, 11:08
- Wohnort: Augsburg
- Hat sich bedankt: 4 Mal
- Danksagung erhalten: 17 Mal
- Kontaktdaten:
Re: Weißer Bildschirm im Frontend nach Installation
Das ist immer von Fall zu Fall unterschiedlich, hängt von der vorgegebenen Konfiguration ab. Da spielen viele Systeme (DB, PHP, Betriebssystem, Firewall, usw..) eine Rolle und natürlich deren Versionen, Einstellugen.dooxyman hat geschrieben:...Ich muss ehrlich sagen, da verlief die Installation und Einrichtung mit WordPress
ohne Probleme...
Auch bei Wordpress gibt es viele User die Probleme bei der Installation haben

Wir bräuchten ein paar Infos mehr, um dir helfen zu können:
- Welche PHP Version und MySQL-Server Version verwendest du?
- Was für besondere PHP-Einstellungen gibt es?
- Hast du Module geändert/Hinzugefügt oder im Backend irgend etwas geändert?
- Wenn du die Tabelle "con_code" leerst (leeren, nicht löschen!) und dann das Frontend erneut aufrufst, sollte in der Tabelle ein Datensatz vorhanden sein, das den Code der Seite emthält. Wie sieht dort die Zeile 663 aus? Kannst auch den generierten Code hier posten.
CONTENIDO Downloads: CONTENIDO 4.10.1
CONTENIDO Links: Dokumentationsportal, FAQ, API-Dokumentation
CONTENIDO @ Github: CONTENIDO 4.10 - Mit einem Entwicklungszweig (develop-branch), das viele Verbesserungen/Optimierungen erhalten hat und auf Stabilität und Kompatibilität mit PHP 8.0 bis 8.2 getrimmt wurde.
CONTENIDO Links: Dokumentationsportal, FAQ, API-Dokumentation
CONTENIDO @ Github: CONTENIDO 4.10 - Mit einem Entwicklungszweig (develop-branch), das viele Verbesserungen/Optimierungen erhalten hat und auf Stabilität und Kompatibilität mit PHP 8.0 bis 8.2 getrimmt wurde.
Re: Weißer Bildschirm im Frontend nach Installation
Bei der Installation gab es auch keine Fehlermeldungen
Wir haben einen eigenen Server Hosting bei Strrato mit:
- Apache 2.0 , Linuxmaschine
- PHP Version 5.2.9
- MySQL - 5.0.67 , MySQL-Zeichensatz: UTF-8 Unicode (utf8)
- In Tabelle con_code steht auch nur Eintrag
- keine weiteren Module installiert, nur die die dabei sind Newsletter also bei der Installation
Wie ist das gemeint mit besonderen PHP Einstellungen?
Sie so aus das er da abbricht:
-->
$sText = str_replace('[uname]', $oFeUser->get('username'), mi18n("Willkommen <strong>[uname]</strong>, sch
Hier der Code:
Wir haben einen eigenen Server Hosting bei Strrato mit:
- Apache 2.0 , Linuxmaschine
- PHP Version 5.2.9
- MySQL - 5.0.67 , MySQL-Zeichensatz: UTF-8 Unicode (utf8)
- In Tabelle con_code steht auch nur Eintrag
- keine weiteren Module installiert, nur die die dabei sind Newsletter also bei der Installation
Wie ist das gemeint mit besonderen PHP Einstellungen?
Sie so aus das er da abbricht:
-->
$sText = str_replace('[uname]', $oFeUser->get('username'), mi18n("Willkommen <strong>[uname]</strong>, sch
Hier der Code:
Code: Alles auswählen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="http://test4.dooxy-werbeagentur.de/cms/" />
<?php $C1CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 3; ?><?php $cCurrentContainer = 1; ?><?php
/**
* $RCSfile$
*
* Description: Display HTML Comment with Infos about Contenido and the Sample Client.
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* }}
*
* $Id$
*/
if (!isset($tpl) || !is_object($tpl) || strtolower(get_class($tpl)) != 'template') {
$tpl = new Template();
}
$tpl->reset();
$tpl->generate('templates/contenido_header.html');
?>
<title><?php $C10CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 22; ?><?php $cCurrentContainer = 10; ?><?php
/**
* $RCSfile$
*
* Description: Print HTML title tag content
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* }}
*
* $Id$
*/
cInclude('classes', 'Contenido_FrontendNavigation/Contenido_FrontendNavigation_Breadcrumb.class.php');
try {
$oBread = new Contenido_FrontendNavigation_Breadcrumb($db, $cfg, $client, $lang, $cfgClient);
$oBreadCats = $oBread->get($idcat, 1);
$sBread = 'Contenido - ';
$aBread = array();
foreach ($oBreadCats as $oConCat) {
$aBread[] = $oConCat->getCategoryLanguage()->getName();
}
$sBread .= implode(' - ', $aBread);
$oArticle = new Article($idart, $client, $lang);
$sHeadline = strip_tags($oArticle->getContent('CMS_HTMLHEAD', 1));
if ($sHeadline != '') {
$sBread .= ' - '.$sHeadline;
}
echo $sBread;
} catch (InvalidArgumentException $eI) {
echo 'Contenido';
} catch (Exception $e) {
echo 'Contenido';
}
?>
</title>
<link rel="stylesheet" href="css/contenido_sample.css" type="text/css" media="all" />
<link rel="shortcut icon" href="favicon.ico" />
<!--[if lte IE 6]>
<style type="text/css">
.clearfix {height:1px;}
</style>
<![endif]-->
<meta name="generator" content="CMS Contenido 4.8" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
</head>
<body>
<div id="outerContainer">
<div id="head">
<?php $C20CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 5; ?><?php $cCurrentContainer = 20; ?><?php
/**
* $RCSfile$
*
* Description: Display Header with Contenido Logo, an image and the current (navigation-) location.
* If no image is selected, the default one will be used.
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* }}
*
* $Id$
*/
cInclude('classes', 'Contenido_Category/Contenido_Category.class.php');
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
// get start idcat
$iIdcatStart = (int) getEffectiveSetting('navigation', 'idcat-home', '1');
try {
// get headline
$oConCat = new Contenido_Category($db, $cfg);
$oConCat->load($idcat, true, $lang);
$sImgEdit = "";
$sImg = "";
$sHeadline = $iIdcatStart != intval($idcat)
? $oConCat->getCategoryLanguage()->getName()
: mi18n("Willkommen!");
$sCssStyle = '';
if ($contenido && $edit) {
echo '<div id="modHeaderImgEdit">'.$sImgEdit.'</div>';
}
if ($sImg != '') {
$sCssStyle = ' style="background-image:url('.$sImg.');"';
}
$tpl->reset();
$tpl->set('s', 'css-style', $sCssStyle);
$tpl->set('s', 'url', 'front_content.php');
$tpl->set('s', 'title', mi18n("Zur Contenido Homepage"));
$tpl->set('s', 'headline', $sHeadline);
$tpl->generate('templates/header.html');
} catch (InvalidArgumentException $eI) {
echo 'Some error occured: ' . $eI->getMessage() . ': ' . $eI->getFile() . ' at line '.$eI->getLine() . ' ('.$eI->getTraceAsString().')';
} catch (Exception $e) {
echo 'Some error occured: ' . $e->getMessage() . ': ' . $e->getFile() . ' at line '.$e->getLine() . ' ('.$e->getTraceAsString().')';
}
?>
</div>
<div id="contentContainer" class="clearfix">
<div id="navigation">
<?php $C30CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 10; ?><?php $cCurrentContainer = 30; ?><?php
/**
* $RCSfile$
*
* Description:
* Main Navigation, displays Navigation from a starting idcat down to the max. level set.
* For now (as of 2009-01-12) all subcategories are put inside one <ul> and are assigned css classes
* to distinguish level depth, first/last and active item property.
*
* Module requires two client settings:
* navigation_main_standard | start_idcat
* navigation_main_standard | level_depth
*
* To modify the behaviour of the module (e.g. style of URL, CSS classes, ...), you need to edit Contenido_NavMain_Util::loopCats
* @see {frontend}/includes/Util/Modules/Contenido_NavMain_Util.class.php
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2009-01-12
* }}
*
* $Id: Navigation_Standard.php 3444 2009-01-19 11:42:59Z rudi.bieller $
*/
if (!isset($db)) {
$db = new DB_Contenido();
}
if (!isset($tpl)) {
$tpl = new Template();
}
$tpl->reset();
cInclude('classes', 'Contenido_FrontendNavigation/Contenido_FrontendNavigation.class.php');
cInclude('frontend', 'includes/Util/Modules/Contenido_NavMain_Util.class.php');
$iStartIdcat = getEffectiveSetting('navigation', 'idcat-home', 1);
$iSelectedDepth = getEffectiveSetting('navigation', 'level-depth', 3);
if ($iStartIdcat > 0) {
$oFeNav = new Contenido_FrontendNavigation($db, $cfg, $client, $lang, $cfgClient);
$oFeNav->setAuth($auth);
$oFeNav->setRootCat($iStartIdcat);
$oSubCategories = $oFeNav->getSubCategories($iStartIdcat, true, true, 1);
// see if there are any subcategories to display
if ($oSubCategories->count() > 0) {
$aLevelInfo = array();
$aDepthInfo = array();
$aDepthInfo[0] = 0;
$aDepthInfo[1] = $iSelectedDepth;
foreach ($oSubCategories as $oSubCategory) {
Contenido_NavMain_Util::loopCats($oSubCategory, $oFeNav, $tpl, $cfg, $lang, $aLevelInfo, intval($idcat), $aDepthInfo);
}
$tpl->generate('templates/navigation_standard.html');
}
} else {
echo '<p>Navigation not configured correctly.</p>';
}
?>
<?php $C40CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 17; ?><?php $cCurrentContainer = 40; ?><?php
/**
* $RCSfile$
*
* Description: Search input box
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* }}
*
* $Id$
*/
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
$tpl->reset();
$sTargetIdcat = getEffectiveSetting('search-results', 'idcat', '1');
$sTargetIdart = getEffectiveSetting('search-results', 'idart', '1');
$sFormAction = 'front_content.php?idcat='.$sTargetIdcat.'&idart='.$sTargetIdart;
$tpl->set('s', 'form_action', $sFormAction);
$tpl->set('s', 'label_search', mi18n("Suche"));
$tpl->generate('templates/search_input.html');
?>
</div>
<div id="whiteBg">
<div id="content">
<?php $C50CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 6; ?><?php $cCurrentContainer = 50; ?><?php
/**
* $RCSfile$
*
* Description: Output standard h1 headline
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* modified 2008-11-13, Timo Trautman - fixed XHTML validation error, when module displays empty h1 tag
* }}
*
* $Id$
*/
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
$sText = "Ihre Installation hat geklappt!
";
$tpl->reset();
if ($contenido && $edit) {
$tpl->set('s', 'text', $sText);
$tpl->generate('templates/headline_h1.html');
} else {
if ($sText != '') {
$tpl->set('s', 'text', strip_tags($sText));
$tpl->generate('templates/headline_h1.html');
}
}
?>
<?php $C51CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 20; ?><?php $cCurrentContainer = 51; ?><?php
/**
* $RCSfile$
*
* Description: Output standard h2 subheadline
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* }}
*
* $Id$
*/
$sText = "";
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
$tpl->reset();
if ($contenido && $edit) {
$tpl->set('s', 'text', $sText);
$tpl->generate('templates/subheadline_h2.html');
} else {
if ($sText != '') {
$tpl->set('s', 'text', strip_tags($sText));
$tpl->generate('templates/subheadline_h2.html');
}
}
?>
<?php $C52CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 23; ?><?php $cCurrentContainer = 52; ?><?php
/**
* $RCSfile$
*
* Description: Output some HTML text
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* }}
*
* $Id$
*/
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
$tpl->reset();
$tpl->set('s', 'text', "<p>
Sie haben das Content Management System Contenido erfolgreich installiert. War doch nicht so schwer, oder?
</p>
<p>
Nun können Sie sich in Contenido anmelden und den Inhalt bearbeiten.
Navigationsstrukturen können Sie individuell verändern, neue Seiten
einstellen, dabei Bilder, Links und Tabellen einfügen usw.
</p>
<p>
Diese Seite soll Ihnen einen kurzen Überblick über die
Arbeit in Contenido geben. Für weiterführende Informationen empfehlen
wir Ihnen das Redakteurshandbuch.
</p>
<p>
Anhand dieser Seite können Sie auch mit der Integration einer
eigenen Seite beginnen. Anhand den gegebenen Layouts, Modulen und
Templates können Sie die Funktionsweise von Contenido und den Aufbau
und Bestandteile einer Website schnell erlernen.
</p>
<p>
Was Ihnen diese Beispielinstallation bietet und welche Module zum
einen Siteaufbau zur Verfügung stehen, können Sie hier erfahren.
</p>
");
$tpl->generate('templates/text_html.html');
?>
<?php $C53CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 0; ?><?php $cCurrentContainer = 53; ?>
<?php $C54CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 0; ?><?php $cCurrentContainer = 54; ?>
<?php $C55CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 0; ?><?php $cCurrentContainer = 55; ?>
<?php $C56CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 0; ?><?php $cCurrentContainer = 56; ?>
<?php $C57CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 0; ?><?php $cCurrentContainer = 57; ?>
<?php $C58CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 0; ?><?php $cCurrentContainer = 58; ?>
<?php $C59CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 0; ?><?php $cCurrentContainer = 59; ?>
<img src="images/hr_article.gif" alt="" class="hr" />
</div>
<div id="teasersRight">
<?php $C60CMS_VALUE[0]="http://www.contenido.org/rss/de/news"; $C60CMS_VALUE[1]="teaser_right.html"; $C60CMS_VALUE[2]="3"; ?>
<?php $cCurrentModule = 16; ?><?php $cCurrentContainer = 60; ?><?php
/**
* $RCSfile$
*
* Description: Display an RSS Feed. Module "Output".
*
* @version 1.0.0
* @author Timo Hummel, Andreas Lindner
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2005-09-30
* }}
*
* $Id$
*/
cInclude("pear", "XML/Parser.php");
cInclude("pear", "XML/RSS.php");
if ("http://www.contenido.org/rss/de/news" == "")
{
$sFeed = "http://www.contenido.org/rss/de/news";
} else {
$sFeed = "http://www.contenido.org/rss/de/news";
}
if ("3" == "")
{
$FeedMaxItems = 999;
} else {
$FeedMaxItems = intval("3");
}
/* Preparse feed for an encoding due to the poorly designed
PHP XML parser */
$sFeedContent = substr(@file_get_contents($sFeed),0,1024);
$regExp = "/<\?xml.*encoding=[\"\'](.*)[\"\']\?>/i";
preg_match($regExp,trim($sFeedContent),$matches);
if ($matches[1])
{
$rss = new XML_RSS($sFeed, $matches[1]);
} else {
$rss = new XML_RSS($sFeed);
}
$rss->parse();
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
$tpl->reset();
$i = 0;
foreach ($rss->getItems() as $item)
{
if ($i < $FeedMaxItems) {
$tpl->set("d", "TITLE", htmlentities($item['title'],ENT_QUOTES));
$tpl->set("d", "LINK", htmlentities($item['link'],ENT_QUOTES));
$tpl->set("d", "DESCRIPTION", htmlentities($item['description'],ENT_QUOTES));
$tpl->set("d", "READ_ON", mi18n("weiterlesen"));
$tpl->next();
}
$i++;
}
$tpl->generate($cfgClient[$client]["path"]["frontend"]."templates/"."teaser_right.html");
?>
</div>
</div>
</div>
</div> <!-- /outerContainer -->
<div id="footer">
<div id="footerContainer">
<?php $C70CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 8; ?><?php $cCurrentContainer = 70; ?><?php
/**
* $RCSfile$
*
* Description: Display Logo on bottom of page
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* }}
*
* $Id$
*/
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
$tpl->reset();
$tpl->generate('templates/logo_bottom.html');
?>
<div id="footerContentContainer" class="clearfix">
<div id="footerContentLeft">
<?php $C75CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 11; ?><?php $cCurrentContainer = 75; ?><?php
/**
* $RCSfile$
*
* Description: Meta Navigation on bottom of page
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* }}
*
* $Id$
*/
// include Contenido_FrontendNavigation class
cInclude('classes', 'Contenido_FrontendNavigation/Contenido_FrontendNavigation.class.php');
// get start idcat
$iIdcatStart = getEffectiveSetting('navigation', 'idcat-meta', 2);
//check if there is a template instance
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
// reset template object
$tpl->reset();
// build navigation
try {
$oFeNav = new Contenido_FrontendNavigation($db, $cfg, $client, $lang, $cfgClient);
$oContenidoCategories = $oFeNav->getSubCategories($iIdcatStart, true);
if ($oContenidoCategories->count() > 0) {
foreach ($oContenidoCategories as $oContenidoCategory) {
// this is just for sample client - modify to your needs!
if ($cfg['url_builder']['name'] == 'front_content') {
$aParams = array('lang' => $lang, 'idcat' => $oContenidoCategory->getIdCat());
} else {
$aParams = array('a' => $oContenidoCategory->getIdCat(),
'idcat' => $oContenidoCategory->getIdCat(), // needed to build category path
'lang' => $lang, // needed to build category path
'level' => 0); // needed to build category path
}
try {
$tpl->set('d', 'url', Contenido_Url::getInstance()->build($aParams));
} catch (InvalidArgumentException $e) {
$tpl->set('d', 'url', 'front_content.php?idcat='.$oContenidoCategory->getIdCat());
}
$tpl->set('d', 'title', $oContenidoCategory->getCategoryLanguage()->getName());
$tpl->set('d', 'label', $oContenidoCategory->getCategoryLanguage()->getName());
$tpl->next();
}
$sItems = $tpl->generate('templates/navigation_meta_item.html', true, false);
$tpl->reset();
$tpl->set('s', 'items', $sItems);
$tpl->generate('templates/navigation_meta_container.html');
}
} catch (Exception $e) {
echo 'Shit happens: ' . $e->getMessage() . ': ' . $e->getFile() . ' at line '.$e->getLine() . ' ('.$e->getTraceAsString().')';
}
?>
<?php $C76CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 4; ?><?php $cCurrentContainer = 76; ?><?php
/**
* $RCSfile$
*
* Description: Display footnotes, fixed output directly from template
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-11
* }}
*
* $Id$
*/
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
$tpl->reset();
$tpl->generate('templates/footnotes_'.strval($lang).'.html');
?>
</div>
<div id="footerContentRight">
<?php $C80CMS_VALUE[]=""; ?>
<?php $cCurrentModule = 7; ?><?php $cCurrentContainer = 80; ?><?php
/**
* $RCSfile$
*
* Description: Display login form
*
* @version 1.0.0
* @author Rudi Bieller
* @copyright four for business AG <www.4fb.de>
*
* {@internal
* created 2008-04-07
* }}
*
* $Id$
*/
if (!isset($tpl) || !is_object($tpl)) {
$tpl = new Template();
}
$tpl->reset();
if ($auth->auth["uid"] == "nobody") {
$sTargetIdcat = getEffectiveSetting('login', 'idcat', '1');
$sTargetIdart = getEffectiveSetting('login', 'idart', '1');
$sFormAction = 'front_content.php?idcat='.$sTargetIdcat.'&idart='.$sTargetIdart;
$tpl->set('s', 'headline', mi18n("Geschlossener Bereich Login"));
$tpl->set('s', 'form_action', $sFormAction);
$tpl->set('s', 'label_name', mi18n("name"));
$tpl->set('s', 'label_pass', mi18n("pass"));
$tpl->set('s', 'label_login', mi18n("einloggen"));
$tpl->generate('templates/login_form.html');
} else {
cInclude('classes', 'class.frontend.users.php');
cInclude('classes', 'Contenido_Category/Contenido_Category.class.php');
try {
$oConCat = new Contenido_Category($db, $cfg);
$oConCat->load($idcat, true, $lang);
$bCatIsPublic = ($oConCat->getCategoryLanguage()->getVisible() == 1 && $oConCat->getCategoryLanguage()->getPublic() == 1)
? true : false;
} catch (Exception $e) {
echo $e->getMessage();
}
$oFeUserCollection = new FrontendUserCollection();
$oFeUser = $oFeUserCollection->loadItem($auth->auth["uid"]);
$sText = str_replace('[uname]', $oFeUser->get('username'), mi18n("Willkommen <strong>[uname]</strong>, sch
</div>
</div>
</div>
</div>
</body>
</html>
-
- Beiträge: 3215
- Registriert: Do 21. Okt 2004, 11:08
- Wohnort: Augsburg
- Hat sich bedankt: 4 Mal
- Danksagung erhalten: 17 Mal
- Kontaktdaten:
Re: Weißer Bildschirm im Frontend nach Installation
Ok, da haben wir wohl auch das Problem. In der Modulausgabe des Moduls "Login_Form" steht folgende Zeile:
Ändere das Zeichen "ö" im Modulcode in die HTML-Entität "ö", das sollte das Problem lösen.
Code: Alles auswählen
$sText = str_replace('[uname]', $oFeUser->get('username'), mi18n("Willkommen <strong>[uname]</strong>, schön, dass Sie wieder bei uns vorbeischauen."));
CONTENIDO Downloads: CONTENIDO 4.10.1
CONTENIDO Links: Dokumentationsportal, FAQ, API-Dokumentation
CONTENIDO @ Github: CONTENIDO 4.10 - Mit einem Entwicklungszweig (develop-branch), das viele Verbesserungen/Optimierungen erhalten hat und auf Stabilität und Kompatibilität mit PHP 8.0 bis 8.2 getrimmt wurde.
CONTENIDO Links: Dokumentationsportal, FAQ, API-Dokumentation
CONTENIDO @ Github: CONTENIDO 4.10 - Mit einem Entwicklungszweig (develop-branch), das viele Verbesserungen/Optimierungen erhalten hat und auf Stabilität und Kompatibilität mit PHP 8.0 bis 8.2 getrimmt wurde.
Re: Weißer Bildschirm im Frontend nach Installation
mmh das Beispiel in der con_code tabelle geht das str_replace nicht zu,
werde ich gleichh mal zu machen...
werde ich gleichh mal zu machen...